Thread: More Questions
View Single Post
Old 08-18-11, 02:30 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by XTChrisTX View Post
I've already asked this one before, but I guess I'll reiterate. Torpedo damage- is there a hardcoded top end limit? Just to see what would happen, I set this to 999999 in S3D and it still took several torpedos to sink a battleship.
I'm assuming you set the MinEF and MaxEF to 999999 then. Just doing that alone is not going to take down a battleship. You also have to adjust the MinRadius and MaxRadius so that a wider 'area' of the unit receives the damage from the torp.

When the torp impacts a unit the game calculates which compartments (zones) on the unit receive damage based on where the torp hit and MinRadius and MaxRadius of the torp (via which spheres are intersected which then corresponds to which boxes were intersected). Then once it knows this then it can apply damage to those compartments based on the torp's MinEF and MaxEF (accounting for the zones armor value). It then totals up all the damage incurred to each compartment and if that value exceeds the HPs of the unit then it is destroyed. This is a simplified explanation BTW.
TheDarkWraith is offline   Reply With Quote