Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: Tartiflette on March 19, 2019, 03:27:25 PM

Title: [REQUEST] Alternate Proximity fuse against missiles only
Post by: Tartiflette on March 19, 2019, 03:27:25 PM
Pretty much what it says on the tin: I'm trying to make a "Premium small PD solution", and to make that weapon reliably hit missiles, it has to have a proximity fuse. Problem is, "Flak" weapons can't have a radius small enough to reliably hit a single missiles while still be able to damage ships:

(https://i.imgur.com/Zn199Wo.jpg)
That puff is a 5px radius fuse triggering far away from a ship hull

A simple solution to make a pd weapon that does not rely on either fire volume or large proximity fuse would be to have another behavior that only triggers the fuse against missiles.
Title: Re: [REQUEST] Alternate Proximity fuse against missiles only
Post by: Alex on March 19, 2019, 04:06:01 PM
Added "vsMissileRange" to the shot behavior spec, goes on the same level as "range". So in your case you'd set that to whatever, and set "range" to 0 to make the proximity fuse not get triggered by ships. Let me know if I missed something obvious here! I mean, seems like that should cover it, but it's been that kind of day...
Title: Re: [REQUEST] Alternate Proximity fuse against missiles only
Post by: Tartiflette on March 19, 2019, 11:26:49 PM
Thanks! That should do it indeed.