Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

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

    Map Making
    2
    4
    174
    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.
    • TheDog
      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"/>
      B 1 Reply Last reply Reply Quote 0
      • B
        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"

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

          @beelee
          Thanks I try it.

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

            @beelee
            ++Good!
            It works, thanks

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums