Non-Combat Movement



  • Hello,

    Is there any way to make the amount of non-combat movement a unit has different than the combat movement?

    Like for example, infantry has 1 combat movement. Non-combat, the infantry would be able to move 2.

    Thanks!



  • @nitrofish383-d
    This sort of movement can be done using triggers.
    In Invasion USA I have the bombers and helicopters set at a movement of 4 and 3 for combat and then 6 and 8 for non-combat.

    So before the Western players combat move:

    <!-- Western Helicopter/Bomber Combat Move settings -->
    <attachment name="triggerAttachmentWesternHumanHelicopter3CM" attachTo="Western" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
       <option name="conditions" value="conditionAttachmentWesternHumanPlayer"/>
       <option name="unitType" value="helicopter"/>
       <option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/>
       <option name="unitProperty" value="movement" count="3"/>
       <option name="when" value="before:westernCombatMove"/>
    </attachment>
    
    <attachment name="triggerAttachmentWesternHumanBomber4CM" attachTo="Western" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
       <option name="conditions" value="conditionAttachmentWesternHumanPlayer"/>
       <option name="unitType" value="bomber"/>
       <option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/>
       <option name="unitProperty" value="movement" count="4"/>
       <option name="when" value="before:westernCombatMove"/>
    </attachment>
    

    And before the Non-Combat Move:

    <!-- Western Helicopter/Bomber NCM settings -->
    <attachment name="triggerAttachmentWesternHelicopter6NCM" attachTo="Western" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
       <option name="conditions" value="conditionAttachmentAlwaysTrue"/>
       <option name="unitType" value="helicopter"/>
       <option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/>
       <option name="unitProperty" value="movement" count="6"/>
       <option name="when" value="before:westernNonCombatMove"/>
    </attachment>
    
    <attachment name="triggerAttachmentWesternBomber8NCM" attachTo="Western" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
       <option name="conditions" value="conditionAttachmentAlwaysTrue"/>
       <option name="unitType" value="bomber"/>
       <option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/>
       <option name="unitProperty" value="movement" count="8"/>
       <option name="when" value="before:westernNonCombatMove"/>
    </attachment>
    

    I hope this gives you some ideas on how to do this type of movement.

    Cheers...



  • Excellent, I'll try that out. Thank you!


 

Looks like your connection to TripleA Forum was lost, please wait while we try to reconnect.