Navigation

    TripleA Logo

    TripleA Forum

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

    Cold War 1965 version 2.0 - Official Thread

    Maps & Mods
    2
    11
    151
    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.
    • D
      DaveBall068 last edited by

      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.

      D 1 Reply Last reply Reply Quote 1
      • D
        DaveBall068 @DaveBall068 last edited by

        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?

        1 Reply Last reply Reply Quote 1
        • D
          DaveBall068 last edited by

          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

          W 1 Reply Last reply Reply Quote 1
          • W
            wc_sumpton @DaveBall068 last edited by

            @daveball068

            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...

            D 2 Replies Last reply Reply Quote 1
            • D
              DaveBall068 @wc_sumpton last edited by

              @wc_sumpton Thanks for your response. Attached is the full game package. Unzip into downloadedMaps folder.

              1 Reply Last reply Reply Quote 0
              • D
                DaveBall068 @wc_sumpton last edited by

                @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.

                W 1 Reply Last reply Reply Quote 0
                • W
                  wc_sumpton @DaveBall068 last edited by

                  @daveball068

                  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...

                  D 1 Reply Last reply Reply Quote 1
                  • D
                    DaveBall068 @wc_sumpton last edited by

                    @wc_sumpton Thank you for troubleshooting. That fixed it. Now I am focused on tweaking for game balance. One means of testing has been to have Hard-AI play itself. This is where I experienced a new error: Cannot find capital for Neutral-US, one of the do nothing neutrals. It happened during a battle with one of Brazil (Neutral-US).

                    I am unable to upload full package due to file size. Here is the XML.
                    ColdWar-1965-rev02.xml

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      wc_sumpton @DaveBall068 last edited by wc_sumpton

                      @daveball068

                      optional, in the <playerList>, needs to stay true for these players. This is what governs their needs for a capital.

                      <player name="Neutral-USA" optional="true" defaultType="DoesNothing" isHidden="true"/>
                      <player name="Neutral-USSR" optional="true" defaultType="DoesNothing" isHidden="true"/>
                      <player name="Neutral-China" optional="true" defaultType="DoesNothing" isHidden="true"/>
                      

                      Cheers...

                      D 2 Replies Last reply Reply Quote 0
                      • D
                        DaveBall068 @wc_sumpton last edited by

                        @wc_sumpton Changed optional to "true". Received this error.
                        Screenshot 2025-09-01 091601.png

                        1 Reply Last reply Reply Quote 0
                        • D
                          DaveBall068 @wc_sumpton last edited by DaveBall068

                          @wc_sumpton Here is the full game package zip file from my Google Drive.

                          cold_war_1965-master-rev02-A.zip
                          https://drive.google.com/file/d/1FuGc0DF-0aWvXvihPRmGw5_-d-M2rvA8/view?usp=drive_link

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