RangedObjectAffector
Does not require an Ordnance file.
Gives the owner the ability to cause effects in an area, which also affect the owner. The weapon is toggleable by default and drains specialEnergyCost per second.
Does not use shotDelay command or hitChance (never misses) ODF command..
classlabel = "rangedobjectaffector"
Stock ODF Commands
affectorType
Determines the effect of the weapon.
0 = Allows affected units to fire while cloaked.
1 = Increases the damage of the weapons of affected units.
2 = Sensor scrambler - causes weapon fire directed at affected units to miss.
percentReduction
Float, Default: 1.0
Modifies the hitChance of ordnance of opposing units by this fraction (or the damage dealt - dependent on affectorType).
damageFactor
Float, Default: 1.0
Modifies the amount of damage dealt by affected units by this fraction.
rangeFactor
Float, Default: 1.0
Modifies the range of the weapons or sensors (depends on affectorType) by this fraction.
cycleColorRed
Float, Default: 1.0
Sets the intensity of the color change cycles of units affected by the waves from this weapon. Each cyclecolor command may be used in tandem with the others.
cycleColorGreen
Float, Default: 1.0
Sets the intensity of the color change cycles of units affected by the waves from this weapon. Each cyclecolor command may be used in tandem with the others.
cycleColorBlue
Float, Default: 1.0
Sets the intensity of the color change cycles of units affected by the waves from this weapon. Each cyclecolor command may be used in tandem with the others.
wave_Effect
String, Default: Null
Determines the wave ordnance ODF that is used for this weapon.
timeBetween
Float, Default: 0.0
Determines the time in seconds between waves emanating from the weapon. This is purely a visual effect, and the gameplay effects are turned on or off
