Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Woolie Wool on September 08, 2003, 12:33:00 pm

Title: Swarm turrets
Post by: Woolie Wool on September 08, 2003, 12:33:00 pm
I noticed that since FS2 assumes swarm weapons have tracking systems, swarm turrets don't aim at the target. That's a bad idea. I made these nice swarm primary turrets for capships that fired 6 blasts in a neat little line. I put them on a Phobos corvette (the one from Inferno) and they missed a Demon destroyer EVERY TIME.
Title: Swarm turrets
Post by: Taristin on September 08, 2003, 12:39:49 pm
Um... If youposted pics, maybe we'd (I'd) understand better?
Title: Swarm turrets
Post by: Woolie Wool on September 08, 2003, 12:47:32 pm
Just think of the pulse turrets and ion arrays from TBP.
Title: Swarm turrets
Post by: Taristin on September 08, 2003, 12:54:00 pm
*has to go and play TBP*
Title: Swarm turrets
Post by: TopAce on September 08, 2003, 04:21:33 pm
In a word: Make the swarm missiles more accurate!
Title: Swarm turrets
Post by: Woolie Wool on September 08, 2003, 04:24:12 pm
NO NO NO! I want this to be implemented to make swarm PRIMARIES more accurate.
Title: Swarm turrets
Post by: TopAce on September 08, 2003, 04:26:27 pm
Never played TBP. I was only guessing :D
Title: Swarm turrets
Post by: Fury on September 09, 2003, 01:52:03 pm
Perhaps I can explain it a bit better.

Basically swarm tag works with primary turrets as well. You can fire multiple pulses in a salvo with swarm tag. Unfortunately FS2 assumes that whatever weapon the turret is equipped with, has it's own targeting system. Eg, hornet or tornado missiles. Naturally pulses do not track their targets. This makes swarm tagged primary turrrets really inaccurate.

Several attempts have been made to correct this issue but none of them has gained any popularity. I haven't used fs2_open or tbp_open for a really long time, so I don't know whether this has been fixed already or not.
Title: Swarm turrets
Post by: Taristin on September 09, 2003, 04:27:12 pm
Swarm works on primaries? Oooh... Ideas, ideas... :drevil:
Title: Swarm turrets
Post by: IceFire on September 09, 2003, 04:48:40 pm
Quote
Originally posted by Raa Tor'h
Swarm works on primaries? Oooh... Ideas, ideas... :drevil:

But not well...not yet.

There needs to be separate swarm coding for primaries however.  Since we can assume that primaries are not homing and most secondaries are homing the divisions need to be made that way...

Why?

Because when Eternal One tested swarm code with the targeting instructions intact (like a nromal primary turret does) it also affected missiles as well.  Instead of firing out from the port and then tracking, they fired in the direction they were supposed to go in...more like a primary.

It doesn't sound too bad...but it looks aweful.  So a little work has to be done.
Title: Swarm turrets
Post by: Taristin on September 09, 2003, 05:00:14 pm
Isn't it possible to fool with the primary charachteristics to make them homing?  I thought I did it once (with very little success, but never on a turret...)
Title: Swarm turrets
Post by: IceFire on September 09, 2003, 05:02:27 pm
Quote
Originally posted by Raa Tor'h
Isn't it possible to fool with the primary charachteristics to make them homing?  I thought I did it once (with very little success, but never on a turret...)

No I think a secondary was fooled into thinking it was a primary.
Title: Swarm turrets
Post by: Taristin on September 09, 2003, 05:05:20 pm
I'll have to fool with this a bit... :)
Title: Swarm turrets
Post by: SadisticSid on September 09, 2003, 05:22:47 pm
Basically the turrets need to re-aim after firing each shot in a swarm primary volley. If you play TBP R2 and stand next to a Vorchan's gattling turret it'll miss you almost every time. The problem is that the turret doesn't aim properly for the first shot, and doesn't aim at all for subsequent ones. As I understand it, anyway...
Title: Swarm turrets
Post by: Woolie Wool on September 09, 2003, 05:40:21 pm
Speaking of the Vorchan, my inspiration for the swarm turret lasers was a mission in TBP where I watched the Juno get smacked down by a bunch of Vorchans.
Title: Swarm turrets
Post by: Ace on September 09, 2003, 05:54:04 pm
Quote
Originally posted by Raa Tor'h
Isn't it possible to fool with the primary charachteristics to make them homing?  I thought I did it once (with very little success, but never on a turret...)


I've done a swarm turret once with low-manuverability heatseeking and a large detonation radius. (it still isn't accurate enough to directly hit the hull) This seems to work.
Title: Swarm turrets
Post by: Taristin on September 09, 2003, 06:19:41 pm
You were going to make me a mad vasudan in a Typhon, IIRC...   Nads to you cutting your camp short...:doubt: