Navigation

    TripleA Logo

    TripleA Forum

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

    Allied triggered Victory Conditions sort of working?

    Maps & Mods
    1
    2
    92
    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.
    • TheDog
      TheDog last edited by TheDog

      I have been working on Allied triggered Victory Conditions, it looks like its triggered/working, but how to I get the pop up to trigger, to say Victory (is mine)?

      .

      5383c684-d6f3-4691-b2e5-7e503a34a6d4-image.png

      .
      xml extract

      <!-- VictoryHojo -->
      	<attachment name="conditionAttachmentVictoryHojo" attachTo="Hojo" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
      		<option name="alliedOwnershipTerritories" value="Satsuma:Aki:Yamashiro:Owari:Suruga:South Musashi:North Mutsu:Awa Shikoku:Kaga" count="7"/>
      	</attachment>
      	<attachment name="triggerAttachmentVictoryHojo" attachTo="Hojo" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
      		<option name="trigger" value="conditionAttachmentVictoryHojo"/>
      		<option name="victory" value="VictoryHojo"/>
      		<option name="players" value="Hojo"/>
      	</attachment>
      

      .
      notifications.properties

      VictoryDate=<body>Date and their allies have won!   But who will be Shogun?</body>
      VictoryHojo=<body>Hojo and their allies have won!   But who will be Shogun?</body>
      VictoryMori=<body>Mori and their allies have won!   But who will be Shogun?</body>
      VictoryMiyoshi=<body>Miyoshi and their allies have won!   But who will be Shogun?</body>
      VictoryOda=<body>Oda and their allies have won!   But who will be Shogun?</body>
      VictoryShimazu=<body>Shimazu and their allies have won!   But who will be Shogun?</body>
      
      TheDog 1 Reply Last reply Reply Quote 0
      • TheDog
        TheDog @TheDog last edited by

        Doh, I put
        <property name="National Objectives" value="true" editable="true">

        instead of
        <property name="Triggered Victory" value="true" editable="true">

        Its now working as intended.

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