summaryrefslogtreecommitdiff
path: root/armour/helmet.armour
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:15:10 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:47 +0000
commitacf169219a3f51db82750851cf1dad44ff331de5 (patch)
tree28d321632209aa965414c33e873d0ccdabb7e83e /armour/helmet.armour
parentb4d3fc69f691cbe19cecf0f3c99e8eed64dc3ddf (diff)
* MAX()/MIN() macros need to be wrapped in parenthesis to work as
expected! * Armour and local damage processing merged * Armour and local damage scripts now accept a "name" parameter for debug output * Norfenstein's non-locational damage formula now perfectly implemented -- there are restrictions! There can only be ONE layer of armour and all locational damage region files must cover the entire body and cannot overlap! * Turning on g_debugDamage to 2 or 3 provides additional information on how the damage modifier was calculated
Diffstat (limited to 'armour/helmet.armour')
-rw-r--r--armour/helmet.armour5
1 files changed, 3 insertions, 2 deletions
diff --git a/armour/helmet.armour b/armour/helmet.armour
index c873d27d..afe2bd28 100644
--- a/armour/helmet.armour
+++ b/armour/helmet.armour
@@ -1,5 +1,6 @@
-// head
+
{
+ name "helmet"
minHeight 0.8
maxHeight 1.0
minAngle 0
@@ -7,8 +8,8 @@
modifier 0.4
}
-// head, crouched
{
+ name "helmet crouch"
minHeight 0.72
maxHeight 1.0
minAngle 0