BUG or WAD: Beam Magnification Array doesn't give 25% bonus to enhanced beam weapons

See also, kinetic and missile support modules

So, I've been adding a support ship with a beam magnification array to each of my fleets... trouble is, it has no effect on the beam weapons of those fleets.

I did a bit of digging in the XML and here's what I found.

Beam Magnification Array (BMA) looks to be coded in XML to give a 25% bonus to ships which have a component of type BeamWeapon, but there are in fact quite a few beam weapons of type BeamWeaponEnhanced and those are not specified as targets in the BMA's XML. So, seems like an oversight or, the BMA is designed to boost only non-enhanced beam weapons.

This is also true for kinetic and missile weapons.

5,652 views 1 replies
Reply #1 Top

It's very weird, i've been digging arround this too, and found this:

This is from ShipComponentDef.xml from EXP2/Game:

  <ShipComponent>
    <InternalName>BeamMagnificationArray</InternalName>
    <DisplayName>BeamMagnificationArray_Name</DisplayName>
    <Description>BeamMagnificationArray_Dec</Description>
    <ArtDefine>ColonyModel_01</ArtDefine>
    <Category>Support</Category>
    <OnePerShip>true</OnePerShip>
    <Type>BeamSupport2</Type>
    <SupportType>BeamWeapon</SupportType>
    ...
    <Stats>
      <EffectType>BeamAttack</EffectType>
      <Scope>Fleet</Scope>
      <Target>
        <TargetType>Ship</TargetType>
        <ShipComponentType>BeamWeapon</ShipComponentType>
      </Target>
      <BonusType>Multiplier</BonusType>
      <Value>0.25</Value>
    </Stats>
    ...
  <ShipComponent>

  <ShipComponent>
    <InternalName>DoomRay</InternalName>
    <DisplayName>DoomRay_Name</DisplayName>
    <Description>DoomRay_Dec</Description>
    <ArtDefine>WeaponModel_10</ArtDefine>
    <Category>Weapons</Category>
    <Type>BeamWeaponEnhanced</Type>
    ...
    <Stats>
      <EffectType>BeamAttack</EffectType>
      <Target>
        <TargetType>Ship</TargetType>
      </Target>
      <BonusType>Flat</BonusType>
      <Value>10</Value>
    </Stats>
    <Stats>
    ...
  </ShipComponent>

As I'm understanding both components are afecting the beam attack stat , The DoomRay increase a flat amount and the BMA it's a multiplier, but for some reason it's not working as it should be, maybe becouse if this "<Type>BeamWeaponEnhanced</Type>" from the DoomRay, anyways, any dev around here that can say's if this should work this way? enhancing only normal weapon types and not those expensive enhanced weapons, because I just dump like 10k antimater on some Nightmare Torpedos and fleet and just realize Missile Guidance Array it's not working (30 mass wasted, i could get an extra weapon slot there).

 

Thanks!!!