[mods][ability] Custom Ability Mod Mass Entries?

I have downloaded that overpowered mod from nexus. It's cool. I have hacked it all up. However, some things just don't work.

There are a bunch of Mod sections like this;

Code: xml
  1.          <Mod>
  2.             <EffectType>BeamMass</EffectType>
  3.             <Scope>Global</Scope>
  4.             <Target>
  5.                 <TargetType>Ship</TargetType>
  6.             </Target>
  7.             <BonusType>Multiplier</BonusType>
  8.             <Value>-0.75</Value>
  9.         </Mod>

It doesn't take. I've confirmed the <EffectType> entries are correct (as found in StatTypes.xsd).

What am I missing? Am I just using the wrong BonusType or Value?

 

 

 

6,152 views 2 replies
Reply #1 Top

I'm not sure if that code is what you are using in your mod or if it is an example of the changes that need to be made in the mod.  Whichever it is, I've never seen the tags <Mod> and </Mod> used in an xml file in the game.  If they aren't allowed and you're using them, you should get an error message.

I think the code needs to go in the ShipComponentDefs.xml file, but the code in there doesn't match the example code.  If you are using the ShipComponentDefs.xml file, but sure to use the one in the Crusade directory.