Adding road movement to a unit?

i **think you just change the <bFlatMovementCost>0</bFlatMovementCost> to a 1 and the unit will travel a bunch faster on roads and rails. I'm not exactly sure how much but you could test it out.
 
FlatMovement costs means just that, the unit will have a flat movement rate, so if you set it on and the unit has one movement point it will ONLY move 1 regardless of if its on a road, or a hill, or regular terrain. (Basically it ignores terrain cost and gets no bonus from routes).

I do not think it's possible with just XML to give a specific unit extra movement on roads. With python you could probably use the onunitmoved and manually reward partial movement points, but this will probably slow down the game a bunch and be more trouble than its worth. Your only option might be SDK.
 
Maybe I could give them a high movement, but then raise the cost to move through non road terrain?

Like plains would cost 2 moves instead of 1? Could I do that and how?
 
The problem with what your describing jefmart is that "non road" is not a terrain.

It would probably be easiest to just give the said unit(s) a movement of 3 or so then. Think about it... a tank or a jeep or whatever military vehicles you can think of are actually quite mobile off road. In fact, considerably more mobile than non military vehicles (except extreme 4x4's or dune buggys).

You could bound units to roads or rails with the Zebra9's zRoute mod, but thats more for trains and stuff like that.
 
Where and how would I add +1 or +2 road movement for a vehicle unit?

It doesn't seem to make any sense to me? What should happen if the unit leaves the road? How to calculate the left movepoints?

+1 or +2 for roads is not useful or even not possible if you can leave the road. What you may desire is a reduced cost for roads. But I fear that is not useful too. I think that tanks would be slower on roads than normal vehicles if you don't want to destroy the road soon.

What about a double movement for difficult terrain or feature? That seems to make more sense to me and can be done easy with a promotion.

And it is funny to see that you wanna do something so completly different than me. I've increased the mobility of all units to 2:move: with the new technology automobiles in CCV to make them as fast as tanks in CCV.
 
Back
Top Bottom