Modify movements restrictions out of contested territories
-
Is there a way to set the movement restrictions when moving out of contested territories? By default, you can only move units in contested zones to friendly controlled zones, but I want this to be more specific.
I want units in contested zones to be able to move to any territory containing your units, even if enemy-controlled.So in this example, I want AH to be able to move from Galicia to Ukraine, but it says "Cannot blitz out of a battle into enemy territory". It does work the other way around, however, from Ukraine to Galicia.
-
@victoryfirst said in Modify movements restrictions out of contested territories:
So in this example, I want AH to be able to move from Galicia to Ukraine, but it says "Cannot blitz out of a battle into enemy territory". It does work the other way around, however, from Ukraine to Galicia.
If I'm reading the map correctly, it is "Red's" turn. Galicia is "Green" owned, and is contested by "Red", while Ukraine is "Red" owned and contested by "Green". Because "Red" is the attacker in Galicia, units engaged, without canBlitz, cannot move to engage in another battle while units in Ukraine are not engaged, "Red" owns Ukraine, and can move and engage in the Galicia battle.
To allow Galicia units the ability to move, ownership of Galicia would need to be changed to "Red". There is no <option> to allow engaged units to move to another battle.
Cheers...
-
That's indeed correct, thank you. However, it is currently Austria-Hungary's turn ("Green") and they want to move to Ukraine which is controlled by Russia ("Red"), but the engine doesn't allow that.
Basically, in this game, any territory that has both your units and enemy units in them is considered to be "contested", not controlled by any power. However I don't think TripleA can handle something like that.
I tried to set the land units to "canBlitz" and "canMoveThroughEnemies", but neither of those worked. So there is really no way to do this except for making Ukraine controlled by Austria-Hungary?
-
@victoryfirst said in Modify movements restrictions out of contested territories:
Basically, in this game, any territory that has both your units and enemy units in them is considered to be "contested", not controlled by any power. However I don't think TripleA can handle something like that.
This may be what you think, but this is not true. TripleA considers a contested territory is still owned by the last power that controlled that territory. Look under the "Territory" tab, and you will see who owns that territory.
@victoryfirst said in Modify movements restrictions out of contested territories:
I tried to set the land units to "canBlitz" and "canMoveThroughEnemies", but neither of those worked. So there is really no way to do this except for making Ukraine controlled by Austria-Hungary?
You are right, sorry about that. This deals with movement points, the units in Galicia would need to first move into a "friendly" territory, disengaging for combat. Romania if it were owned by Austria-Hungary, prior to moving into combat in Ukraine. But with 1 movement the best these unit can do is disengage to a friendly territory.
Cheers...
-
@wc_sumpton said in Modify movements restrictions out of contested territories:
This may be what you think, but this is not true. TripleA considers a contested territory is still owned by the last power that controlled that territory. Look under the "Territory" tab, and you will see who owns that territory.
Sorry if I am unclear, but that is what I meant. I am creating a game for TripleA, where territories shared by your and enemy units are considered contested. But TripleA indeed thinks the territory is owned by someone, which ultimately prevents the units from moving between two contested territories.
-
Looks like there maybe an undocumented game property:
<!-- This property is undocumented in PoS2 but it seems that the engine check for it. Use at own risk --> <property name="All Units Can Attack From Contested Territories" value="true" editable="false"> <boolean/> </property>
Cheers...
-
@wc_sumpton said in Modify movements restrictions out of contested territories:
Looks like there maybe an undocumented game property:
<!-- This property is undocumented in PoS2 but it seems that the engine check for it. Use at own risk --> <property name="All Units Can Attack From Contested Territories" value="true" editable="false"> <boolean/> </property>
Cheers...
ooh.... nice. that not attacking from contested TT was irritating me today... adding it to my mod.
-
i think that we are having a failure in semantics here.
i think @VictoryFirst wants contested TT to be neutral while contested. so while the game does deal with contested TT it just doesn't do it in the way they want it to...
-
@wc_sumpton said in Modify movements restrictions out of contested territories:
Looks like there maybe an undocumented game property:
<!-- This property is undocumented in PoS2 but it seems that the engine check for it. Use at own risk --> <property name="All Units Can Attack From Contested Territories" value="true" editable="false"> <boolean/> </property>
Cheers...
Wow, that indeed does the trick! Are there more of these undocumented properties?
-
Are there more of these undocumented properties?
that's what i wanna know!!!
-
A number of properties are listed here: https://github.com/triplea-game/triplea/blob/master/game-app/game-core/src/main/java/games/strategy/triplea/Constants.java
(that location is subject to change & that list might not be complete)