Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Blog post: Skills and Story Points (07/08/19)

Author Topic: [REQUEST] Alternate Proximity fuse against missiles only  (Read 434 times)

Tartiflette

  • Admiral
  • *****
  • Posts: 2782
  • Kickstarter is NOT a magic spring of free money!
    • View Profile
[REQUEST] Alternate Proximity fuse against missiles only
« 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:


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.
« Last Edit: March 19, 2019, 03:31:53 PM by Tartiflette »
Logged
 

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 15372
    • View Profile
Re: [REQUEST] Alternate Proximity fuse against missiles only
« Reply #1 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...
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 2782
  • Kickstarter is NOT a magic spring of free money!
    • View Profile
Re: [REQUEST] Alternate Proximity fuse against missiles only
« Reply #2 on: March 19, 2019, 11:26:49 PM »

Thanks! That should do it indeed.
Logged