I've been trying to make an "artillery" weapon for freespace and I've got it to work, but then I came to the end to test the final product, and the bloody ships won't fire it! I'll post the code here, it's just infuriating....
$Name: Tunneler
$Model File: piranha.pof
$Mass: 1.0
$Velocity: 40.0
$Fire Wait: 8.0
$Damage: 200 ;; damage applied when within inner radius
$Blast Force: 3000.0
$Inner Radius: 50.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 150.0 ;; max radius for attenuated damage
$Shockwave Speed: 40 ;; velocity of shockwave. 0 for none.
$Armor Factor: 4.0
$Shield Factor: 0.01
$Subsystem Factor: 25.0
$Lifetime: 40.0
$Energy Consumed: 0.0 ;; Energy used when fired
$Cargo Size: 1.0 ;; Amount of space taken up in weapon cargo
$Homing: YES
;; the following indented fields are only required when $Homing is YES
+Type: ASPECT ;; Legal: HEAT, ASPECT
+Turn Time: 1.5
+Min Lock Time: 2.0 ;; Minimum lock time (in seconds)
+Lock Pixels/Sec: 70 ;; Pixels moved per sec while locking
+Catch-up Pixels/Sec:100 ;; Pixels moved per sec while catching up
+Catch-up Penalty: 30 ;; Extra pixels to move after catching up
$LaunchSnd: 96 ;; The sound it makes when fired
$ImpactSnd: 88 ;; The sound it makes when it hits something
$FlyBySnd: -1
$Rearm Rate: 0.02 ;; number of missiles/sec that are rearmed
$Flags: ("Bomb" "Big Ship" "Huge" "Spawn Artillery Baby, 150" "Remote Detonate" "local ssm" )
$Trail: ;; Trail cannot be set if Exhaust is set
+Start Width: 0.5 ;; Width of trail nearest missile
+End Width: 1.75 ;; Width of trail before it "evaporates"
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.5 ;; how many seconds before trail disappears
+Bitmap: MissileTrail04 ;; Bitmap used to draw trail
$Icon: iconmissile04
$Anim: LoadMissile04
$Impact Explosion: none
$Local SSM:
+Warpout Delay: 2500
+Warpin Delay: 6000
+Stage 5 Velocity: 500
+Warpin Radius: 1000
+Lock Range: 15000
If I take out the Spawn flag it works, but the spawn flag is necessary to the character of the weapon. Any suggestions? It's driving me crazy!
