Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    Non-Combat Movement

    Map Making
    2
    3
    1086
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nitrofish383 d last edited by

      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!

      W 1 Reply Last reply Reply Quote 1
      • W
        wc_sumpton @nitrofish383 d last edited by

        @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...

        1 Reply Last reply Reply Quote 4
        • N
          nitrofish383 d last edited by

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

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums