Rockhaven
Jun 13, 2009, 04:06 PM
It has always kind of bugged me that Rail movement is only one square better than a 3 movement unit on a road. I know that the unlimited movement was too much but I think a rail move of 15 or 20 squares is more reasonable.
I've dug around in the XML and the integer values assigned to road movement are 30 for normal and 30 for flat movement, whereas the rail movement integers are 20 and 6 respectively.
If any one has definitive info on what the XML integer values relate to in terms of squares moved it would be a big help. I know I could just trial and error it but I thought I would ask first.
Thanks in advance to anyone who has some info on this topic.
Gooblah
Jun 13, 2009, 04:58 PM
It has always kind of bugged me that Rail movement is only one square better than a 3 movement unit on a road. I know that the unlimited movement was too much but I think a rail move of 15 or 20 squares is more reasonable.
I've dug around in the XML and the integer values assigned to road movement are 30 for normal and 30 for flat movement, whereas the rail movement integers are 20 and 6 respectively.
If any one has definitive info on what the XML integer values relate to in terms of squares moved it would be a big help. I know I could just trial and error it but I thought I would ask first.
Thanks in advance to anyone who has some info on this topic.
Head over to the Colonization forum. Someone's doing a 'Western' mod for it, and is working with Trains on rails and was posting stuff about the XML. It's similar (if not the same as) to that of Civ 4's IIRC.
Tholish
Jun 14, 2009, 03:19 PM
Its about what part of 60. If you set these values to 60 the route does not increase movement, set them to 30 it doubles movement, set them to 20 it triples movement, set them to 15 it multiplies by 4, 12 gets you 5, 10 gets you 6, 5 gets you 12 and so forth.
zappara
Jun 15, 2009, 04:10 AM
Movement value 60 is defined in GameDefines.xml. I raised it to 120 in my mod and then adjusted road/railroad etc. movement values and now for example Jumplane route type allows units to move 40 plots (120/3) in my mod.
Rockhaven
Jun 20, 2009, 07:44 PM
Its about what part of 60. If you set these values to 60 the route does not increase movement, set them to 30 it doubles movement, set them to 20 it triples movement, set them to 15 it multiplies by 4, 12 gets you 5, 10 gets you 6, 5 gets you 12 and so forth.
Thanks that is exactly the info I was looking for.