thecrazyscot
Spiffy
- Joined
- Dec 27, 2012
- Messages
- 2,460
So I found an intriguing setting within GlobalParameters.xml.
I tried changing it to 2 and then tested it:
It looks like it's a global parameter which applies to all unit types. So changing it to "2" permitted 2 of each type of unit to stack.
BUT, there's a problem. Currently, when units run into each other they "swap" if they both have movement points, otherwise the move is illegal. Well, the same thing happens here. Even though the unit limit has been increased, moving into another unit causes them to automatically swap...UNLESS the target unit has no movement points left or insufficient movement points left to swap into the moving unit's tile.
So, basically, you can increase the number of units, but every time you move you'll have all your units swapping places until they run out of movement points. I'm guessing that behavior is hardcoded, but don't know for sure.
Code:
<Row Name="PLOT_UNIT_LIMIT" Value="1" />
It looks like it's a global parameter which applies to all unit types. So changing it to "2" permitted 2 of each type of unit to stack.
BUT, there's a problem. Currently, when units run into each other they "swap" if they both have movement points, otherwise the move is illegal. Well, the same thing happens here. Even though the unit limit has been increased, moving into another unit causes them to automatically swap...UNLESS the target unit has no movement points left or insufficient movement points left to swap into the moving unit's tile.
So, basically, you can increase the number of units, but every time you move you'll have all your units swapping places until they run out of movement points. I'm guessing that behavior is hardcoded, but don't know for sure.