summaryrefslogtreecommitdiff
path: root/models/players/human_base
diff options
context:
space:
mode:
Diffstat (limited to 'models/players/human_base')
-rw-r--r--models/players/human_base/locdamage.cfg30
1 files changed, 26 insertions, 4 deletions
diff --git a/models/players/human_base/locdamage.cfg b/models/players/human_base/locdamage.cfg
index cc4fd655..7dfb6fea 100644
--- a/models/players/human_base/locdamage.cfg
+++ b/models/players/human_base/locdamage.cfg
@@ -1,5 +1,8 @@
-// legs
+// These regions must cover the entire body and cannot overlap otherwise
+// the non-locational damage calculation will not be correct!
+
{
+ name "legs"
minHeight 0.0
maxHeight 0.5
minAngle 0
@@ -7,8 +10,17 @@
modifier 0.5
}
-// head
{
+ name "torso"
+ minHeight 0.5
+ maxHeight 0.9
+ minAngle 0
+ maxAngle 360
+ modifier 1.0
+}
+
+{
+ name "head"
minHeight 0.9
maxHeight 1.0
minAngle 0
@@ -16,8 +28,8 @@
modifier 1.5
}
-// legs, crouched
{
+ name "legs crouch"
minHeight 0.0
maxHeight 0.3
minAngle 0
@@ -26,8 +38,18 @@
crouch
}
-// head, crouched
{
+ name "torso crouch"
+ minHeight 0.3
+ maxHeight 0.86
+ minAngle 0
+ maxAngle 360
+ modifier 1.0
+ crouch
+}
+
+{
+ name "head crouch"
minHeight 0.86
maxHeight 1.0
minAngle 0