Cold War 1965 version 2.0 - Official Thread
-
I am updating my map, Cold War 1965, to version 2.0. This will include a few new game features, make changes to improve game balance, and correct a few existing issues.
Have you played the latest version 1.1, updated by Redrum? If so, I am interested in your input.
Features include an independent AI-run India, increased the area China and Sino Pact can claim, updated several units including Helicopter as an air transport and artillery-support, etc.
-
Problem with Land Transport unit - Truck. The land transport capability does not work the same as Air Transport. I have the following XML for the Truck unit:
<attachment name="unitAttachment" attachTo="Truck" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
<option name="attack" value="0"/>
<option name="defense" value="0"/>
<option name="movement" value="3"/>
<option name="isLandTransport" value="true"/>
<option name="transportCapacity" value="4"/>
</attachment>Any thoughts?
-
I have added an additional player, India, intended to be played as AI with territory restrictions. TripleA is not executing the turn, appearing to fly past it in the game history. I believe I have added all appropriate XML and the game initializes delegates for India.
Any thoughts?
XML file: ColdWar-1965-rev02.xml
-
Hail and well met!
If I understand, this xml is to be used with "Cold War 1965". To use as a mod, in TripleA versions 2.7+, you will need a modified .yml file. It should look something like:map_name: cold_war_1965 games: - {game_name: 'Cold War: 1965', file_name: ColdWar-1965.xml} - {game_name: 'Cold War: 1965 rev02', file_name: ColdWar-1965-rev02.xml}
Also, there are no AI-India flags. My suggestion would be to create a .zip file. Then list the included files under the zip. Even if it's only the .xml, I would still make a zip. Copying from the mess with the indentation making the file harder to read.
ColdWar-1965-rev02.zip
Includes map.yml (only)You have 3 players that start with AI, suggesting that these should be AI controlled. In the <playerList> section you should add defaultType="AI" after optional="false". Also, because the 3 Neutral players have no steps in the <gamePlay>/<sequence> their <playerList> entry should have defaultType="DoesNothing" isHidden="true" added after optional="true". This will help clean the front screen.
Cheers...
-
@wc_sumpton Thanks for your response. Attached is the full game package. Unzip into downloadedMaps folder.
-
@wc_sumpton I will implement the AI flag on the three players intended to be run by AI. Try playing the dev version I posted. India is in the initialize delegate step. But when India's turn comes up, India flashes briefly in the history log and then vanishes. It is strange.
-
AI-India does not own/control any territories:
<territoryOwner owner="AI-India" territory="North India"/> <territoryOwner owner="AI-India" territory="South India"/> <territoryOwner owner="AI-India" territory="West India"/> <territoryOwner owner="AI-India" territory="East India"/> <territoryOwner owner="AI-India" territory="Northeast India"/> <territoryOwner owner="AI-India" territory="Pakistan"/> <territoryOwner owner="AI-India" territory="Kashmir"/>
Make sure to remove Pakistan from SEATO ownership. Also, AI-India does not have any units on the board:
<!-- India --> <unitPlacement owner="AI-India" territory="North India" unitType="aaGun" quantity="1"/> <unitPlacement owner="AI-India" territory="North India" unitType="Artillery" quantity="1"/> <unitPlacement owner="AI-India" territory="North India" unitType="Fighter" quantity="1"/> <unitPlacement owner="AI-India" territory="North India" unitType="BorderPatrol" quantity="4"/> <unitPlacement owner="AI-India" territory="North India" unitType="Tank" quantity="1"/> <unitPlacement owner="AI-India" territory="South India" unitType="Artillery" quantity="1"/> <unitPlacement owner="AI-India" territory="South India" unitType="BorderPatrol" quantity="3"/> <unitPlacement owner="AI-India" territory="West India" unitType="aaGun" quantity="1"/> <unitPlacement owner="AI-India" territory="West India" unitType="Artillery" quantity="1"/> <unitPlacement owner="AI-India" territory="West India" unitType="Fighter" quantity="1"/> <unitPlacement owner="AI-India" territory="West India" unitType="BorderPatrol" quantity="3"/> <unitPlacement owner="AI-India" territory="East India" unitType="Artillery" quantity="1"/> <unitPlacement owner="AI-India" territory="East India" unitType="BorderPatrol" quantity="3"/> <unitPlacement owner="AI-India" territory="East India" unitType="Tank" quantity="1"/> <unitPlacement owner="AI-India" territory="Northeast India" unitType="Artillery" quantity="1"/> <unitPlacement owner="AI-India" territory="Northeast India" unitType="BorderPatrol" quantity="3"/> <unitPlacement owner="AI-India" territory="Pakistan" unitType="Artillery" quantity="1"/> <unitPlacement owner="AI-India" territory="Pakistan" unitType="Fighter" quantity="1"/> <unitPlacement owner="AI-India" territory="Pakistan" unitType="Infantry" quantity="4"/> <unitPlacement owner="AI-India" territory="Pakistan" unitType="Tank" quantity="1"/> <unitPlacement owner="AI-India" territory="Kashmir" unitType="BorderPatrol" quantity="5"/>
Ensure that all the old placements are removed, otherwise, AI-India will start at war with contested territories.
There also is no 'units' folder for AI-India.Cheers...