Gives Movement = 0
-
You play TWW, my question is during non-combat movement, are all units in the embattled territory, including those that have already been moved and battled, selectable for movement? I'm not asking if these unit can move. I'm only if they are selectable?
Cheers...
-
@wc_sumpton Do you mean selecting the units by directly clicking on them or if they show up in the list if you click on the territory. If I remember correctly the former works the latter doesn't an you can't move the units either way.
-
Both, and again because I am having loads of fun!
A picture is worth...
To explain. The picture on the left is selecting for non-combat movement and used the latest pre-release and no edits to the xml. The right is the saved game from above.
Only those units which appear in the selection are the only units that can be selected with the pointer.
Cheers...
-
@nothingtoseehere yes u can select units that have already used all available movement in nc
-
@wc_sumpton yes u can select units that have already used all available movement in nc
-
@ubernaut, @Nothingtoseehere and @beelee
It is time to come clean, and apologize to @beelee for stealing this topic. But you have to admit, you started something when you piqued my interest!
How selecting for movement works. First all units in the selected territory are selected that belong to the turn-owning player. Units can be removed from the group, but not added.
First question, is "Selectable Zero Movement Units" not set?
If true, remove all with movement=0.Second question, is this not the non-combat movement?
If true, remove all units with canNotMoveDuringCombatMove set.And that's it. That is why TWW movement selection is so cluttered.
What I have done is refine "Selectable Zero Movement Units" to include units that can be transported, or that can receive movement for another unit.
Then added an "else" for the not non-combat movement. But this is the tricky part, there is no "unitHasBeenInBattle" flag. What the engine does is zero out movement for all land and sea units that survive a battle while air units have their movement reduced by what they moved. Also, all transported units have their movement value zero out. So, I removed all units that can move that have no movement left and are not being transported to help clean up the non-combat movement selection.
Cheers...
-