Author Topic: Undocumented Weapons.tbl flags?  (Read 1759 times)

0 Members and 1 Guest are viewing this topic.

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Undocumented Weapons.tbl flags?
I've been looking through a few weapon tables, and I've found some flags which aren't listed in the wiki.  Here are a few:

"no subsystem targeting"
"reset when idle"
"fire on target"
"salvo mode"

While I can guess what some of them do (like "no subsystem targeting", that's quite obvious), for others I have no idea. I'd like to know what they do.
I'm also curious as to why these aren't listed on the wiki. Do they not exist anymore? Or are they only for specific builds? or have they just not been added yet?
Also, are there any more than what I've listed?

I'd appreciate it if someone could provide some answers. Thanks.
(´・ω・`)
=============================================================

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Undocumented Weapons.tbl flags?
"reset when idle" - resets turret to its initial position (dont ask me what its doing in the weapons tbl flags...)
"fire on target" - fires on ships target first, if out of range(either weapon or turret field of view)  or obscured, targets normally (dont ask me what its doing in the weapons tbl flags...)
"salvo mode" - multi-part turret only, for example take the orions 3 barreled turrets. salvo mode means all three of them fire simultaneously. depends on the weapon i think.
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Undocumented Weapons.tbl flags?
Those are my subsystem flags... They arent in the trunk but only in wanderer branch so i have documented those only in the related threads.

In short

"no subsystem targeting"
Prevents a turret from targeting cap ship subsystem and forces it to fire at random spots on target's hull instead.

"reset when idle"
Quite easily understandable... If the turret has no target the turret will reset to its initial position after shot wait (1/2 s or some such)

"fire on target"
Prevents turret from firing unless the barrels are aligned with the 'target spot'.. That is normally in fs turret barrels have nothing to do with turret targeting or firing - apart from changing the location where the shots start their travel...

"salvo mode"
Fires the first weapon of the turret (and only first) but it fires it simultaneously from all the barrels.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Undocumented Weapons.tbl flags?
So, these flags are meant to be put onto a subsystem and not in weapons.tbl?
(´・ω・`)
=============================================================

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Undocumented Weapons.tbl flags?
Subsystem flags, iirc., so yes.

 

Offline ssmit132

  • 210
  • Also known as "Typhlomence"
    • Steam
    • Twitter
Re: Undocumented Weapons.tbl flags?
"fire on target"
Prevents turret from firing unless the barrels are aligned with the 'target spot'.. That is normally in fs turret barrels have nothing to do with turret targeting or firing - apart from changing the location where the shots start their travel...
I've noticed the normal behaviour, and it looks silly. The turret is looking somewhere else, and a blob just pops out in your direction.

Although I haven't noticed this with new ships, even if they don't have these flags (e.g. Blue Planet), maybe I haven't looked at enough high-detail turrets firing.  :blah:

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Undocumented Weapons.tbl flags?
Well.. on new ships the obvious fix has been to set the rotation times of the turret so small that it does track the target. However it does look silly at times as the huge turrets rotate 180 in less than a second
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Re: Undocumented Weapons.tbl flags?
Is there a subsystem flag that, when a turret with multiple fire points and an equal number of weapon slots, where each slot has a different weapon assigned to it, forces each weapon to stick to its assigned fire point, even if a swarming primary weapon is included?  I've done some mix-matching with beams and swarming primaries for the triple gun turrets of the ISA Victory (TBP), and the swarming pulse weapon jumps from one fire point to the next, displacing the other weapons from their fire points.
The Trivial Psychic Strikes Again!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Undocumented Weapons.tbl flags?
Yes

Again only in wanderer branch

"fixed firingpoints"
      - forces game to use only single firingpoint for a specific weapon.
      - maximum of 3 primaries and 4 secondaries.
      - requires "use multiple guns" flag.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Undocumented Weapons.tbl flags?
what about this:

"fire down normals"

found it in Blue Planet's Collosal Railgun...
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

  

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Undocumented Weapons.tbl flags?
"fire down normals" flag is in trunk.. And it was supposed - AFAIK - to do the same as what the "fire on target" does but at least last time i tested it the flag didnt work well enough (imho). Not sure what is wrong with it.. in the code it seems quite sound.

On quick tests it seems it can give illusion of the barrels tracking the target however closer you are to the turret worse the turret firing gets. For example some distance away triton turrets fire only when barrel to target angle is less than 30 or so while if you are next to the turret it happily shoots through itself.
Do not meddle in the affairs of coders for they are soggy and hard to light