TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Non-Combat Movement

    Scheduled Pinned Locked Moved Map Making
    3 Posts 2 Posters 1.8k Views 2 Watching
    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 Offline
      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!

      wc_sumptonW 1 Reply Last reply Reply Quote 1
      • wc_sumptonW Offline
        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 Offline
          nitrofish383 d
          last edited by

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

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums