Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95.1a is out! (12/10/21); Blog post: The Pilgrim's Path (07/19/22)

Author Topic: continuous 'burst fire' option  (Read 4176 times)

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
continuous 'burst fire' option
« on: June 12, 2011, 10:37:25 AM »

it would be nice to have the ability to specify an 'interruptable infinite burst' (ie, the burst length is however long you hold down the LMB, or you run out of ammo, with a minimum burst size of 1: the firing AI would basically 'hold down the LMB' so long as the target is in range.) for a projectile weapon.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 20570
    • View Profile
Re: continuous 'burst fire' option
« Reply #1 on: June 12, 2011, 11:14:14 AM »

Maybe I'm missing something, but how is this different from a normal weapon with rapid fire?
Logged

tinsoldier

  • Commander
  • ***
  • Posts: 144
    • View Profile
Re: continuous 'burst fire' option
« Reply #2 on: June 12, 2011, 11:56:23 AM »

Maybe I'm missing something, but how is this different from a normal weapon with rapid fire?

Maybe he means it's like a toggle.  Click for fire, click again to stop firing?  Seems like a hybrid auto-fire that handles the aiming *after* you specify the target?
Logged

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
Re: continuous 'burst fire' option
« Reply #3 on: June 12, 2011, 12:17:31 PM »

no, what I mean is that I want it to have a very long chargeup time, but once it charges up, so long as you keep it charged, it will fire a continuous burst.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 20570
    • View Profile
Re: continuous 'burst fire' option
« Reply #4 on: June 12, 2011, 12:24:32 PM »

You can already do that. Just set the burst size to something really large, and set "interruptibleBurst":true. If that doesn't work, there's a bug :)

Not entirely sure how well the AI would handle it, though. It won't appreciate that it might be worth it to keep firing shots that can't possibly hit just to avoid the cooldown. Is that what you're getting at?
Logged

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
Re: continuous 'burst fire' option
« Reply #5 on: June 12, 2011, 01:22:03 PM »

oh, just set the burst size equal to the ammo quantity?

Well, I'll try it out and see how the AI handles it.

Mercurio

  • Ensign
  • *
  • Posts: 23
    • View Profile
Re: continuous 'burst fire' option
« Reply #6 on: June 14, 2011, 12:14:11 PM »

You mean, like a minigun with a certain spinup time?
Logged

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
Re: continuous 'burst fire' option
« Reply #7 on: June 14, 2011, 12:33:40 PM »

yeah, exactly that as I mentioned in another thread (and maybe even this thread)