Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Swifty on September 03, 2012, 04:57:28 am

Title: Independently Targeted Swarm Missiles
Post by: Swifty on September 03, 2012, 04:57:28 am
Finally got some semblance of it working.

http://www.youtube.com/watch?v=pz6NcHfEPWY

(http://i.imgur.com/r06x7.png)
Title: Re: Independently Targeted Swarm Missiles
Post by: NGTM-1R on September 03, 2012, 05:13:57 am
Robotech mod, where are you?
Title: Re: Independently Targeted Swarm Missiles
Post by: MatthTheGeek on September 03, 2012, 05:15:18 am
Oh, that will get some love.
Title: Re: Independently Targeted Swarm Missiles
Post by: Crybertrance on September 03, 2012, 06:59:09 am
My dreams! come true!

e: Oh and how many targets will this be able to fire on? Is it dependant on secondary setting (as in will it fire two missiles on 1 target/more targets if set to dual-secondaries)
Title: Re: Independently Targeted Swarm Missiles
Post by: MatthTheGeek on September 03, 2012, 07:35:02 am
Seems like it would be dependent on how many missiles in a swarm. Here, 4 targets because tornadoes fire in swarms of four.
Title: Re: Independently Targeted Swarm Missiles
Post by: Qent on September 03, 2012, 08:44:52 am
Nice! How does the AI like using it?
Title: Re: Independently Targeted Swarm Missiles
Post by: Rodo on September 03, 2012, 09:00:15 am
YES!
Title: Re: Independently Targeted Swarm Missiles
Post by: Nuke on September 03, 2012, 10:26:43 am
i did that with scripting some years ago.
Title: Re: Independently Targeted Swarm Missiles
Post by: Thaeris on September 03, 2012, 10:28:34 am
Yes, but it was hard-coded for only one type of weapon with a certain number of missiles, was it not?
Title: Re: Independently Targeted Swarm Missiles
Post by: Dragon on September 03, 2012, 10:31:01 am
Robotech mod, where are you?
Dead and buried a long, long time ago (BTW, were you actually aware there was one? I still have it, it's primitive, but fun).
Title: Re: Independently Targeted Swarm Missiles
Post by: -Norbert- on September 03, 2012, 12:26:17 pm
Did I see that right, that you only fire as many missiles as you have lock-ons?

And just like Cybertrance, I'd be interrested in how this works with dual fire. Does it fire two missiles at each target, or does it lock twice the amount of enemies?

Would it be possible to switch, what now is single- and dualfire to single- and multitargeting, while this mod is active?
Title: Re: Independently Targeted Swarm Missiles
Post by: headdie on September 03, 2012, 12:35:56 pm
very cool, is it implemented weapon or ship side?
Title: Re: Independently Targeted Swarm Missiles
Post by: Droid803 on September 03, 2012, 12:42:00 pm
OH YES.
Title: Re: Independently Targeted Swarm Missiles
Post by: Swifty on September 03, 2012, 04:26:40 pm
Right now there are two new fields that are driving this effect. One field is called "+Uncaged:" which allows one to aspect lock ships that are not targetted and within the player's forward vector. The other is called "+Independent Seekers:" which allows multiple locks to be present. Only one aspect seeker can be "seeking" at a time but I'll have a parameter called "+Max Active Seekers:" which will dictate how many lock triangles can be locking simultaneously.

This doesn't work for AI yet. The priority is to get this working feature complete then to get this working with multiplayer (Or at least not break multiplayer). Then maybe I'll probably find a way to get the AI to use this.

As for how many missiles, you're limited to how many swarm or corkscrew missiles you have per salvo. Dual secondaries simply has the effect of launching two missiles for each locked up target.

Currently working on a parameter that will have the locks only working if you have the secondary fire button held down and firing when you release. I also need to work a parameter that forces the locks to reset when you fire in case someone wants to decide that they don't want players to spam the ability.
Title: Re: Independently Targeted Swarm Missiles
Post by: Trivial Psychic on September 03, 2012, 04:58:26 pm
How about the ability for anti-cap anti-turret weapons to individually lock onto different turrets on the same ship?
Title: Re: Independently Targeted Swarm Missiles
Post by: NGTM-1R on September 03, 2012, 05:34:52 pm
Dead and buried a long, long time ago (BTW, were you actually aware there was one? I still have it, it's primitive, but fun).

I was, actually.
Title: Re: Independently Targeted Swarm Missiles
Post by: Dragon on September 03, 2012, 06:10:54 pm
It's nice to see somebody remembers that old mod. What about resurrecting it? :)
I've got plenty on my hands, unfortunately, and I haven't watched Robotech, but the mod was very fun. Woolie Wool had some Robotech fighters flying around in the latest revision of Wings, there's an SFD-1 and Icarus (though they'd need a serious remapping) so I think that'd be a good start. I wonder if anyone from the original Robotech mod team is still around...
Title: Re: Independently Targeted Swarm Missiles
Post by: mjn.mixael on September 03, 2012, 07:05:21 pm
This is awesome. :yes:

I'll be eagerly awaiting this feature...
Title: Re: Independently Targeted Swarm Missiles
Post by: Scourge of Ages on September 03, 2012, 08:59:21 pm
My face when I saw this:
 :jaw:
Title: Re: Independently Targeted Swarm Missiles
Post by: TwentyPercentCooler on September 04, 2012, 12:10:44 am
I came.

I saw.

I came.

One step closer to Macross Missile Massacre!
Title: Re: Independently Targeted Swarm Missiles
Post by: rscaper1070 on September 04, 2012, 12:58:41 am
Very Cool. :) Is this for Diaspora so raiders can waste more Colonial civilians at once?
Title: Re: Independently Targeted Swarm Missiles
Post by: Nuke on September 05, 2012, 04:42:35 pm
Yes, but it was hard-coded for only one type of weapon with a certain number of missiles, was it not?

there were configurable tables for that :D
complete with comments.
Title: Re: Independently Targeted Swarm Missiles
Post by: torc on September 08, 2012, 11:57:31 am
Simply GREAT!

Is this patch already been committed?
Title: Re: Independently Targeted Swarm Missiles
Post by: Cyker on September 14, 2012, 03:55:22 pm
Sweeeeeet! :D
Title: Re: Independently Targeted Swarm Missiles
Post by: KyadCK on September 14, 2012, 05:53:36 pm
Right now there are two new fields that are driving this effect. One field is called "+Uncaged:" which allows one to aspect lock ships that are not targetted and within the player's forward vector. The other is called "+Independent Seekers:" which allows multiple locks to be present. Only one aspect seeker can be "seeking" at a time but I'll have a parameter called "+Max Active Seekers:" which will dictate how many lock triangles can be locking simultaneously.

This doesn't work for AI yet. The priority is to get this working feature complete then to get this working with multiplayer (Or at least not break multiplayer). Then maybe I'll probably find a way to get the AI to use this.

As for how many missiles, you're limited to how many swarm or corkscrew missiles you have per salvo. Dual secondaries simply has the effect of launching two missiles for each locked up target.

Currently working on a parameter that will have the locks only working if you have the secondary fire button held down and firing when you release. I also need to work a parameter that forces the locks to reset when you fire in case someone wants to decide that they don't want players to spam the ability.

 :D

Gunboats being able to harass the whole opposing team at once, that'd be interesting... Until all 4 of them get annoyed and gun their ass down anyway.
Title: Re: Independently Targeted Swarm Missiles
Post by: haloboy100 on September 16, 2012, 01:06:15 am
Now let's see you do it with Helios torpedoes and a line of cruisers. ;)
Title: Re: Independently Targeted Swarm Missiles
Post by: -Norbert- on September 16, 2012, 04:55:33 am
Or maybe locking multiple turrets on a single ship?
Title: Re: Independently Targeted Swarm Missiles
Post by: Trivial Psychic on September 16, 2012, 07:58:41 am
Or maybe locking multiple turrets on a single ship?
How about the ability for anti-cap anti-turret weapons to individually lock onto different turrets on the same ship?
Title: Re: Independently Targeted Swarm Missiles
Post by: Legate Damar on September 16, 2012, 11:21:22 am
I am quite impressed