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

    China Rules for Other Countries

    Scheduled Pinned Locked Moved Map Making
    5 Posts 3 Posters 697 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.
    • RogerCooperR Offline
      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 Offline
        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

        RogerCooperR 1 Reply Last reply Reply Quote 0
        • RogerCooperR Offline
          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 Online
            beelee @RogerCooper
            last edited by

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

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

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

              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