summaryrefslogtreecommitdiff
path: root/assets/models/players/human_base/locdamage.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'assets/models/players/human_base/locdamage.cfg')
-rw-r--r--assets/models/players/human_base/locdamage.cfg60
1 files changed, 60 insertions, 0 deletions
diff --git a/assets/models/players/human_base/locdamage.cfg b/assets/models/players/human_base/locdamage.cfg
new file mode 100644
index 00000000..7dfb6fea
--- /dev/null
+++ b/assets/models/players/human_base/locdamage.cfg
@@ -0,0 +1,60 @@
+// 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
+ maxAngle 360
+ modifier 0.5
+}
+
+{
+ 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
+ maxAngle 360
+ modifier 1.5
+}
+
+{
+ name "legs crouch"
+ minHeight 0.0
+ maxHeight 0.3
+ minAngle 0
+ maxAngle 360
+ modifier 0.5
+ crouch
+}
+
+{
+ 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
+ maxAngle 360
+ modifier 1.5
+ crouch
+}
+