News

Anyone else struggling to find a rational explanation for mod crashes?

Posted on Monday, June 15, 2015

I have a selection of modded components, most of them additions, and I can get some things to work, others not, and I can find no logical reasoning to explain why some work and some don't, an example:

Why does this work:

<PlanetTrait>
    <InternalName>GasGiantColony</InternalName>
    <DisplayName>Precursor Gas Giant Colony</DisplayName>
    <Description>Sophisticated equipment rests in a stable orbit around this gas giant, allowing for a simple colony.</Description>
    <EffectModifier>
      <EffectType>Manufacturing</EffectType>
      <Target>
        <TargetType>Colony</TargetType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>2</Value>
    </EffectModifier>
    <EffectModifier>
      <EffectType>Research</EffectType>
      <Target>
        <TargetType>Colony</TargetType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>2</Value>
    </EffectModifier>
    <EffectModifier>
      <EffectType>GoodsAndServices</EffectType>
      <Target>
        <TargetType>Colony</TargetType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>2</Value>
    </EffectModifier>
    <EffectModifier>
      <EffectType>Tourism</EffectType>
      <Target>
        <TargetType>Colony</TargetType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>2</Value>
    </EffectModifier>
  </PlanetTrait>

but this doesn't:

<PlanetTrait>
    <InternalName>KellOrganoSyntheticWorld</InternalName>
    <DisplayName>Synthetic World</DisplayName>
    <Description>This world long ago turned synthetic, everything now works towards a common goal.</Description>
    <EffectModifier>
      <EffectType>Manufacturing</EffectType>
      <Target>
        <TargetType>Colony</TargetType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>2</Value>
    </EffectModifier>
    <EffectModifier>
      <EffectType>Research</EffectType>
      <Target>
        <TargetType>Colony</TargetType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>2</Value>
    </EffectModifier>
  </PlanetTrait>

 

Or:

What is wrong with this:

<RaceTrait>
    <InternalName>BioshipsAbility</InternalName>
    <DisplayName>Bio-Ships</DisplayName>
    <DisplayNameShort>Bio-Ships</DisplayNameShort>
    <Description>Every ship is grown and cared for; enables healing during combat.</Description>
    <IsAbility>1</IsAbility>
    <Mod>
      <EffectType>TacticalRepair</EffectType>
      <Scope>Global</Scope>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>2</Value>
    </Mod>
  </RaceTrait>

Anyone else having issues? Anyone have a solution, or just tips and tricks?