Author Topic: Guide on how to modify Starting Fleet?  (Read 5320 times)

Offline narb79

  • Newbie Mark III
  • *
  • Posts: 26
Guide on how to modify Starting Fleet?
« on: April 03, 2020, 05:38:00 pm »
Is there a quick guide on how to modify starting fleet

Example Modify E:\Steam\steamapps\common\AI War 2\GameData\Configuration\CMP_StartingFleetDesigns.xml
and save to where etc.

Example Mod
 <fleet_design name="ClassicStartingFleet"
        display_name="Classic Fleet"
        description="This classic mix isn't good at any one particular thing, but is well-rounded against any foe.  The forcefields just make things even better."
        design_logic="InitialPlayerFleet" weight="100" include_full_cap_of_each_type="true"
        append_each_ship_description_to_main_description="true"
        >
    <ship_membership name="TransportFlagship_Starter" ship_cap_group="Centerpiece" weight="100" min="1" max="1"/>
    <ship_membership name="VWing" ship_cap_group="Strike" weight="100" min="40" max="40"/>
    <ship_membership name="FusionBomber" ship_cap_group="Strike" weight="100" min="40" max="40"/>
    <ship_membership name="Parasite" ship_cap_group="Strike" weight="100" min="40" max="40"/>
    <ship_membership name="ParasiticFusionBomber" ship_cap_group="Strike" weight="100" min="25" max="25"/>
  </fleet_design>

Offline StarKeep

  • Jr. Member Mark II
  • **
  • Posts: 79
Re: Guide on how to modify Starting Fleet?
« Reply #1 on: April 03, 2020, 06:41:55 pm »
Hello, attempting to remove existing ship lines from starting fleets is not recommended, you would be better off making your own starter fleet (with a unique fleet_design_name and display_name) and loading it via XMLMod.

In order to do so, navigate to the XMLMods folder in your AI War 2 folder.

Create a new Folder with any name you desire.

Create a new Folder inside of your newly named folder called FleetDesignTemplate

Create a new xml file with any name you desire, and move your example mod code inside.

File names do not matter, and your main mod's folder name doesn't matter, but you require the same Folder layout that occurs in Configuration.

Example:

Offline narb79

  • Newbie Mark III
  • *
  • Posts: 26
Re: Guide on how to modify Starting Fleet?
« Reply #2 on: April 03, 2020, 11:17:11 pm »
Thank you very Much!
Worked like a dream.
Yeah I made a copy of the starting fleet XML then redid it.

Offline ArnaudB

  • Jr. Member Mark II
  • **
  • Posts: 76
Re: Guide on how to modify Starting Fleet?
« Reply #3 on: April 04, 2020, 02:53:41 am »
Look at my mod in "Arnaud's various mods".

The More Starting Options is what you want, adding new starting fleet is exactly what it does.

Download it, open the file in More Starting Option with Notepad++ then alter it to fit what you need.

https://forums.arcengames.com/ai-war-ii-modding/arnaudb's-various-mods-(more-starting-options-no-wormholes-overlord-aip)/
« Last Edit: April 04, 2020, 02:01:01 pm by ArnaudB »

Offline narb79

  • Newbie Mark III
  • *
  • Posts: 26
Re: Guide on how to modify Starting Fleet?
« Reply #4 on: April 04, 2020, 01:03:25 pm »
Thanks! I am using the Gameenityrefdata for a ship name guide then modifying accordingly..  Downloaded you mod TY!