Author Topic: Weapon table flags list?  (Read 1865 times)

0 Members and 1 Guest are viewing this topic.

Offline elorran

  • Big Daddy Tap
  • 28
  • Peter piper picked a peck of pickled peppers
Weapon table flags list?
It's been some time since I meddled with the tables.  At one point there was a list somewhere of all the alterations and additional features the FSO team added to the engine that you could use to pruce up weapons.  I've spent the better part of the last half hour searching for such a list without luck.

Can someone point me in the right direction, assuming such a list still exists, please?
Thats no moon... hes dropped his pants!

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline elorran

  • Big Daddy Tap
  • 28
  • Peter piper picked a peck of pickled peppers
Re: Weapon table flags list?
Thanks, thats somewhat helpful.  Though it seems a lot shorter than I remember.  Were a lot of the flag abilities removed or is there an expanded list anywhere that you know of?  I'm looking for a specific flag command that allows the shots from primaries to spread over an angle.
Thats no moon... hes dropped his pants!

 
Re: Weapon table flags list?
That's not a flag. Look for $FOF:

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Weapon table flags list?
Check the Wiki:  http://www.hard-light.net/wiki/index.php/Weapons.tbl
This confuses me:
 "Puncture"

    * Reduces hull damage by 25%

 "puncture"

    * Reduces hull damage by 75%

So which is it?
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Weapon table flags list?
Code: [Select]
if (Weapon_info[weapon_info_index].wi_flags & WIF_PUNCTURE) {
damage /= 4;
}

So it would  cause only 25% to the hull or or reduce the damage by 75%.  Of course that's if I'm reading that correctly.
« Last Edit: April 25, 2009, 06:11:59 pm by FUBAR-BDHR »
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Weapon table flags list?
Code: [Select]
if (Weapon_info[weapon_info_index].wi_flags & WIF_PUNCTURE) {
damage /= 4;
}

So it would  cause only 25% to the hull or or reduce the damage by 75%.  Of course that's if I'm reading that correctly.

Fixed for readability.

  

Offline elorran

  • Big Daddy Tap
  • 28
  • Peter piper picked a peck of pickled peppers
Re: Weapon table flags list?
Thanks for pointing that out Flaming.  Its been a while since I touched the tables as you can see :)
Thats no moon... hes dropped his pants!