I am trying to make a EMP weapon that also makes use of the "Electronics" flag.
$Name: EMP Adv.#Disruptor
+Title: XSTR( "GTM-14 EMP Adv.", -1)
+Description:
XSTR(
"Tactical missile - EMP Warhead
Dmg: Armor 45, Shield 36, Subsystem 23
Range: 1375m Reload: 2.0s
Speed: 275m/s Homing: Aspect", 3397)
$end_multi_text
+Tech Title: XSTR( "GTM-14 EM Pulse Adv.", -1)
+Tech Anim: Tech_EMP
+Tech Description: XSTR( "An EMP Missile that has a disruption effect like the D-Missile from FS1.", -1)
$end_multi_text
$Tech Model: empulse2_tech.pof
$Model File: EMPulse2.pof
$Mass: 15.0
$Velocity: 275.0
$Fire Wait: 2.0
$Damage: 45
$Blast Force: 20.0
$Inner Radius: 80.0
$Outer Radius: 300.0
$Shockwave Speed: 120.0
$Armor Factor: 1.0
$Shield Factor: 0.8
$Subsystem Factor: 0.5
$Lifetime: 5.0
$Energy Consumed: 0.0
$Cargo Size: 7.5
$Homing: YES
+Type: ASPECT
+Turn Time: 1.0
+Min Lock Time: 2.0
+Lock Pixels/Sec: 70
+Catch-up Pixels/Sec: 100
+Catch-up Penalty: 30
$LaunchSnd: 118
$ImpactSnd: 88
$FlyBySnd: -1
$Rearm Rate: 2.0
$Flags: ( "player allowed" "EMP" "Electronics" )
$Trail:
+Start Width: 1.00
+End Width: 0
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 2.75
+Bitmap: MissileTrail04
$Icon: iconEMPulse
$Anim: ecm
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 16.56
$Piercing Impact Explosion: exp06
$Piercing Impact Radius: 8.28
$Piercing Impact Velocity: 20
$Piercing Impact Splash Velocity: -5
$Piercing Impact Variance: 0.1
$Piercing Impact Particles: 5
$EMP Intensity: 375.0
$EMP Time: 20.0
$Electronics:
+New Style:
+Lifetime: 15000
+Randomness Time: 3000
$Thruster Flame Effect: missilethruster04
$Thruster Glow Effect: missileglow04
But it doesn't work, however. First I thought the "Electronics" flag and the "EMP" flag would be mutually exclusive, but they aren't, meaning it also does not work when I remove the EMP stuff.
Any ideas? The ship I'm trying to disrupt is a Triton freighter.