From 84d32d5b178295684f1d5ee865eb2ffb9dd675d3 Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Sat, 3 Oct 2009 11:14:35 +0000 Subject: The new non-localized damage calculation method (based on Norfenstein's idea) require rebalancing of the Human damage regions. A number of errors with incorrect angles and crouching were also fixed. --- models/players/human_base/locdamage.cfg | 43 +++++++++++++++++++++++++++----- models/players/human_bsuit/locdamage.cfg | 17 +++++++------ 2 files changed, 46 insertions(+), 14 deletions(-) (limited to 'models') diff --git a/models/players/human_base/locdamage.cfg b/models/players/human_base/locdamage.cfg index c95cc62e..11a7393e 100644 --- a/models/players/human_base/locdamage.cfg +++ b/models/players/human_base/locdamage.cfg @@ -1,26 +1,57 @@ -//legs +// legs { minHeight 0.0 maxHeight 0.5 minAngle 0 maxAngle 360 - modifier 0.5 + modifier 0.75 } -//torso +// back { minHeight 0.5 maxHeight 0.9 + minAngle 270 + maxAngle 90 + modifier 1.25 +} + +// head +{ + minHeight 0.9 + maxHeight 1.0 minAngle 0 maxAngle 360 - modifier 1.0 + modifier 1.5 } -//head + +// legs, crouched { - minHeight 0.9 + minHeight 0.0 + maxHeight 0.3 + minAngle 0 + maxAngle 360 + modifier 0.75 + crouch +} + +// back, crouched +{ + minHeight 0.3 + maxHeight 0.86 + minAngle 270 + maxAngle 90 + modifier 1.25 + crouch +} + +// head, crouched +{ + minHeight 0.86 maxHeight 1.0 minAngle 0 maxAngle 360 modifier 1.5 + crouch } diff --git a/models/players/human_bsuit/locdamage.cfg b/models/players/human_bsuit/locdamage.cfg index c95cc62e..a269e2cd 100644 --- a/models/players/human_bsuit/locdamage.cfg +++ b/models/players/human_bsuit/locdamage.cfg @@ -1,21 +1,22 @@ -//legs +// legs { minHeight 0.0 maxHeight 0.5 minAngle 0 maxAngle 360 - modifier 0.5 + modifier 0.75 } -//torso +// back { minHeight 0.5 maxHeight 0.9 - minAngle 0 - maxAngle 360 - modifier 1.0 + minAngle 270 + maxAngle 90 + modifier 1.25 } -//head + +// head { minHeight 0.9 maxHeight 1.0 @@ -23,4 +24,4 @@ maxAngle 360 modifier 1.5 } - + -- cgit