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

    How to limit the territory to just 1 Town, 1 Fort & 1 Castle?

    Scheduled Pinned Locked Moved Map Making
    4 Posts 2 Posters 541 Views 2 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.
    • TheDogT Offline
      TheDog
      last edited by

      17d2d747-fa8d-4389-8fa1-a37e991f8f3b-image.png

      I was hoping I can make the AI just limit itself to;
      1 Town, not 3+
      1 Castle, not 2+

      What am I missing?

      Here is an extract of the town code;

             <option name="isFactory" value="true"/>
              <option name="isInfrastructure" value="true"/>
              <option name="isConstruction" value="true"/>					<!-- Required for Constructions must have isConstruction true -->
              <option name="canBeDamaged" value="false"/>
              <option name="canProduceXUnits" value="2"/>						<!-- produce X max units per producer  -->
              <option name="constructionType" value="settlement"/>			<!-- unique label or not  -->
              <option name="maxConstructionsPerTypePerTerr" value="1"/>		<!-- max constructions of this type may be in a territory  -->
      		<option name="constructionsPerTerrPerTypePerTurn" value="1"/>	<!-- how many units of this type you can place in a territory every turn  -->
              <option name="canOnlyBePlacedInTerritoryValuedAtX" value="2"/>
              <option name="tuv" value="20"/>
      

      https://forums.triplea-game.org/tags/thedog
      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

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

        @thedog do you want only 1 total to be placed ? if so try adding "_structure" to the "constructionType" name.

        So "settlement_structure"

        TheDogT 2 Replies Last reply Reply Quote 2
        • TheDogT Offline
          TheDog @beelee
          last edited by

          @beelee
          Thanks I try it.

          https://forums.triplea-game.org/tags/thedog
          https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

          1 Reply Last reply Reply Quote 1
          • TheDogT Offline
            TheDog @beelee
            last edited by

            @beelee
            ++Good!
            It works, thanks

            https://forums.triplea-game.org/tags/thedog
            https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

            1 Reply Last reply Reply Quote 1

            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