summaryrefslogtreecommitdiff
path: root/assets/models/players/human_base/locdamage.cfg
blob: 7dfb6feab1b9455e9b63abcc7e11d62c03673be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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
}