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

    Block unit placement on contested territory

    Scheduled Pinned Locked Moved Map Making
    6 Posts 5 Posters 1.9k 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.
    • KaoK Offline
      Kao
      last edited by

      Hello,
      I'm toying around with 1round land battles, and I think I remember seeing an option to block unit placement on a territory in battle

      For example, a contested territory with a factory can't place units until the battle is resolved

      But I might be remembering wrong, is there such an option?

      Thanks.

      C W 2 Replies Last reply Reply Quote 0
      • C Offline
        Cernel Moderators @Kao
        last edited by

        @kao I'm not sure. Try with property name="Unit Placement In Enemy Seas" value="false". It might apply to whatever territories.
        Anyways; no, there is not a specific option I know of.

        1 Reply Last reply Reply Quote 0
        • W Offline
          wc_sumpton @Kao
          last edited by

          @kao
          There are two properties that I know of that deal with contested territories:

           <!-- Any territory that contains enemy units will not produce any income or resources -->
           <property name="Contested Territories Produce No Income" value="false" editable="false">
               <boolean/>
           </property>
           <!-- Any territory abandoned may be taken over by the remaining units on the same turn it was abandoned on. Also includes if a territory is attacked and both all the attackers and all defenders die, then any other player with combat units will take over the territory. -->
          <property name="Abandoned Territories May Be Taken Over Immediately" value="false" editable="false">
                <boolean/>
          </property>
          

          I left the POS2 comments in so that you may read what is stated about these properties.

          As directly affecting factory production, the first property might help, but I don't see anything the directly relates to a factory in a contested territory.

          Hope this helps.

          Cheers...

          prastleP 1 Reply Last reply Reply Quote 0
          • prastleP Offline
            prastle Moderators Admin @wc_sumpton
            last edited by

            @wc_sumpton I kinda forget now what happens in Age of Tribes for factory production in contested ter. But I believe it stops working there as well. Perhaps look at the Age of Tribes xml as well @Kao

            If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

            1 Reply Last reply Reply Quote 0
            • KaoK Offline
              Kao
              last edited by

              Hi everyone, I will try the suggestions

              Thanks!

              1 Reply Last reply Reply Quote 0
              • redrumR Offline
                redrum Admin
                last edited by

                Yeah, Age of Tribes and Civil War are the most popular maps I know that have limited battle rounds. So they are probably the best references.

                TripleA Developer with a Passion for AI: https://forums.triplea-game.org/topic/105/ai-development-discussion-and-feedback

                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