Author Topic: Turret Questions  (Read 2745 times)

0 Members and 1 Guest are viewing this topic.

I can't find the specific information I'm looking for...

Can a turret have more than one weapon bank? If so, what are the table entries needed to do so?

I'm looking for say a gun turret and missile turret combo...

$Subsystem: Turret01a, 1.0, 3.0
 $Default PBanks: ( "Terran Turret" "Terran Turret" )
 $Default SBanks: ( "Fighter Killer" "Fighter Killer" )

Also, can a turret have more than three firing points that you could specify the loadout of? Like so:

$Subsystem: Turret01a, 1.0, 3.0
 $Default PBanks: ( "Terran Huge Turret" "Heavy Flak" "Terran Huge Turret" "Terran Turret" "Terran Turret" "Terran Turret" )

Answers would be for a current SCP build.
All I ask is a tall ship and a star to steer her by.
And a laughing yarn from a merry fellow rover.
And a quiet sleep and a sweet dream when the long trick's over.
- JOHN MASEFIELD

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
it can and i think theres stuff in fred to toggle banks. ive seen stuff relating to this in scripting and would assume its already been implemented or they're working on it.

ive successfully made turrets with 4 points, i used to have problems with 5 point turrets a couple years ago (i solved it by switching it to 4 points). also i dont think you can assign firing points to separate banks.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
look at Trashman's GTSG Hydra, it's exactly what your first question asks
Sig nuked! New one coming soon!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Code: [Select]
#define MAX_TFP 10 // maximum number of turret firing pointsSo ten (10 - or 1010 if you prefer binary) is the maximum number of firepoints a turret can have.


Turrets can have more than 1 weapon defined but... it should fire only single weapon at a time regardless - unless the proper turret flag ("use multiple guns") is used as well. And even then turrets will fire at more or less irregular intervals (due to random factor added to turret fire wait times) as well as alternating the firepoints where the weapons fire from. So a weapon defined 1st to the list may fire from any of the firepoints you never really know which.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Perhaps it's just my perception, but when I've defined a weapon for each fire point the turret weapons fire much closer together, giving almost a salvo effect as opposed to cycling through each gun. I will have to try the "use multiple guns" flag for comparison.

Edit: Tested, when weapons are defined for each point the turret fires each weapon in rapid succession. When only one is defined for multiple points, the gun fires once only then waits. I was looking for salvos but this is as close as it currently gets I guess.
« Last Edit: May 14, 2008, 11:15:00 am by Hellbender »
All I ask is a tall ship and a star to steer her by.
And a laughing yarn from a merry fellow rover.
And a quiet sleep and a sweet dream when the long trick's over.
- JOHN MASEFIELD

 
someone had that thing... remember, he had a picture of a bunch of ursas, and they were firing bursts of 3 of these red-colored lasers from their turrets... hmmm, i thing he like used some obscure clause realated to flak guns to make it do that...
Sig nuked! New one coming soon!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
AFAIK you can get salvos...

There are couple of ways of doing that (though i haven't tested lately either of them). First one is to edit ai_profiles.tbl - or aip.tbm - and prevent the random delay from being added. Or using just single weapon with swarm setting equal to the number of barrels and then setting swarmwait to minimum.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline BS403

  • 29
  • I'm just sitting in my Cave.
there is a tag you can add to the turret subsystem that sets it to salvo fire IIRC
http://woogleville.myminicity.com/

Homer: Aw, twenty dollars! I wanted a peanut!
Homer's Brain: Twenty dollars can buy many peanuts.
Homer: Explain how.
Homer's Brain: Money can be exchanged for goods and services.
Homer: Woo-hoo!

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
The tag you are talking about is "use multiple guns", which doesn't really do anything useful ATM.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Just tested... that flag works just as it should.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Ya, that was it, swarm flag... and the number you entered changed the number of shots in a burst...
Sig nuked! New one coming soon!

 
How exactly should "use multiple guns" be set up? I ask because I haven't yet seen it in a table.
All I ask is a tall ship and a star to steer her by.
And a laughing yarn from a merry fellow rover.
And a quiet sleep and a sweet dream when the long trick's over.
- JOHN MASEFIELD

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
http://www.hard-light.net/wiki/index.php/Ships.tbl

http://www.hard-light.net/wiki/index.php/Subsystems

And to actually use that option you need to define more than a single weapon per turret.

Ya, that was it, swarm flag... and the number you entered changed the number of shots in a burst...
er.. ummh??
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Ok, I'm still not quite clear on the usage. Is it a flag set in the general ship flags or does each turret require a seperate: $Flags( "use multiple guns") ?
All I ask is a tall ship and a star to steer her by.
And a laughing yarn from a merry fellow rover.
And a quiet sleep and a sweet dream when the long trick's over.
- JOHN MASEFIELD

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Mutliple weapon entries on a turret will salvo fire. Look at the Retail GTD Orion. The triple banks of THTs fire three blobs, one after the other.
I've found "use multiple guns" to be quite redundant. Just fitting it with X banks of what you want gets a close enough effect (unless you want all three barrels to rapid fire, for example).
(´・ω・`)
=============================================================

 

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
It is not guaranteed that they will fire in sequence though.  The random turret fire delay does weird things.

  
Ya, that was it, swarm flag... and the number you entered changed the number of shots in a burst...
er.. ummh??

nevermind...
Sig nuked! New one coming soon!