Changing max possible unit moves in 1 turn

SoCalBoy

Chieftain
Joined
Aug 30, 2006
Messages
6
Is that possible?

None of my fighters will go higher than 15{I do have a huge maps and lots of cities, but why should that matter??}, and I want the max to be 40-50.
 
No, it uses one byte, 8 bits. But it's a signed byte (-128 to +127, rather than 0 to 255), so it can only utilise half of it (7 bits) with a maximum of 127.

The movement rate of a unit in the rules.txt doesn't correspond one-to-one with the way Civ2 stores it in memory/savegames, because it stores movement points instead. If the road multiplier is 3, a unit with a movement rate of 1 (in its definition rule) will have 3 movement points each turn. On regular terrain it'll just waste all 3 of them, but on roads it only uses up 1 of the 3.

And there *is* a way around the hard-coded limit, as Skyer and timbatron have shown, but it's difficult to do. Well, increasing it to 255 should be doable, which would double the possible movement rate.

That would get SoCalBoy to 30 (31, actually). Not quite 40-50 yet, but still.
 
Back
Top Bottom