News

Meaning of Starbase Weapon Value Parameter in StarbaseDefs.xml

Posted on Monday, January 2, 2017

A weapon in StarbaseDefs.xml contains this section (the same for all weapon types):

    <Stats>
      <EffectType>BeamWeapon</EffectType>
      <Target>
        <TargetType>Starbase</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>1</Value>
    </Stats>

What is the effect of the Value parameter? I changed it experimentally to 2, but couldn't see any different behaviour. I thought it could be the number of weapons of the same type and hoped by raise it I could make the starbase fire more often per turn, but that isn't the case.