Fractal Softworks Forum
Starsector => Mods => Modding => Topic started 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.
-
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...
-
Thanks! That should do it indeed.