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

    How to assign bonus production to NoPU countries for completing objectives?

    Scheduled Pinned Locked Moved Map Making
    20 Posts 5 Posters 2.6k Views 5 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.
    • C Online
      Cernel Moderators Lobby Moderators @Jason Green-Lowe
      last edited by

      @Jason-Green-Lowe If you are getting no errors (are you?), it has to be something that is not validated, that is one or more of the following:

      • There is no phase called exactly as "chinesePurchase".
      • There is no "Use Triggers" property valued true.

      Side note, I tend to see objectives as a legacy item. What little they do can be done by combinations of conditions and triggers.

      1 Reply Last reply Reply Quote 1
      • Jason Green-LoweJ Offline
        Jason Green-Lowe
        last edited by

        No, I'm not getting any errors, and I've triple-checked the spelling.

        The second point is very interesting; I didn't know I needed to have a "Use Triggers" property, and I don't have any other triggers other than this one Chinese one in the game, so maybe that's the problem.

        How do I set use triggers to true?

        C 1 Reply Last reply Reply Quote 0
        • C Online
          Cernel Moderators Lobby Moderators @Jason Green-Lowe
          last edited by

          @Jason-Green-Lowe

              <property name="Use Triggers" value="true" editable="false">
                <boolean/>
              </property>
          
          1 Reply Last reply Reply Quote 2
          • Jason Green-LoweJ Offline
            Jason Green-Lowe
            last edited by

            That fixed it! Thank you very much for the help. 🙂

            8964d61d-786d-4170-bd0d-4157289bffcd-image.png

            B 1 Reply Last reply Reply Quote 1
            • B Offline
              beelee @Jason Green-Lowe
              last edited by

              @Jason-Green-Lowe Re your git post what all did you change for your mod ? You may be able to make a "Map Option" which has the changes to the original and players can just click on that before game start to activate it.

              I'm not sure who originally made that map, although I think Black Elk drew the map. Anyway, contact whoever is in charge of it and it might be a better way to go.

              Otherwise probably best to just go with the separate mod.

              1 Reply Last reply Reply Quote 0
              • Jason Green-LoweJ Offline
                Jason Green-Lowe
                last edited by

                There is an all new set of national objectives, plus some minor setup changes and different movement rules for the Chinese. It is intended as a variant of the main WW2_v3_1941 map, but it's not just a single house rule; it's a detailed mod.

                You can read more about it here if you luike:
                https://www.axisandallies.org/forums/topic/32453/balanced-mod-anniversary-41?page=1

                B 1 Reply Last reply Reply Quote 1
                • B Offline
                  beelee @Jason Green-Lowe
                  last edited by

                  @Jason-Green-Lowe Hmm...Chinese movement might be the only issue then. Idk. But you can make a custom gameProperty

                  <attachment name="BMAnniversary" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
                  <option name="gameProperty" value="Balanced Mod Anniversary"/>
                  </attachment>

                  Then add that to triggers and objectives as a condition.

                  <attachment name="triggerAttachmentBurmaRoadOpen" attachTo="Chinese" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
                  <option name="conditions" value="BMAnniversary:conditionAttachmentBurmaRoad"/>
                  <option name="when" value="before:chineseCombatMove"/>
                  <option name="placement" value="Yunnan:artillery" count="1"/>
                  </attachment>

                  <property name="Balanced Mod Anniversary" value="false" editable="true">
                  <boolean/>
                  </property>

                  Then hit the checkmark in map options before game start and the trigger will fire, otherwise it wont. Add that condition "BMAnniversary" to all the new stuff and you should be good to go.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    beelee
                    last edited by

                    Here's an example for setup changes since you only have the one trigger. Go with original setup and do your changes with a trigger.

                    <attachment name="triggerAttachment_GermansRemoveBombers" attachTo="Germans" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
                    <option name="conditions" value=""BMAnniversary/>
                    <option name="placement" value="Germany:tactical_bomber" count="1"/>
                    <option name="removeUnits" value="Germany:bomber" count="1"/>
                    <option name="uses" value="1"/>
                    <option name="when" value="before:germansPurchase"/>
                    </attachment>

                    1 Reply Last reply Reply Quote 0
                    • Jason Green-LoweJ Offline
                      Jason Green-Lowe
                      last edited by

                      Hi Beelee -- is that friendly advice, or are those the instructions I need to follow in order to get the game included as a downloadable option in TripleA? If you're the admin who would be including the game, and if you insist, then I will make your changes, but otherwise I'm content with the way it's laid out now.

                      B 1 Reply Last reply Reply Quote 1
                      • B Offline
                        beelee @Jason Green-Lowe
                        last edited by

                        @Jason-Green-Lowe heh heh friendly advice 🙂 was just saying you could have it included in the original map for a one click activation instead of an entirely separate map 🙂

                        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