z-wave dimmers do not use normal traveler wires. they have 1 wire that is a communication wire between accesory switches and the main.
all switches need line power and only the 1 main needs load
all switches need a ground as well
depending on your switch you also may need a neutral to each switch as well.
you cannot just swap switches with 3 way and 4 way dimmers
if it is a single dimmer it is just an easy swap.
you need to remove power from one traveler wire and use it as a communication wire between the main and accessory switch.
Then you need to make 1 traveler wire a constant line power wire for the accessory switch (not connected to the main switch at all)
then you need to make sure the load, ground and neutral are all in the box with the main switch.
it is honestly not that complicated but it depends on how your home was wired (line control 4 way or load control 4 way)
my honest advice: buy the accessory dimmer switches and hire an electrician to do it