Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: zookeeper on September 11, 2011, 04:46:06 am
-
For the Falcon (http://www.hard-light.net/forums/index.php?topic=76044.0), 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. (http://www.hard-light.net/forums/index.php?topic=78832.0)
-
Try $Swarm: 2 with some absurdly small delay.
-
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.
-
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 ?
-
Can't you set the delay to 0?
-
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.
-
Can't you set the delay to 0?
No.
-
Maybe something with "use multiple guns"?
-
That'd lock it in quad mode.
-
Isn't that "salvo mode"?
-
Maybe. But I still don't think that "Use Multiple Guns" would help.
-
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.
-
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.
-
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.