railroad infinite move ?

just change

Code:
		<RouteInfo>
			<Type>ROUTE_RAILROAD</Type>
			<Description>TXT_KEY_ROUTE_RAILROAD</Description>
			<iValue>2</iValue>
			<iMovement>20</iMovement>
			<iFlatMovement>6</iFlatMovement>
			<BonusType>BONUS_COAL</BonusType>
      <Yields>
        <iYield>1</iYield>
        <iYield>1</iYield>
        <iYield>2</iYield>
      </Yields>
			<TechMovementChanges/>
			<Button>Art/Interface/Buttons/Builds/BuildRailroad.dds</Button>
		</RouteInfo>
	</RouteInfos>

to:

Code:
		<RouteInfo>
			<Type>ROUTE_RAILROAD</Type>
			<Description>TXT_KEY_ROUTE_RAILROAD</Description>
			<iValue>2</iValue>
			<iMovement>0</iMovement>
			<iFlatMovement>0</iFlatMovement>
			<BonusType>BONUS_COAL</BonusType>
      <Yields>
        <iYield>1</iYield>
        <iYield>1</iYield>
        <iYield>2</iYield>
      </Yields>
			<TechMovementChanges/>
			<Button>Art/Interface/Buttons/Builds/BuildRailroad.dds</Button>
		</RouteInfo>
	</RouteInfos>

Note, I didn't test this but I believe it should work.
 
Chinese American said:
the minimum movement cost is 1/MOVE_DENOMINATOR.
I'm pretty sure this is wrong. Look at the defaults - this doesn't make any sence.

Each unit gets 60 moves for each move in game.
 
I HATE MATH!!
lol

ok, if anyone can give me the proper calculation....say i wanted to increase the moves on a railroad by 10 when a certain tech is researched. I figured out through trial and error: X*20/60 = Y .....X being what to set the line: <iMovementChange>-12</iMovementChange> , but changing it to a positive of course....and Y being what i want the movements to increase by in game.....can someone give me an equation so that i can just do the equation up with how many moves i want and get the answer for X so i can do it without having to do trial and error?

Edit:
Actually this is proving more difficult than i originally thought :( .....i set it to -15 and i get +9 in game :( ....i actually figured out the equation: Y/20*60 = A ...but it doesnt work :/ ....there must be a fraction or a decimal used on how they calculate it

PWEEEEAASE
 
Lord Olleus said:
you cant. Movement change only works for roads. Railways use flat movement.

It shows in game under the tech that it increases the railroad movement when the tech is researched tho when i set the iMovementChange....eg when i set it to -15 i get +9 shown in the civlopedia

Edit: i set it to -15, tried the game out and in the civlopedia it says +9 added to railroad movement, but when i try it out i actually get an increase of 15 lol
 
Back
Top Bottom