Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Shivan Hunter on November 03, 2010, 02:21:29 pm

Title: The "Puncture" flag
Post by: Shivan Hunter on November 03, 2010, 02:21:29 pm
The wiki entry for weapons.tbl has two different entries for the "puncture" flag- one which says it reduced hull damage by 25%, and one which says it reduces hull damage by 75% and tells the AI that the weapon is anti-subsystem. Which one is correct? (I hope it's the second one because otherwise the flag does something but is still completely useless).
Title: Re: The "Puncture" flag
Post by: The E on November 03, 2010, 02:27:58 pm
The second one is the correct definition. Puncture weapons, by default, do full damage against subsystems, 25% damage against hull, and the AI prefers to use them against subsystems.
Title: Re: The "Puncture" flag
Post by: Solatar on November 03, 2010, 02:35:55 pm
Looks like someone got "reduced by" and "reduced to" confused.
Title: Re: The "Puncture" flag
Post by: Galemp on November 03, 2010, 08:45:55 pm
Puncture weapons, by default, do full damage against subsystems, 25% damage against hull, and the AI prefers to use them against subsystems.

Umm. Does that override the ArmorMultiplier specified in the table?
Title: Re: The "Puncture" flag
Post by: The E on November 03, 2010, 08:48:37 pm
It should.
Title: Re: The "Puncture" flag
Post by: Galemp on November 03, 2010, 09:00:35 pm
Can you check? What about weapons like the Akheton SDG that should be dealing ZERO damage to the hull?
Title: Re: The "Puncture" flag
Post by: The E on November 03, 2010, 09:09:58 pm
Ahh, sorry. I was wrong about that, I misunderstood what you meant.

The damage calculation for a puncture weapon is like this: <base damage> * ArmorFactor * 0.25