Navigation

    TripleA Logo

    TripleA Forum

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

    Kamikazi's Still Not Working

    Map Making
    1
    2
    61
    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.
    • Joe G
      Joe G last edited by

      Hey all. The only remaining item on my "to do" list for Adam and my Map is Kamikazis. I've copied the code directly from the Global 1940 XML, but no luck. When the game initiates, you can see in history that Japan is recruiting all of its Kamikazi pilots. And the resources tab shows that Japan has eight suicide tokens. But during combat they just don't work (no prompt to select Kamikazi targets, etc.) Any ideas on this? I'm stumped.

      Here is the relevant portion of code:

      <resourceList>
      <resource name="techTokens"/>
      <resource name="PUs"/>
      <resource name="SuicideAttackTokens"/>
      </resourceList>

      <resourceGiven player="Japanese" resource="SuicideAttackTokens" quantity="8"/>
      </resourceInitialize>

      <!-- New Kamikaze Trigger: -->
      <attachment name="triggerAttachment_Japanese_Recruit_Kamikaze_Pilots_alpha" attachTo="Japanese" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
      <option name="conditions" value="conditionAttachmentAxisVictory3"/>
      <!-- just using a condition that is sure to be true at the start of the game, so that this trigger definitely fires at the beginning of each game -->
      <option name="territories" value="6 Sea Zone:7 Sea Zone:20 Sea Zone:21 Sea Zone:36 Sea Zone:22 Sea Zone:23 Sea Zone"/>
      <option name="territoryAttachmentName" value="TerritoryAttachment" count="territoryAttachment"/>
      <option name="territoryProperty" value="kamikazeZone" count="true"/>
      <option name="uses" value="1"/>
      <option name="when" value="after:gameInitDelegate"/>
      </attachment>

      </property>
      <property name="Kamikaze Suicide Attacks Done By Current Territory Owner" value="false" editable="false">
      <boolean/>
      </property>
      <property name="Kamikaze Suicide Attacks Only Where Battles Are" value="true" editable="false">
      <boolean/>
      </property>

      Joe G 1 Reply Last reply Reply Quote 0
      • Joe G
        Joe G @Joe G last edited by

        I figured it out! You have to designate Japan as the initial territoryowner for each of the Kamikaze sea zones! YAAAAAAAAAH

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