View Issue Details

IDProjectCategoryLast Update
0019185AI War 2Bug - OtherJan 26, 2018 1:08 pm
ReporterBadgerBadger Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.450 Sound! 
Fixed in Version0.522 
Summary0019185: Modding issues with required fields
DescriptionI have created a directory in my XMLMods folder and am trying to mod a few things, rather than editing GameData/Configuration/.../*.xml, since that gets overwritten.

It seems like a few fields are required for certain entries. For example, trying to override
ExternalConstants/KDL_VanillaConstants.xml, I had to use
<?xml version="1.0" encoding="utf-8"?>
<root
   is_partial_record="true"
   testing_techs_to_start_with="MultiNeedlerCorvette_Mark1,LaserGatling_Mark1,AutocannonMinipod_Mark1,LightningCorvette_Mark1,GrenadeLauncher_Mark1,Spider_Mark1"
        balance_planet_resource_multipliers="2,1.5,1,1" <==== I got errors if balance_planet_resource_multipliers was not set
  >
</root>

Or if trying to mod the ark from KDL_Ships_PlayerStructures.xml
<?xml version="1.0" encoding="utf-8"?>
<root>
      <entity name="HumanArk"
    ship_or_structure_explosion_sfx="ShipLostMassive_Explosion" <===the ship_or_structure_explosion entries seemed required; I got errors without them
    ship_or_structure_explosion_if_on_other_planet_sfx="ShipLostMassive_Explosion"
    ship_or_structure_explosion_sfx_happens_if_not_mine_and_on_other_planet="true"

   is_partial_record="true">
          <resource_production type="Fuel" planets_worth="20" />
        <resource_production type="Metal" planets_worth="20" />
        <resource_production type="Power" planets_worth="20" />
        <metal_flow purpose="BuildingShipsInternally" balance_planets_worth_of_metal_throughput="50" />

  </entity>

  
</root>

It looks like the is_partial_record field is not working correctly
TagsNo tags attached.

Activities

BadgerBadger

Oct 3, 2017 9:35 pm

manager   ~0046483

This should be fixed in .522:
     Fixed a bug where the balance_planet_resource_multipliers field of ExternalConstants was required even for partial records (a partial record should let you omit most anything).
        Thanks to BadgerBadger for reporting.

Issue History

Date Modified Username Field Change
Jun 23, 2017 12:34 pm BadgerBadger New Issue
Oct 3, 2017 9:35 pm BadgerBadger Note Added: 0046483
Jan 26, 2018 1:08 pm Chris_McElligottPark Assigned To => keith.lamothe
Jan 26, 2018 1:08 pm Chris_McElligottPark Status new => resolved
Jan 26, 2018 1:08 pm Chris_McElligottPark Resolution open => fixed
Jan 26, 2018 1:08 pm Chris_McElligottPark Fixed in Version => 0.522