China Rules for Other Countries
-
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.
-
@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
-
@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.
-
@RogerCooper Do you need impassable Capitals or was that changed so you don't need one at all anymore ?
-
@beelee I didn't need a capital at all.