May move through but NOT remain on territory
-
Hej there, just working on a new project and
puzzling with some basic map features: ( in this case "rivers")wondering if it is possible that
a land unit may cross a certain terr. but may not end in it?would that be possible? ( also in a way that AI can handle it...)
I tried a way to demotivate remaining in a river terr. by giving
a big battle penalty to a unit but that didn't seem to impress AI so that's why looking for other possibilities...thanks!!!
-
Connect the land territories directly, leaving the intervening "river" as water. Both land territories can still be connected to the "river" to allow transport loading and unloading.
Cheers...
-
@wc_sumpton
that is a way, nice.... and secondary (the idea behind it I forgot to mention) : how could such a move, a land unit visually crossing a river, ( which is then actually 2 regular connected land terr's ) a movement penalty? -
Thought you would ask that. No there is no way at this time to set a movement penalty between two territories. A territoryEffect movement penalty is entering a territory for all adjoining territories, and thus would not work here.
Sorry...
Cheers...
-
@ebbe I think this would be a very useful and easy to implement feature request, and I would certainly use or consider using such an option.
My suggestion, is adding a territory option like
<attachment name="territoryAttachment" attachTo="1" javaClass="games.strategy.triplea.attachments.TerritoryAttachment" type="territory"> <option name="isUnoccupiable" value="true"/> </attachment>
The "isUnoccupiable" option has the same effects as the "isImpassable" option but allows moving through (yet not retreating into) the territory.
I hope such a feature will be added.