PDA

View Full Version : Missiles on non-missile ships.



chami
29th Sep 03, 11:13 PM
I'm guessing that this has to be a defined ability of a defined ship (IE, Vagyr Missile corvettes have this ability...?) because whenever i try to add missiles to originally non-missile carrying ships, they don't seem to fire at all.

Any suggestions?:0

Rock ON~:guitar:

theBlind
30th Sep 03, 12:24 AM
For example: delete all weapon entries from the hgn attack bomber (this is optional) and put in this line
StartShipWeaponConfig(NewShipType,"Hgn_BigTorpedoLauncher","Weapon_R","Weapon_L")
That alone should make the bomber fire torpedos

chami
30th Sep 03, 2:49 AM
That's weird. So it only works on non-turreted ships...?
(yes, i checked the definitions, there's a turreted torpedo launcher too, I put that on my Gun Corvette and didn't work)

Ammon Ra
30th Sep 03, 2:56 AM
well, i assume that you have to the same amount of entries as there are weapon points.

but the torpedoe frigates has 3 entries so i'm a bit confused ;) :dolt:

theBlind
30th Sep 03, 3:07 AM
I think the three entries in the torpedofrigates files are in so the frig can use upgraded torps, once they are researched.
Also, I have so far not really tried to put a torp on a turret, but O tried (and haven“t succeded) putting a torp on the heavy ion subsystem of HBCs.

EDIT:sp

Ammon Ra
30th Sep 03, 3:14 AM
Ah! now that makes sense ;) thx.

also look at the vaygr torpedoe platform to get an idea how to do turreted missile launchers, i think the turrets are animated, not sure. ;)

edit:
StartShipWeaponConfig(NewShipType,"Vgr_HeavyFusionMissileLauncherTurret","Weapon_Missile","Fire_Missle")

that's the line for the weapon in the torpedo platform.

So the only difference besides the Vgr_heavyfusionmissilelauncherturret is that there is the "fire_missile" at the end. if you look at the torpedo frigate lines you'll notice that that part is missing.

edit: Hrm, trie putting a torpedo-turret weapon on the pulsar, but no go...i'll fiddle with it a bit more later but atm it doesn't work.