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

    From simple Victory to full on Glory

    Scheduled Pinned Locked Moved Player Help
    20 Posts 5 Posters 3.5k 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.
    • StohrmS Offline
      Stohrm @beelee
      last edited by

      @beelee I'm looking at the XML and trying to understand why each of the Chinese_Guerilla trigger attachments are duplicated?

      My goal is to set something similar up for the French Liberation Army, but things become very confusing very quickly.

      SK

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

        @stohrm hmm ... I'll take a quick look. I think Guerillas are optional maybe ? I can't remember. brb

        StohrmS 1 Reply Last reply Reply Quote 0
        • StohrmS Offline
          Stohrm @beelee
          last edited by

          @beelee Looks like it's just Szechwan and Yunnan and I'm guessing they each get 2 infantry that way.

          SK

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

            @stohrm lets see you just want them to produce Infantry, not have the auto placement if the TTy is conquered and empty correct ?

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

              I think this is what you need

              <!-- Rules Restrictions -->
              <attachment name="rulesAttachment" attachTo="Chinese" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
              <option name="movementRestrictionTerritories" value="Shantung:Kwangsi:Kiangsi:Kiangsu:Jehol:Manchuria:Shensi:Yunnan:Suiyuyan:Kweichow:Hunan:Kansu:Hopei:Tsinghai:Szechwan:Chahar:Sikang:Anhwe:Kwangtung:Burma"/>
              <option name="movementRestrictionType" value="allowed"/>
              <!--<option name="productionPerXTerritories" value="1"/>-->
              <option name="placementAnyTerritory" value="true"/>
              <option name="placementCapturedTerritory" value="true"/>
              <option name="placementPerTerritory" value="9999999"/>
              <option name="unlimitedProduction" value="true"/>
              </attachment>

              I'm pretty sure you can have a trigger activate this but not certain

              1 Reply Last reply Reply Quote 0
              • StohrmS Offline
                Stohrm @beelee
                last edited by

                @beelee No, it'll be the same as in China: only if the territory has been taken away and left empty.

                I think I can figure it out. It'll just take trial and error, but that's often the best way to learn.

                As for those duplicate triggers: I added a 1 & 2 to each and changed the first (of each) to add artillery (instead of infantry). It is the Burma Road after all.

                SK

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

                  @stohrm ok so above should work then. maybe try removing "placementAnyTerritory" if you only want them to place in conquered TTys.

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

                    @beelee probably best to do 1 TTy at a time until you get it to work if you're not already doing that

                    Edit
                    Then you can do them all once it's working

                    StohrmS 1 Reply Last reply Reply Quote 0
                    • StohrmS Offline
                      Stohrm @beelee
                      last edited by Stohrm

                      @beelee Indeed. One change at a time is the route I take.

                      The first step though is working on the Production Rules for France and getting the 2nd Capital to work (with limited production and no Factory).

                      SK

                      RogerCooperR 1 Reply Last reply Reply Quote 1
                      • RogerCooperR Offline
                        RogerCooper @Stohrm
                        last edited by

                        Why do the Free French need a capital at all? Just like China in the Global Game, have the go without a capital. No need to fuss with the triggers.

                        board 3659B 1 Reply Last reply Reply Quote 1
                        • board 3659B Offline
                          board 3659 @RogerCooper
                          last edited by

                          @rogercooper I guess if they want a Free France like in GW36

                          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
                          Powered by NodeBB Forums