summaryrefslogtreecommitdiff
path: root/models/players/human_base
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:14:35 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:47 +0000
commit84d32d5b178295684f1d5ee865eb2ffb9dd675d3 (patch)
treed44bfbd7b7f00f554beedf076f999506dd3bbc68 /models/players/human_base
parentc31fde4d9a30526bf6fb93d9bc00852e284bff5b (diff)
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.
Diffstat (limited to 'models/players/human_base')
-rw-r--r--models/players/human_base/locdamage.cfg43
1 files changed, 37 insertions, 6 deletions
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
}