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')
-rwxr-xr-xassets/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 100755
index 0000000..3beeb16
--- /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.8
+ minAngle 0
+ maxAngle 360
+ modifier 1.0
+}
+
+{
+ name "head"
+ minHeight 0.8
+ 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.7
+ minAngle 0
+ maxAngle 360
+ modifier 1.0
+ crouch
+}
+
+{
+ name "head crouch"
+ minHeight 0.7
+ maxHeight 1.0
+ minAngle 0
+ maxAngle 360
+ modifier 1.5
+ crouch
+}
+