Author Topic: Quad turret firing in pairs [solved]  (Read 3623 times)

0 Members and 1 Guest are viewing this topic.

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Quad turret firing in pairs [solved]
For the Falcon, I'm trying to make a turret with 4 firepoints which would fire in pairs. That is, firepoints 1 and 2 would fire at the same time, followed by 3 and 4 at the same time, then 1 and 2 again, and so on. So far, I've been unable to find a way to do this, here's what I've tried:

When I use $Shots: 2, that doesn't make two shots be fired at the same time; the firing delay still occurs between them.

When I use $Burst Shots: 2, the shots will not be fired during the same frame; the second shot of the burst will always be delayed at least to the next frame no matter how small a $Burst Delay is used, which means that the shots will only seem to fire in pairs when the fps stays high enough.

Has anyone successfully done a similar turret before? I realize it's possible to script this, but I really really don't want to do something that hacky unless there's no other alternative.

P.S. Please don't suggest putting two shots on one bitmap.

EDIT: Solved. Fixing a $Shots-related bug allowed this to be done by simply using $Shots: 2 on a simple quad-firepointed turret.
« Last Edit: November 30, 2011, 11:34:03 am by zookeeper »

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Quad turret firing in pairs
Try $Swarm: 2 with some absurdly small delay.

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Quad turret firing in pairs
Try $Swarm: 2 with some absurdly small delay.

Unsurprisingly, that has the same problem as $Burst Shots does, that is the shots fire on consecutive frames. Also, it seems to vary the firepoints in some fashion, looks like the pattern is 1+2 -> 2+3 -> 3+4 -> 4+1 -> 1+2 -> etc.

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Re: Quad turret firing in pairs
I didn't try it. But what happen if you name firepoint 1 and 2, firepoint 1 and the 2 last firepoint firepoint 2. And then make a weapon with the cycle flag ?


 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Quad turret firing in pairs
Can't you set the delay to 0?
The Trivial Psychic Strikes Again!

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Quad turret firing in pairs
I didn't try it. But what happen if you name firepoint 1 and 2, firepoint 1 and the 2 last firepoint firepoint 2. And then make a weapon with the cycle flag ?

Well, you simply can't do that.

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210

  

Offline Qent

  • 29
Re: Quad turret firing in pairs
Maybe something with "use multiple guns"?

 
 

Offline Qent

  • 29
Re: Quad turret firing in pairs
Isn't that "salvo mode"?

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Quad turret firing in pairs
Maybe. But I still don't think that "Use Multiple Guns" would help.

 

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Re: Quad turret firing in pairs
Would making the turret have two banks, each with 2 guns, help in any way? No idea if it would but came to mind when i read. Might be a way to have it cycle the weapons, so its firing one bank then the next, then back again.
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Quad turret firing in pairs
Yeah, what T-Man said. Two banks, two guns each, cycle flag... if that doesn't work, I'd consider it a bug / ground for a feature request.

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Quad turret firing in pairs
I don't see how that could work, as you can't assign a firepoint to a specific bank.

All in all, I'm pretty convinced that it just can't be done currently.