Navigation

    TripleA Logo

    TripleA Forum

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

    China Rules for Other Countries

    Map Making
    3
    5
    288
    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.
    • RogerCooper
      RogerCooper last edited by

      I want to make other countries play by rules similar to the of China in the Global game. I tried this code:

          <attachment name="rulesAttachment" attachTo="Russians" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player">
            <option name="placementAnyTerritory" value="true"/>
            <option name="placementCapturedTerritory" value="true"/>
            <option name="placementPerTerritory" value="9999999"/>
            <option name="unlimitedProduction" value="true"/>
          </attachment>
      But it doesn't let me build. Do I need to define a capital? I noticed that the Global game used Himalaya as a capital for China.
      
      F 1 Reply Last reply Reply Quote 0
      • F
        ff03k64 @RogerCooper last edited by ff03k64

        @RogerCooper I would try these properties. I think one of them is what got mine to work.

        		<property name="Place in Any Territory" value="true" editable="false">
        			<boolean/>
        		</property>
        		
        		<property name="Placement Restricted By Factory" value="false" editable="false">
        			<boolean/>
        		</property>
        

        well, work for placing without factory

        RogerCooper 1 Reply Last reply Reply Quote 0
        • RogerCooper
          RogerCooper @ff03k64 last edited by

          @ff03k64 said in China Rules for Other Countries:

          <property name="Placement Restricted By Factory" value="false" editable="false">
          <boolean/>
          </property>

          The problem is that I had not removed the capitals.

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

            @RogerCooper Do you need impassable Capitals or was that changed so you don't need one at all anymore ?

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

              @beelee I didn't need a capital at all.

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