Author Topic: Multi-gun turrets.  (Read 5325 times)

0 Members and 1 Guest are viewing this topic.

Well, I've actually seen three beams fire out of the same turret.

The ships.tbl says (after I edited it): "AAAf" "AAAf" "Shivan Super Laser". This is what happens.
 http://www.geocities.com/tachnyrus/multiplebeams.JPG
 http://www.geocities.com/tachnyrus/multiplebeams2.JPG

------------------
Ahh... candy...
[whack!whack!]
Ahh... blood...
Ahh... candy...
[whack!whack!]
Ahh... blood...

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Yeah, but what sexp did you use to get that?


I did beam-free-all, then chained fire-beam with a repeat factor of 99, and a chain delay of 1, and I had many many beams shooting out of one turret...
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 
Nope, I didn't use any sexps. I just beam-free-all'ed and put a few hostile fighters in. Watch the fireworks!
Ahh... candy...
[whack!whack!]
Ahh... blood...

 

Offline morris13

  • New Marshal in town...
  • 27
Thats interesting, but you'll notice that its not firing the SSL at all, just the AAA beams. That is odd though... from the way you describe it you didn't do anything at all that would be making the turrets fire multiple beams... if you take the extra weapon entries out of the .tbl and run the mission again does it do the same thing?

[This message has been edited by morris13 (edited 07-10-2001).]
If it aint broke, break it!

 
Actually, they're suped up super-anti-fighter/anti-capship hybrids. (so sue me, I'm just starting to edit .tbls!)

They're really a copied version of the AAAf with a new name. They also have the "huge" tag on them. I took that out, and it still shoots three an once (making that ship a ***** to attack... over 60 guns each firing 3 AAAs each... ouch!).

Why don't you try this yourself; go to the ships.tbl, copy a ship, give it a new name, and add "AAAf" "AAAf" "Shivan Super Laser" for each for the turrets. See what happens.

I'll have to try reducing the number of weapons on a turret to one later.
Ahh... candy...
[whack!whack!]
Ahh... blood...

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
 
Quote
Originally posted by morris13:
Okay, so here's another question. I notice that many ships have turrets with two different weapons listed ie:
$Subsystem:      turret04, 2, 1.0
$Default PBanks: ( "Subach HL-7" "Terran Turret Weak")

OR

$Subsystem:  turret01, 2, 1.0
$Default PBanks   "Terran Turret Weak" "Terran Turret Weak" )

My first impression would be that whenever the gun fires it has a choice between the two different gun types. Why then have the entries that list the same type twice? It might make sense for a multibarrel turret if you had a different weapon assigned to each barrel and they just rotated every time the gun fired, but these turrets are from the charybdis and they're not multi-barreled. Most of the non-combatant ships like the Faustus and the Zephyrous do the same thing - multiple guns for a single gunpoint.
The big three-barrelled turrets on the Orion do both:
$Subsystem:Turret01a, 1.875, 3.0
$Default PBanks   "BGreen" )
$Subsystem:Turret02a, 1.875, 3.0
$Default PBanks   "Terran Huge Turret" "Terran Huge Turret" "Terran Huge Turret" )

despite the fact that both of these are identical three barrelled turrets. Why have the THT listed three times? if you replaced the THT with different weapons, would it fire a different weapon each time, or would it decide which one it wanted like AI fighters use their secondaries? The Hecate also has multi-barrel turrets, but none of its turrets have more than one primary listed. Likewise ALL of the guns on an Aeolus are mutibarreled, but only have one listing per turret.
So far the following ships do this: Orion and Colossus (multi-barrel turrets only), Zephryus, Ankh, Faustus, Charybdis, and Setekh. I'm doing some experimentation on this myself, but if anyone knows exactly why this is like this i'd appreciate some feedback =)


*sigh*... you don't know this???

If its a multi-part turret it takes the default banks from that subsystem...for example I think the Orion has the primary turret in 3 turrets(ok that didn't make sense).

When it says Default P Banks... that means when you create the object in FRED2 thats the default weapon it has when you place it. When they put 3 in a row... that means its a 3 part turret... the first part uses the first weapon, the second part uses the second weapon, and the third part uses the third weapon... its easy.




------------------
    -Director of the staff of Hidden Terror.
   -Fleet Admiral of The Ancients Armada

         
Quote
The fear always controls our attitude, let us fear no more!

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
  About the Aeolus and Hecate... it LOOKS like it has multiple turrets... but open it up and FRED and nope it doesn't.

------------------
    -Director of the staff of Hidden Terror.
   -Fleet Admiral of The Ancients Armada

         
Quote
The fear always controls our attitude, let us fear no more!

 
Umm... DragonClaw? If I add more entries to that subsystem in the ship.tbl, I can make the Aeolus have 3 guns per turret in FRED2.
Ahh... candy...
[whack!whack!]
Ahh... blood...

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
Yea... so? Does it shoot every one?

------------------
    -Director of the staff of Hidden Terror.
   -Fleet Admiral of The Ancients Armada

         
Quote
The fear always controls our attitude, let us fear no more!

 
Beats me. Read above, and you'll see all I know about multiple guns on a single turret...
Ahh... candy...
[whack!whack!]
Ahh... blood...

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
 
Quote
Originally posted by morris13:
Thats interesting, but you'll notice that its not firing the SSL at all, just the AAA beams. That is odd though... from the way you describe it you didn't do anything at all that would be making the turrets fire multiple beams... if you take the extra weapon entries out of the .tbl and run the mission again does it do the same thing?

[This message has been edited by morris13 (edited 07-10-2001).]

Possibly because it rotated through the firing points faster than the laser could shoot, so it had all 3 points firing.
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline morris13

  • New Marshal in town...
  • 27
 
Quote
Originally posted by RKIF-DragonClaw:

*sigh*... you don't know this???

If its a multi-part turret it takes the default banks from that subsystem...for example I think the Orion has the primary turret in 3 turrets(ok that didn't make sense).

When it says Default P Banks... that means when you create the object in FRED2 thats the default weapon it has when you place it. When they put 3 in a row... that means its a 3 part turret... the first part uses the first weapon, the second part uses the second weapon, and the third part uses the third weapon... its easy.


"sigh" have you actually TESTED this? because I have and when I've included multiple entries exactly like that the ships involved do NOT fire all three weapons in rotation, but only the first one over and over again. So until you can back that up with some screenshots, I think you're talking out your *** .
If it aint broke, break it!

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Isn't he always?
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

  

Offline Shrike

  • Postadmin
  • 211
    • http://www.3dap.com/hlp
They cycle through gunpoints sometimes if they are the same weapon.... for example, the twin-barrel turrets on the aeolus will cycle the flak shots, but the broadside guns do not rotate points.  It looks like an unfinished/delete part of the code.
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR KEYBOARDS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUMS WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.