Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: elorran on April 24, 2009, 06:39:51 pm
-
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?
-
Check the Wiki: http://www.hard-light.net/wiki/index.php/Weapons.tbl
-
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.
-
That's not a flag. Look for $FOF:
-
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?
-
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.
-
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.
-
Thanks for pointing that out Flaming. Its been a while since I touched the tables as you can see :)