summaryrefslogtreecommitdiff
path: root/models
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
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')
-rw-r--r--models/players/human_base/locdamage.cfg43
-rw-r--r--models/players/human_bsuit/locdamage.cfg17
2 files changed, 46 insertions, 14 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
}
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
}
-
+