Navigation

    TripleA Logo

    TripleA Forum

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

    territory group bonus not banking

    Map Making
    3
    5
    48
    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.
    • G
      GREGOREK last edited by

      Re: A Question about conditionAttachment Usage and Placement

      Downloaded game a couple months ago on Linux.

      I am owner of Jurassic map and am making improvements to my submission of over a decade ago.

      I've created neighborhoods around each capital to encourage more hostile action from AI.

      The conditionAttachment for the ownership of a group of territories is working. Resources show the +12 (for example) but it is not applied at end of turn, only territory values are summed up and added. Example, 17 PU's from territories owned +12 for group bonus. Resources show (+29) but end of turn only adds 17. What am I missing?

      IN Jurassic.xml -- example (each capital has a unique conditionAttachmentXXX for each player)

      <attachment name="objectiveAttachmentPliensbachianNeighborhood9" attachTo="Pliensbachian" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
        <option name="objectiveValue" value="12"/>
        <option name="turns" value="1-+"/>
        <option name="directOwnershipTerritories" value="Fwi:Fvt:Hvu:Hwl:Fwy" count="5"/>
      </attachment>
      

      IN objectives.properties -- (had no affect with or without)

      Jurassic.Pliensbachian;objectiveAttachmentPliensbachianNeighborhood9=+12 if Pliensbachian control all of: Fwi, Fvt, Hvu, Hwl, Fwy
      

      Using [the_pact_of_steel-master.zip] as model.

      B W 2 Replies Last reply Reply Quote 1
      • B
        beelee @GREGOREK last edited by

        @gregorek

        Hi

        Can you post a save. Recently linux end game report isn't showing up for bonus points. When it wasn't in the Objectives properties it would still show up but a few months ago it quit doing that.

        I made a git issue here that is stagnate. https://github.com/triplea-game/triplea/issues/14001

        beelee1 created this issue in triplea-game/triplea

        open End of Turn Goes Immediately to Next Player #14001

        1 Reply Last reply Reply Quote 0
        • G
          GREGOREK last edited by

          Operator error, as expected.

          <property name="National Objectives" value="true" editable="false">
            <boolean/>
          </property>
          <property name="Use Triggers" value="true" editable="false">
            <boolean/>
          </property>
          <property name="WW2V3" value="true" editable="false">
            <boolean/>
          </property>
          

          I did not set the National Objectives variable, nor the correct version.
          The error was actually in the Resource Tab reporting something that could not be applied because National Objectives not active. It probably should put out a helpful warning.
          Territory Group Bonuses now fully operational.

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

            @gregorek

            Check the options:

            <property name="National Objectives" value="true" editable="true">
                  <boolean/>
                </property>
            

            Cheers...

            1 Reply Last reply Reply Quote 3
            • W
              wc_sumpton last edited by

              @GREGOREK

              In my copy of Jurassic, I noticed that there are no technologies. By adding an empty technology section:

              <technology>
              </technology>
              

              The Technologies Tab/Window can be removed.

              Cheers...

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