Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: quadinhonic_II on October 23, 2002, 03:16:05 pm
-
I have this idea for a weapon used on cap-ships but I'm not real sure how to make it. The weapon will be used ONLY on barral turrets, specifily 2 barraled ones. The weapon will fire like so:
barrel 1 fires than somewhere from .5 sec to .75 sec later the 2nd barrel of the turret fires. than it repeats with barral 1 than 2. So it goes 1..2..1..2
But after those 4 shots it stops for awhile, for bout 3 sec. Than it does the 1..2..1..2 thing again and so on.
How, if possible, do I get the turret to only fire out of barral 1 than 2 than 1 than 2; then get it too stop for 3 sec, and make it repeat again.
The purpose of this weapon is to try to destroy enemy fighters\bombers in a quick 1,2,1,2 volley. Like a rapid firing cap weapon. it fires its volley than it has to take 3 sec to cool\recharge. But never will barral 1 and 2 fire at the same time, its one or the other.
Is this beyond FS's abilty or is it possible to do some creative editing in the tbls?:confused:
-
As far as I know, it MIGHT be possible if each barrel can have a separate weapon. I'm thinking of the Orion turrets which have up to three weapons......but otherwise it's not possible. You can have rapid fire weapons - my capships for The Swarm War are undergoing some HEAVY weaponry designing.......oh I wish I could have the Phalanx from IG3 in FS2......:(
-
It simple how you can create such a weapon;)
-----------------------------------------------------------------------------------
Posted by quadinhonic_II
barrel 1 fires than somewhere from .5 sec to .75 sec later the 2nd barrel of the turret fires. than it repeats with barral 1 than 2. So it goes 1..2..1..2
But after those 4 shots it stops for awhile, for bout 3 sec. Than it does the 1..2..1..2 thing again and so on.
-----------------------------------------------------------------------------------
In the weapons table entry, add the 'swarm' line (found in the Hornets entry) above 'LaunchSound'.
For a volley of four shots, set this to 4, and adjust the fire wait to fit what you want:yes:
You might want to increase the fire wait a bit, so that you have the correct pause between volleys
-----------------------------------------------------------------------------------
Posted by quadinhonic_II
How, if possible, do I get the turret to only fire out of barral 1 than 2 than 1 than 2; then get it too stop for 3 sec, and make it repeat again.
The purpose of this weapon is to try to destroy enemy fighters\bombers in a quick 1,2,1,2 volley. Like a rapid firing cap weapon. it fires its volley than it has to take 3 sec to cool\recharge. But never will barral 1 and 2 fire at the same time, its one or the other.
-----------------------------------------------------------------------------------
Turret weapons always fire in this manner. That is hard written.
I'd better point out that the turret will fire a 1,2,1,2 volley, then the next volley will be a 2,1,2,1 volley. It will cycle around like that.:nervous:
-----------------------------------------------------------------------------------
Posted by Killfrenzy
As far as I know, it MIGHT be possible if each barrel can have a separate weapon. I'm thinking of the Orion turrets which have up to three weapons......but otherwise it's not possible.
-----------------------------------------------------------------------------------
Sorry Kill, but turrets on ships only use the first weapon they are fitted with. Ie If a turret had a entry that looked like this:
$Subsystem: Turret01a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" "Terran Turret" "AAAf")
Then the turret would only use the Terran Huge Turret, not the others.:D
-
This has been done for TBP EA Omega phalanx pods. Although there is only one firing point, not two.
Problem with swarm pulse turrets is that first shot is wasted because AI is not programmed to use such weapons properly. It looks cool and works after the first shot though. :)
-
Originally posted by Raptor
Sorry Kill, but turrets on ships only use the first weapon they are fitted with. Ie If a turret had a entry that looked like this:
$Subsystem: Turret01a, 1.875, 3.0
$Default PBanks: ( "Terran Huge Turret" "Terran Turret" "AAAf")
Then the turret would only use the Terran Huge Turret, not the others.:D
Well, that's just daft!:D
-
I think the fact that you can assign multiple weapons to a turret is just a side effect of the code used to set the weapons for small ships. And the game does not, yet, have any code to chose from those multiple weapons. (I bet the 1 turret the Orion has that is equipped with multiple weapons was a mistake in the table that nobody caught/fixed 'cause it didn't do anything, even if there had been code for multiple weapons. The turret was assigned the same weapon in all three slots.)
-
Originally posted by Raptor
It simple how you can create such a weapon;)
-----------------------------------------------------------------------------------
Posted by quadinhonic_II
barrel 1 fires than somewhere from .5 sec to .75 sec later the 2nd barrel of the turret fires. than it repeats with barral 1 than 2. So it goes 1..2..1..2
But after those 4 shots it stops for awhile, for bout 3 sec. Than it does the 1..2..1..2 thing again and so on.
-----------------------------------------------------------------------------------
In the weapons table entry, add the 'swarm' line (found in the Hornets entry) above 'LaunchSound'.
For a volley of four shots, set this to 4, and adjust the fire wait to fit what you want:yes:
You might want to increase the fire wait a bit, so that you have the correct pause between volleys
-----------------------------------------------------------------------------------
Posted by quadinhonic_II
How, if possible, do I get the turret to only fire out of barral 1 than 2 than 1 than 2; then get it too stop for 3 sec, and make it repeat again.
The purpose of this weapon is to try to destroy enemy fighters\bombers in a quick 1,2,1,2 volley. Like a rapid firing cap weapon. it fires its volley than it has to take 3 sec to cool\recharge. But never will barral 1 and 2 fire at the same time, its one or the other.
-----------------------------------------------------------------------------------
Turret weapons always fire in this manner. That is hard written.
I'd better point out that the turret will fire a 1,2,1,2 volley, then the next volley will be a 2,1,2,1 volley. It will cycle around like that.:nervous:
Wow. never considered the looking in the missiles. Also probbelly i missed it is cause i removed the hornet from my tbl.
One prob though. I set the fire wait to 3 sec (just to start out). Ingame it fires;
barrel 1 (3 sec later) barrel 2 (3 sec later) barrel 1 (migh have been 2 again but thats not the point. I dont care that it cycles)
It doesnt do what i wanted. I want it to go 1..2..1..2 then wait 3 sec then repeat or whatever; or 1..2..2..1 is ok too.
Instead it goes;
1........2..........1............2.............1.......
not
1..2..1..2.............1..2..1..2...........1..2..1..2
like i want it.
If i just put like 3 sec in the fire wait it doesnt really make that much of a difference. Your on the right track I'll give you that.
I might have overlooked something but i dont think so. I think i need 2 fire waits or something....
-
Hmmm, that is odd:doubt: , as I have twin (and triple;7!) versions of most of my turret weapons.
You sure that you do not have a ; in front of the 'swarm' entry?
Or that you have 'swarm' = 1?
If you like, I could have a go and create a genric pulser turret of this style. I would use the 'Terran Turret' entry as a basis. Just say so, and give me an address I can send it to.....
EDIT: Note to Self: Remember to spell check before submitting post!
-
Yes i'm sure on both.
e-mail should be in my profile.
-
Say Quadinhonic_II, did you get my emailed tbl entry? Haven't heard a peep from you about it....
-
Could you email it to me too? Iv'e been trying to do the same thing for a while.
Email: [email protected]
-
Sure thing.;7
-
For some reason that kind of thing doesn't work for player weapons anyone know why?
-
Originally posted by Raptor
Say Quadinhonic_II, did you get my emailed tbl entry? Haven't heard a peep from you about it....
Yeah i got it. Works fine. Would have replyed earlier but i have been extremly busy the past week.
I know i said that i wanted the weapon to be used on barral turrets only, but i might want to use it on beam turrets as well. I tried it but all the weapon would do was fire stright upward. No other direction, just...up.
How do i correct it, so it fires in all the other directions as well?
-
quote:
--------------------------------------------------------------------------------
Originally posted by Quadinhonic_II
I know i said that i wanted the weapon to be used on barral turrets only, but i might want to use it on beam turrets as well. I tried it but all the weapon would do was fire stright upward. No other direction, just...up.
--------------------------------------------------------------------------------
Yes, Ive found that little flaw myself. Put a 'Swarm' gun in a turret which only has the 'base' submodel, with no 'barrel', and the weapon in only fire along it's normal vector.:sigh:
quote:
--------------------------------------------------------------------------------
Originally posted by Quadinhonic_II
How do i correct it, so it fires in all the other directions as well?
--------------------------------------------------------------------------------
I have no idea, so I have just accepted it. Maybe those chaps at the SCP could look into this.....at some point......
-
So does it matter what weapon I assign to a multiweapon turrent?
Most say terran or terran huge. Butif I make one of the slots, say, a prometheus, and another a maxim, will the turrent alternate betweenthe 3 diffent weapons?
-
Originally posted by Star Dragon
So does it matter what weapon I assign to a multiweapon turrent?
Most say terran or terran huge. Butif I make one of the slots, say, a prometheus, and another a maxim, will the turrent alternate betweenthe 3 diffent weapons?
It won't do diddly. The only reason there are multiple slots in FRED2 are for small ships (like fighters) using gun points/missile points. Multi-weapon turrets are not supported. In the future that may be changed.
-
Sorry if this was already mentioned...but the $Swarm tag is almost ineffective in most cases. We need a true volley shot code addition to make it work in all but a few cases plus added control over the time between shots (not volleys) and so on and so forth.
The reason that $Swarm works on the Omega is because the pods have only one fire point, the guns fire 6 blasts in one volley, and the speed with which they fire give a reasonable chance to hit a fighter provided that it doesn't duck out of the way during the firing process.
-
uh, IceFire, have you tried this system yet? Even twin shooting Weak Terran Turrets are now quite nasty.....
Okay, so the first shot of each volley fires off into nowhere, but i find that better than haing shots come out the back of a turret
-
Speaking of editing weapons, is it possible to set a weapon so it is purely defensive, i.e it will only fire on cyclops, helios and similar bomb/torpeado type weapons and not fighters & capships?
-
You can limit it to fire only on capships (not on fighters/boms), but I don't know if it goes the other way around.
-
Well, there is "bomber+" and I THINK "fighter+", but is there "bomb+"? Try it out.