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

    place units anywhere, also no max production in factories

    Scheduled Pinned Locked Moved Map Making
    18 Posts 3 Posters 2.4k Views 3 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.
    • F Offline
      ff03k64 @beelee
      last edited by

      @beelee said in place units anywhere, also no max production in factories:

      @ff03k64 said in place units anywhere, also no max production in factories:

      What I am trying to do, is have a unit that is an upgrade of another unit. I want that to be placed where ever on the map the first unit is.

      So if you had a tank in Ukraine and you upgraded your tank you want the upgrade placed in Ukraine ? The old tank removed as well ?

      If so, you would make your upgrade a condition and use it in a trigger to place/remove the units. You'd also have to have a condition checking that the original unit is there as well so it would then fire when your upgrade takes place.

      You can also do it with your upgrade being a tech. You have to word it a little differently.

      Or I may have misunderstood 🙂

      Almost. I have a basic rookie unit. I have 4 units that consume rookies as a cost. I want to do that where ever rookies are located. I want rookies to only be placed in the original territory, which i have working.

      What doesn't work is that i want to be able to place as many rookies as i can in the original territory, but currently i can only place 1 there (or the current PU value). I also want my upgraded units to be able to placed for however many rookies there are.

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

        Try <property name="Unlimited Constructions" value="true" editable="true">
        <boolean/>
        </property>

        for placing as many as you want

        1 Reply Last reply Reply Quote 0
        • wc_sumptonW Offline
          wc_sumpton
          last edited by

          @ff03k64

          In the original territory's attachment did you try:

             <option name="originalFactory" value="true"/>
          

          That should allow unlimited production from a factory placed in that territory by the original owner of the territory.

          Cheers...

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            ff03k64 @wc_sumpton
            last edited by

            @wc_sumpton I have been busy, so i just saw this response now. That allowed me to have unlimited production in one territory. So one problem solved. Thanks!

            Unfortunately, that doesn't help with my units that consume rookies. I still need a factory, and I still can only place them up to the territory value.
            xcom.xml

            1 Reply Last reply Reply Quote 0
            • wc_sumptonW Offline
              wc_sumpton
              last edited by

              @ff03k64

              Try adding the following properties:

              <property name="Unit Placement Per Territory Restricted" value="true" editable="false">
                 <boolean/>
              </property>
              
              <poperty name="Production Per X Territories Restricted" value="true" editable="false">
                 <boolean/>
              </property>
              

              Hoping that helps

              Cheers...

              1 Reply Last reply Reply Quote 0
              • F Offline
                ff03k64
                last edited by

                @wc_sumpton They don't seemed to have helped.

                I am thinking of making my base unit (rookie) a factory that can produce one unit, and making sure that any other units require an actual factory unit. Do you think that would work?

                1 Reply Last reply Reply Quote 0
                • wc_sumptonW Offline
                  wc_sumpton
                  last edited by

                  @ff03k64

                  Okay this is what I did. I redownloaded your above posted xml. I changed the game name to "XCOM Test" and add just the following property:

                  <property name="Unit Placement Per Territory Restricted" value="true" editable="false">
                     <boolean/>
                  </property>
                  

                  Then I started the map. I was able to purchase 10 rookies, 1 heavy and 1 sniper. The rookies have to go to 'Sweden' because of the placement restriction. But I could place the heavy and sniper into 'French West Africa' with no factory at that location. I think that was what you are trying to do. If I have something wrong please let me know.

                  You do not need both properties just 'Unit Placement Per Territory Restricted' should do.

                  Cheers...

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    ff03k64 @wc_sumpton
                    last edited by

                    @wc_sumpton It worked that time, i must have not updated my zip file when i tried it before. Thanks!

                    1 Reply Last reply Reply Quote 1
                    • wc_sumptonW Offline
                      wc_sumpton
                      last edited by

                      @ff03k64

                      LOL. I have chased a single 'bug' for hours because I did not update the zip, or start a new game.

                      Cheers...

                      1 Reply Last reply Reply Quote 1
                      • F Offline
                        ff03k64
                        last edited by ff03k64

                        Now for the last thing for these units. How can i place them in allied territories (assuming i have a rookie there)?

                        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