Dayz  1.11.153731
Dayz Code Explorer by Zeroy
PlayerConstants.c
Go to the documentation of this file.
2 {
3  static const float WEAPON_RAISE_BLEND_DELAY = 0.136;
4  static const float MELEE2_MOVEMENT_BLEND_DELAY = 0.35;
5  //----------------------------------------------------------
6  // SHOES DAMAGE/FEET BLEEDING
7  //----------------------------------------------------------
8  static const float BAREFOOT_MOVEMENT_BLEED_MODIFIER = 0.1;
9  static const float SHOES_MOVEMENT_DAMAGE_PER_STEP = 0.035;
10  static const int CHECK_EVERY_N_STEP = 10;//will process every n-th step(for performance reasons)
11  //----------------------------------------------------------
12  // STAT LEVELS START
13  //----------------------------------------------------------
14  static const float SL_HEALTH_CRITICAL = 15;
15  static const float SL_HEALTH_LOW = 30;
16  static const float SL_HEALTH_NORMAL = 50;
17  static const float SL_HEALTH_HIGH = 80;
18 
19  static const float SL_TOXICITY_CRITICAL = 20;
20  static const float SL_TOXICITY_LOW = 40;
21  static const float SL_TOXICITY_NORMAL = 60;
22  static const float SL_TOXICITY_HIGH = 80;
23 
24  static const float SL_BLOOD_CRITICAL = 3000;
25  static const float SL_BLOOD_LOW = 3500;
26  static const float SL_BLOOD_NORMAL = 4000;
27  static const float SL_BLOOD_HIGH = 4500;
28 
29  static const float SL_ENERGY_CRITICAL = 0;
30  static const float SL_ENERGY_LOW = 200;
31  static const float SL_ENERGY_NORMAL = 400;
32  static const float SL_ENERGY_HIGH = 4000; // max is 20000 (playerstats)
33 
34  static const float SL_WATER_CRITICAL = 0;
35  static const float SL_WATER_LOW = 300;
36  static const float SL_WATER_NORMAL = 600;
37  static const float SL_WATER_HIGH = 2400; // max is 5000 (playerstats)
38  //----------------------------------------------------------
39  // STAT LEVELS END
40  //----------------------------------------------------------
41 
42  //-------------------------------------------------------
43  static const float NORMAL_TEMPERATURE_L = 35.2;
44  static const float NORMAL_TEMPERATURE_H = 36.8;
45  static const float HIGH_TEMPERATURE_L = 38.5;
46  static const float HIGH_TEMPERATURE_H = 39.9;
47  //-------------------------------------------------------
48  static const float STOMACH_ENERGY_TRANSFERED_PER_SEC = 3; //amount of kcal transfered to energy per second(this should ideally be higher than what player burns under high metabolic load[sprint])
49  static const float STOMACH_WATER_TRANSFERED_PER_SEC = 6; //amount of ml transfered to water per second(this should ideally be higher than what player burns under high metabolic load[sprint])
50  static const float STOMACH_SOLID_EMPTIED_PER_SEC = 7; //amount of g/ml emptied from stomach per second
51 
52  static const float LOW_WATER_THRESHOLD = PlayerConstants.SL_WATER_LOW; //threshold from which water affects health
53 
54  static const float LOW_ENERGY_THRESHOLD = 200; //threshold from which energy affects health
55 
56  //--------------------------------------------------------
57  static const float METABOLIC_SPEED_ENERGY_BASAL = 0.01; //energy loss per second while idle
58 
59  static const float METABOLIC_SPEED_ENERGY_WALK = 0.08; //energy loss per second
60  static const float METABOLIC_SPEED_ENERGY_JOG = 0.3; //energy loss per second
61  static const float METABOLIC_SPEED_ENERGY_SPRINT = 0.6; //energy loss per second
62 
63  static const float METABOLIC_SPEED_WATER_BASAL = 0.02; //water loss per second while idle
64 
65  static const float METABOLIC_SPEED_WATER_WALK = 0.08; //water loss per second
66  static const float METABOLIC_SPEED_WATER_JOG = 0.3; //water loss per second
67  static const float METABOLIC_SPEED_WATER_SPRINT = 0.5; //water loss per second
68  //--------------------------------------------------------
69 
70  static const float THRESHOLD_HEAT_COMFORT_PLUS_WARNING = 0.2; //missing comment
71  static const float THRESHOLD_HEAT_COMFORT_PLUS_CRITICAL = 0.5; //missing comment
72  static const float THRESHOLD_HEAT_COMFORT_PLUS_EMPTY = 0.9; //missing comment
73 
74  static const float THRESHOLD_HEAT_COMFORT_MINUS_WARNING = -0.3; //missing comment
75  static const float THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL = -0.5; //missing comment
76  static const float THRESHOLD_HEAT_COMFORT_MINUS_EMPTY = -0.9; //missing comment
77 
78  //--------------------------------------------------------
79  static const int BLOOD_THRESHOLD_FATAL = 2500; //fatal blood level
80 
81  static const float BLOOD_REGEN_RATE_PER_SEC = 0.3; //base amount of blood regenerated per second
82  static const float DAMAGE_ZONE_BLOOD_REGEN_MODIFIER = 0.7;
83 
84  static const float BLOOD_REGEN_MODIFIER_ENERGY_LOW = 0; //multiplier for blood regen rate
85  static const float BLOOD_REGEN_MODIFIER_ENERGY_MID = 0.5;
86  static const float BLOOD_REGEN_MODIFIER_ENERGY_HIGH = 1;
87 
88  static const float BLOOD_REGEN_MODIFIER_WATER_LOW = 0; //multiplier for blood regen rate (BLOOD_REGEN_MULTIPLIER_WATER_LOW ?)
89  static const float BLOOD_REGEN_MODIFIER_WATER_MID = 0.5;
90  static const float BLOOD_REGEN_MODIFIER_WATER_HIGH = 1;
91 
92  static const float SALINE_BLOOD_REGEN_PER_SEC = 3; //boost for blood regen per second, independent on BLOOD_REGEN_SPEED
93  static const float SALINE_LIQUID_AMOUNT = 500;
94  static const float SALINE_WATER_REGEN_PER_SEC = 2.1;
95 
96  static const float HEMOLYTIC_BLOOD_DRAIN_PER_SEC = 7; //hemolytic reaction blood drain per second
97  static const float HEMOLYTIC_BLOODLOSS_AMOUNT = 500;
98  static const float HEMOLYTIC_RISK_SHOCK_THRESHOLD = 75; // amount of blood from transfusion causing player character going into shock
99  static const float HEMOLYTIC_REACTION_THRESHOLD = 175; // amount of blood from transfusion triggering hemolytic reaction
100 
103 
106 
107  static const float WATER_LOSS_HC_PLUS_LOW = 0;
108  static const float WATER_LOSS_HC_PLUS_HIGH = 0.4;
109 
110  static const float ENERGY_LOSS_HC_MINUS_LOW = 0.2;
111  static const float ENERGY_LOSS_HC_MINUS_HIGH = 0.45;
112 
113  static const float HEALTH_LOSS_HC_PLUS_LOW = 0.05;
114  static const float HEALTH_LOSS_HC_PLUS_HIGH = 0.15;
115 
116  static const float HEALTH_LOSS_HC_MINUS_LOW = 0.05;
117  static const float HEALTH_LOSS_HC_MINUS_HIGH = 0.15;
118 
119  static const float WATER_LOSS_FEVER = 0.2;
120 
121  //--------------------------------------------------------
122  static const float LOW_ENERGY_DAMAGE_PER_SEC = 0.125; //health loss per second while low on energy
123  static const float LOW_WATER_DAMAGE_PER_SEC = 0.2; //health loss per second while low on water
124 
125  static const float HEALTH_REGEN_MIN = 0.005; //health regen rate at BLOOD_THRESHOLD_FATAL blood level
126  static const float HEALTH_REGEN_MAX = 0.03; //health regen rate at MAXIMUM blood level
127 
128  static const float LEG_HEALTH_REGEN = 1; //Leg health regen when leg is NOT BROKEN
129  static const float LEG_HEALTH_REGEN_BROKEN = 0.18; //Leg health regen when BROKEN OR SPLINTED
130 
131  static const float UNCONSCIOUS_THRESHOLD = 25.0; //player goes unconscious when we get under this threshold
132  static const float CONSCIOUS_THRESHOLD = 50.0; //player regains consciousness when he gets above this threshold
133 
134  static const float SHOCK_REFILL_CONSCIOUS_SPEED = 5; //shock refill speed when the player is conscious
135  static const float SHOCK_REFILl_UNCONSCIOUS_SPEED = 1; //shock refill speed when the player is unconscious
136 
137  static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH = 3000; // we start dealing shock damage over time when we get at this value or lower
138  static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW = 2500; // the closer we get to this value, the higher the over time shock damage we deal
139 
140  static const float SHOCK_DAMAGE_HIGH = 5.5; // shock damage per second when the blood is near the upper blood threshold
141  static const float SHOCK_DAMAGE_LOW = 6.25; // shock damage per second when the blood is near the lower blood threshold
142 
143  static const float SHOCK_REFILL_COOLDOWN_AFTER_HIT = 15; // duration of cooldown during which shock regeneration is paused
144 
145  static const float UNCONSCIOUS_IN_WATER_TIME_LIMIT_TO_DEATH = 20; // how long can player survive while unconscious when in water in secs
146  //----------------------------------------------------------
147  static const float BLEEDING_SOURCE_BLOODLOSS_PER_SEC = -24; // amount of blood loss per second from one bleeding source
148  static const float BLEEDING_SOURCE_FLOW_MODIFIER_MEDIUM = 0.6; // modifier of the bloodloss given by BLEEDING_SOURCE_BLOODLOSS_PER_SEC, multiplying these two will give the resulting bloodloss
149  static const float BLEEDING_SOURCE_FLOW_MODIFIER_LOW = 0.1; // modifier of the bloodloss given by BLEEDING_SOURCE_BLOODLOSS_PER_SEC, multiplying these two will give the resulting bloodloss
150  static const int BLEEDING_SOURCE_DURATION_NORMAL = 300; // in seconds, how long will bleeding source exist until disapearing
151  static const float BLEEDING_LOW_PRESSURE_BLOOD = 4000.0; // from which blood level we start lowering BLEEDING_SOURCE_BLOODLOSS_PER_SEC
152  static const float BLEEDING_LOW_PRESSURE_MIN_MOD = 0.3; // minimal value for low pressure bleeding (lowest possible multiplier of BLEEDING_SOURCE_BLOODLOSS_PER_SEC)
153 
154 
155  //----------------------------------------------------------
156  static const float BREATH_VAPOUR_THRESHOLD_HIGH = -5.0; //missing comment
157  static const float BREATH_VAPOUR_THRESHOLD_LOW = 7.0; //missing comment
158  //----------------------------------------------------------
159  static const float IMMUNITY_THRESHOLD_LEVEL_HIGH = 0.95;
160  static const float IMMUNITY_THRESHOLD_LEVEL_NORMAL = 0.65;
161  static const float IMMUNITY_THRESHOLD_LEVEL_LOW = 0.35;
162  static const float IMMUNITY_THRESHOLD_LEVEL_CRITICAL = 0.15;
163  //----------------------------------------------------------
164  static const float VITAMINS_LIFETIME_SECS = 300;
165 
166  static const float CHANCE_TO_BLEED_SLIDING_LADDER_PER_SEC = 0.3; // probability of bleeding source occuring while sliding down ladder without gloves given as percentage per second(0.5 means 50% chance bleeding source will happen every second while sliding down)
167  static const float GLOVES_DAMAGE_SLIDING_LADDER_PER_SEC = -3;// how much damage the gloves receive while sliding down the ladder (per sec)
168 
169  //----------------------------------------------------------
170  // BADGE THRESHOLDS
171  //----------------------------------------------------------
172  static const int BT_STOMACH_VOLUME_LVL3 = 1500;
173  static const int BT_STOMACH_VOLUME_LVL2 = 750;
174  static const int BT_STOMACH_VOLUME_LVL1 = 1;
175 
177  static const int LAST_UA_MSG_LIFETIME = 30;
178 
180  const int VOMIT_THRESHOLD = 2000;
181 
182  static const float CORPSE_THRESHOLD_MEDIUM = 0.7; //0.7
183  static const float CORPSE_THRESHOLD_DECAYED = 0.3; //0.3
184 
185  static const int CORPSE_STATE_FRESH = 0;
186  static const int CORPSE_STATE_MEDIUM = 1;
187  static const int CORPSE_STATE_DECAYED = 2;
188  //----------------------------------------------------------
189  static const float CAMERA_THRESHOLD_PITCH = -70.0;
190 
191  //----------------------------------------------------------
192  // BROKEN LEGS SHOCK
193  //----------------------------------------------------------
194  static const float BROKEN_LEGS_INITIAL_SHOCK = 20; //Inflicted shock on modifier start
195  static const float BROKEN_LEGS_LOW_SHOCK_WALK = 4; //Inflicted shock on modifier update with almost healthy legs
196  static const float BROKEN_LEGS_MID_SHOCK_WALK = 6; //Inflicted shock on modifier update with mid health legs
197  static const float BROKEN_LEGS_HIGH_SHOCK_WALK = 8; //Inflicted shock on modifier update with low health legs
198  static const float BROKEN_LEGS_SHOCK_SWIM = 2; //Inflicted shock on modifier update when swimming
199  static const float BROKEN_LEGS_LIGHT_MELEE_SHOCK = 10; //Inflicted shock per light weapon swing
200  static const float BROKEN_LEGS_HEAVY_MELEE_SHOCK = 25; //Inflicted shock per heavy weapon swing
201  static const float BROKEN_LEGS_LOW_HEALTH_THRESHOLD = 25; //Amount of health BELOW which legs have "low health"
202  static const float BROKEN_LEGS_HIGH_HEALTH_THRESHOLD = 75; //Amount of health OVER which legs have "low health"
203  //static const int BROKEN_LEGS_FALL_STEP_COUNT = 10; //Number of steps before falling over
204  static const float BROKEN_LEGS_STAND_SHOCK = 0; //Shock dealt when standing with broken legs
205  static const float BROKEN_LEGS_ROLL_SHOCK = 10; //Shock dealt when rolling with broken legs
206 }
PlayerConstants::WATER_LOSS_HC_PLUS_LOW
static const float WATER_LOSS_HC_PLUS_LOW
Definition: PlayerConstants.c:107
PlayerConstants::LAST_UA_MSG_LIFETIME
static const int LAST_UA_MSG_LIFETIME
Definition: PlayerConstants.c:177
PlayerConstants::SL_HEALTH_NORMAL
static const float SL_HEALTH_NORMAL
Definition: PlayerConstants.c:16
PlayerConstants::SHOCK_DAMAGE_HIGH
static const float SHOCK_DAMAGE_HIGH
Definition: PlayerConstants.c:140
PlayerConstants::HEALTH_REGEN_MAX
static const float HEALTH_REGEN_MAX
Definition: PlayerConstants.c:126
PlayerConstants::IMMUNITY_THRESHOLD_LEVEL_LOW
static const float IMMUNITY_THRESHOLD_LEVEL_LOW
Definition: PlayerConstants.c:161
PlayerConstants::SL_TOXICITY_NORMAL
static const float SL_TOXICITY_NORMAL
Definition: PlayerConstants.c:21
PlayerConstants::BROKEN_LEGS_HEAVY_MELEE_SHOCK
static const float BROKEN_LEGS_HEAVY_MELEE_SHOCK
Definition: PlayerConstants.c:200
PlayerConstants::SALINE_LIQUID_AMOUNT
static const float SALINE_LIQUID_AMOUNT
Definition: PlayerConstants.c:93
PlayerConstants::BROKEN_LEGS_MID_SHOCK_WALK
static const float BROKEN_LEGS_MID_SHOCK_WALK
Definition: PlayerConstants.c:196
PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_CRITICAL
static const float THRESHOLD_HEAT_COMFORT_PLUS_CRITICAL
Definition: PlayerConstants.c:71
PlayerConstants::SL_WATER_HIGH
static const float SL_WATER_HIGH
Definition: PlayerConstants.c:37
PlayerConstants::UNCONSCIOUS_THRESHOLD
static const float UNCONSCIOUS_THRESHOLD
Definition: PlayerConstants.c:131
PlayerConstants::BREATH_VAPOUR_THRESHOLD_HIGH
static const float BREATH_VAPOUR_THRESHOLD_HIGH
Definition: PlayerConstants.c:156
PlayerConstants::SHOES_MOVEMENT_DAMAGE_PER_STEP
static const float SHOES_MOVEMENT_DAMAGE_PER_STEP
Definition: PlayerConstants.c:9
PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH
static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH
Definition: PlayerConstants.c:137
PlayerConstants::STOMACH_ENERGY_TRANSFERED_PER_SEC
static const float STOMACH_ENERGY_TRANSFERED_PER_SEC
Definition: PlayerConstants.c:48
PlayerConstants::NORMAL_TEMPERATURE_L
static const float NORMAL_TEMPERATURE_L
Definition: PlayerConstants.c:43
PlayerConstants::BLEEDING_SOURCE_FLOW_MODIFIER_MEDIUM
static const float BLEEDING_SOURCE_FLOW_MODIFIER_MEDIUM
Definition: PlayerConstants.c:148
PlayerConstants::BLOOD_REGEN_MODIFIER_WATER_HIGH
static const float BLOOD_REGEN_MODIFIER_WATER_HIGH
Definition: PlayerConstants.c:90
PlayerConstants::BLEEDING_SOURCE_DURATION_NORMAL
static const int BLEEDING_SOURCE_DURATION_NORMAL
Definition: PlayerConstants.c:150
PlayerConstants::CORPSE_THRESHOLD_DECAYED
static const float CORPSE_THRESHOLD_DECAYED
Definition: PlayerConstants.c:183
PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_WARNING
static const float THRESHOLD_HEAT_COMFORT_PLUS_WARNING
Definition: PlayerConstants.c:70
PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_WARNING
static const float THRESHOLD_HEAT_COMFORT_MINUS_WARNING
Definition: PlayerConstants.c:74
PlayerConstants::SL_WATER_LOW
static const float SL_WATER_LOW
Definition: PlayerConstants.c:35
PlayerConstants::HEMOLYTIC_RISK_SHOCK_THRESHOLD
static const float HEMOLYTIC_RISK_SHOCK_THRESHOLD
Definition: PlayerConstants.c:98
PlayerConstants::HEMOLYTIC_REACTION_THRESHOLD
static const float HEMOLYTIC_REACTION_THRESHOLD
Definition: PlayerConstants.c:99
PlayerConstants::METABOLIC_SPEED_WATER_BASAL
static const float METABOLIC_SPEED_WATER_BASAL
Definition: PlayerConstants.c:63
PlayerConstants::CORPSE_STATE_FRESH
static const int CORPSE_STATE_FRESH
Definition: PlayerConstants.c:185
PlayerConstants::THRESHOLD_HEAT_COMFORT_PLUS_EMPTY
static const float THRESHOLD_HEAT_COMFORT_PLUS_EMPTY
Definition: PlayerConstants.c:72
PlayerConstants::LEG_HEALTH_REGEN
static const float LEG_HEALTH_REGEN
Definition: PlayerConstants.c:128
PlayerConstants::METABOLIC_SPEED_ENERGY_JOG
static const float METABOLIC_SPEED_ENERGY_JOG
Definition: PlayerConstants.c:60
PlayerConstants::BROKEN_LEGS_STAND_SHOCK
static const float BROKEN_LEGS_STAND_SHOCK
Definition: PlayerConstants.c:204
PlayerConstants::BROKEN_LEGS_SHOCK_SWIM
static const float BROKEN_LEGS_SHOCK_SWIM
Definition: PlayerConstants.c:198
PlayerConstants::HEALTH_REGEN_MIN
static const float HEALTH_REGEN_MIN
Definition: PlayerConstants.c:125
PlayerConstants::LEG_HEALTH_REGEN_BROKEN
static const float LEG_HEALTH_REGEN_BROKEN
Definition: PlayerConstants.c:129
PlayerConstants::SL_HEALTH_HIGH
static const float SL_HEALTH_HIGH
Definition: PlayerConstants.c:17
PlayerConstants::LOW_WATER_DAMAGE_PER_SEC
static const float LOW_WATER_DAMAGE_PER_SEC
Definition: PlayerConstants.c:123
PlayerConstants::BROKEN_LEGS_LOW_SHOCK_WALK
static const float BROKEN_LEGS_LOW_SHOCK_WALK
Definition: PlayerConstants.c:195
PlayerConstants::SL_HEALTH_LOW
static const float SL_HEALTH_LOW
Definition: PlayerConstants.c:15
PlayerConstants::BT_STOMACH_VOLUME_LVL2
static const int BT_STOMACH_VOLUME_LVL2
Definition: PlayerConstants.c:173
PlayerConstants::CORPSE_STATE_DECAYED
static const int CORPSE_STATE_DECAYED
Definition: PlayerConstants.c:187
PlayerConstants::SL_TOXICITY_HIGH
static const float SL_TOXICITY_HIGH
Definition: PlayerConstants.c:22
PlayerConstants::BLOOD_REGEN_MODIFIER_WATER_LOW
static const float BLOOD_REGEN_MODIFIER_WATER_LOW
Definition: PlayerConstants.c:88
PlayerConstants::SHOCK_DAMAGE_LOW
static const float SHOCK_DAMAGE_LOW
Definition: PlayerConstants.c:141
PlayerConstants::METABOLIC_SPEED_WATER_SPRINT
static const float METABOLIC_SPEED_WATER_SPRINT
Definition: PlayerConstants.c:67
PlayerConstants::SALINE_WATER_REGEN_PER_SEC
static const float SALINE_WATER_REGEN_PER_SEC
Definition: PlayerConstants.c:94
PlayerConstants::SL_ENERGY_HIGH
static const float SL_ENERGY_HIGH
Definition: PlayerConstants.c:32
PlayerConstants::BROKEN_LEGS_HIGH_SHOCK_WALK
static const float BROKEN_LEGS_HIGH_SHOCK_WALK
Definition: PlayerConstants.c:197
PlayerConstants::BLEEDING_SOURCE_FLOW_MODIFIER_LOW
static const float BLEEDING_SOURCE_FLOW_MODIFIER_LOW
Definition: PlayerConstants.c:149
PlayerConstants::BROKEN_LEGS_ROLL_SHOCK
static const float BROKEN_LEGS_ROLL_SHOCK
Definition: PlayerConstants.c:205
PlayerConstants::METABOLIC_SPEED_WATER_JOG
static const float METABOLIC_SPEED_WATER_JOG
Definition: PlayerConstants.c:66
PlayerConstants::IMMUNITY_THRESHOLD_LEVEL_NORMAL
static const float IMMUNITY_THRESHOLD_LEVEL_NORMAL
Definition: PlayerConstants.c:160
PlayerConstants::CHANCE_TO_BLEED_SLIDING_LADDER_PER_SEC
static const float CHANCE_TO_BLEED_SLIDING_LADDER_PER_SEC
Definition: PlayerConstants.c:166
PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_EMPTY
static const float THRESHOLD_HEAT_COMFORT_MINUS_EMPTY
Definition: PlayerConstants.c:76
PlayerConstants::HIGH_TEMPERATURE_L
static const float HIGH_TEMPERATURE_L
Definition: PlayerConstants.c:45
PlayerConstants::BT_STOMACH_VOLUME_LVL1
static const int BT_STOMACH_VOLUME_LVL1
Definition: PlayerConstants.c:174
PlayerConstants::ENERGY_LOSS_HC_MINUS_HIGH
static const float ENERGY_LOSS_HC_MINUS_HIGH
Definition: PlayerConstants.c:111
PlayerConstants::BLEEDING_SOURCE_BLOODLOSS_PER_SEC
static const float BLEEDING_SOURCE_BLOODLOSS_PER_SEC
Definition: PlayerConstants.c:147
PlayerConstants
Definition: PlayerConstants.c:1
PlayerConstants::STOMACH_SOLID_EMPTIED_PER_SEC
static const float STOMACH_SOLID_EMPTIED_PER_SEC
Definition: PlayerConstants.c:50
PlayerConstants::BLEEDING_LOW_PRESSURE_MIN_MOD
static const float BLEEDING_LOW_PRESSURE_MIN_MOD
Definition: PlayerConstants.c:152
PlayerConstants::LOW_ENERGY_THRESHOLD
static const float LOW_ENERGY_THRESHOLD
Definition: PlayerConstants.c:54
PlayerConstants::SL_BLOOD_CRITICAL
static const float SL_BLOOD_CRITICAL
Definition: PlayerConstants.c:24
PlayerConstants::SL_WATER_NORMAL
static const float SL_WATER_NORMAL
Definition: PlayerConstants.c:36
PlayerConstants::STOMACH_WATER_TRANSFERED_PER_SEC
static const float STOMACH_WATER_TRANSFERED_PER_SEC
Definition: PlayerConstants.c:49
PlayerConstants::ENERGY_LOSS_THRESHOLD_HC_MINUS_LOW
static const float ENERGY_LOSS_THRESHOLD_HC_MINUS_LOW
Definition: PlayerConstants.c:104
PlayerConstants::BLOOD_REGEN_RATE_PER_SEC
static const float BLOOD_REGEN_RATE_PER_SEC
Definition: PlayerConstants.c:81
PlayerConstants::SL_TOXICITY_LOW
static const float SL_TOXICITY_LOW
Definition: PlayerConstants.c:20
PlayerConstants::WATER_LOSS_HC_PLUS_HIGH
static const float WATER_LOSS_HC_PLUS_HIGH
Definition: PlayerConstants.c:108
PlayerConstants::GLOVES_DAMAGE_SLIDING_LADDER_PER_SEC
static const float GLOVES_DAMAGE_SLIDING_LADDER_PER_SEC
Definition: PlayerConstants.c:167
PlayerConstants::SHOCK_REFILL_COOLDOWN_AFTER_HIT
static const float SHOCK_REFILL_COOLDOWN_AFTER_HIT
Definition: PlayerConstants.c:143
PlayerConstants::NORMAL_TEMPERATURE_H
static const float NORMAL_TEMPERATURE_H
Definition: PlayerConstants.c:44
PlayerConstants::CORPSE_THRESHOLD_MEDIUM
static const float CORPSE_THRESHOLD_MEDIUM
Definition: PlayerConstants.c:182
PlayerConstants::SL_ENERGY_CRITICAL
static const float SL_ENERGY_CRITICAL
Definition: PlayerConstants.c:29
PlayerConstants::VOMIT_THRESHOLD
const int VOMIT_THRESHOLD
last User Action message lifetime [s] (default: 30s)
Definition: PlayerConstants.c:180
PlayerConstants::HEALTH_LOSS_HC_PLUS_HIGH
static const float HEALTH_LOSS_HC_PLUS_HIGH
Definition: PlayerConstants.c:114
PlayerConstants::HEMOLYTIC_BLOOD_DRAIN_PER_SEC
static const float HEMOLYTIC_BLOOD_DRAIN_PER_SEC
Definition: PlayerConstants.c:96
PlayerConstants::SHOCK_REFILl_UNCONSCIOUS_SPEED
static const float SHOCK_REFILl_UNCONSCIOUS_SPEED
Definition: PlayerConstants.c:135
PlayerConstants::HIGH_TEMPERATURE_H
static const float HIGH_TEMPERATURE_H
Definition: PlayerConstants.c:46
PlayerConstants::BREATH_VAPOUR_THRESHOLD_LOW
static const float BREATH_VAPOUR_THRESHOLD_LOW
Definition: PlayerConstants.c:157
PlayerConstants::DAMAGE_ZONE_BLOOD_REGEN_MODIFIER
static const float DAMAGE_ZONE_BLOOD_REGEN_MODIFIER
Definition: PlayerConstants.c:82
PlayerConstants::HEALTH_LOSS_HC_MINUS_LOW
static const float HEALTH_LOSS_HC_MINUS_LOW
Definition: PlayerConstants.c:116
PlayerConstants::BT_STOMACH_VOLUME_LVL3
static const int BT_STOMACH_VOLUME_LVL3
Definition: PlayerConstants.c:172
PlayerConstants::CAMERA_THRESHOLD_PITCH
static const float CAMERA_THRESHOLD_PITCH
Definition: PlayerConstants.c:189
PlayerConstants::IMMUNITY_THRESHOLD_LEVEL_HIGH
static const float IMMUNITY_THRESHOLD_LEVEL_HIGH
Definition: PlayerConstants.c:159
PlayerConstants::CONSCIOUS_THRESHOLD
static const float CONSCIOUS_THRESHOLD
Definition: PlayerConstants.c:132
PlayerConstants::BAREFOOT_MOVEMENT_BLEED_MODIFIER
static const float BAREFOOT_MOVEMENT_BLEED_MODIFIER
Definition: PlayerConstants.c:8
PlayerConstants::CORPSE_STATE_MEDIUM
static const int CORPSE_STATE_MEDIUM
Definition: PlayerConstants.c:186
PlayerConstants::BLOOD_REGEN_MODIFIER_ENERGY_LOW
static const float BLOOD_REGEN_MODIFIER_ENERGY_LOW
Definition: PlayerConstants.c:84
PlayerConstants::SL_BLOOD_HIGH
static const float SL_BLOOD_HIGH
Definition: PlayerConstants.c:27
PlayerConstants::LOW_ENERGY_DAMAGE_PER_SEC
static const float LOW_ENERGY_DAMAGE_PER_SEC
Definition: PlayerConstants.c:122
PlayerConstants::SL_ENERGY_LOW
static const float SL_ENERGY_LOW
Definition: PlayerConstants.c:30
PlayerConstants::HEMOLYTIC_BLOODLOSS_AMOUNT
static const float HEMOLYTIC_BLOODLOSS_AMOUNT
Definition: PlayerConstants.c:97
PlayerConstants::LOW_WATER_THRESHOLD
static const float LOW_WATER_THRESHOLD
Definition: PlayerConstants.c:52
PlayerConstants::BROKEN_LEGS_HIGH_HEALTH_THRESHOLD
static const float BROKEN_LEGS_HIGH_HEALTH_THRESHOLD
Definition: PlayerConstants.c:202
PlayerConstants::ENERGY_LOSS_HC_MINUS_LOW
static const float ENERGY_LOSS_HC_MINUS_LOW
Definition: PlayerConstants.c:110
PlayerConstants::THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL
static const float THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL
Definition: PlayerConstants.c:75
PlayerConstants::METABOLIC_SPEED_ENERGY_SPRINT
static const float METABOLIC_SPEED_ENERGY_SPRINT
Definition: PlayerConstants.c:61
PlayerConstants::BROKEN_LEGS_INITIAL_SHOCK
static const float BROKEN_LEGS_INITIAL_SHOCK
Definition: PlayerConstants.c:194
PlayerConstants::SL_WATER_CRITICAL
static const float SL_WATER_CRITICAL
Definition: PlayerConstants.c:34
PlayerConstants::BROKEN_LEGS_LIGHT_MELEE_SHOCK
static const float BROKEN_LEGS_LIGHT_MELEE_SHOCK
Definition: PlayerConstants.c:199
PlayerConstants::BLEEDING_LOW_PRESSURE_BLOOD
static const float BLEEDING_LOW_PRESSURE_BLOOD
Definition: PlayerConstants.c:151
PlayerConstants::WATER_LOSS_FEVER
static const float WATER_LOSS_FEVER
Definition: PlayerConstants.c:119
PlayerConstants::BLOOD_REGEN_MODIFIER_WATER_MID
static const float BLOOD_REGEN_MODIFIER_WATER_MID
Definition: PlayerConstants.c:89
PlayerConstants::SL_TOXICITY_CRITICAL
static const float SL_TOXICITY_CRITICAL
Definition: PlayerConstants.c:19
PlayerConstants::SALINE_BLOOD_REGEN_PER_SEC
static const float SALINE_BLOOD_REGEN_PER_SEC
Definition: PlayerConstants.c:92
PlayerConstants::HEALTH_LOSS_HC_PLUS_LOW
static const float HEALTH_LOSS_HC_PLUS_LOW
Definition: PlayerConstants.c:113
PlayerConstants::BLOOD_THRESHOLD_FATAL
static const int BLOOD_THRESHOLD_FATAL
Definition: PlayerConstants.c:79
PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW
static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW
Definition: PlayerConstants.c:138
PlayerConstants::WEAPON_RAISE_BLEND_DELAY
static const float WEAPON_RAISE_BLEND_DELAY
Definition: PlayerConstants.c:3
PlayerConstants::VITAMINS_LIFETIME_SECS
static const float VITAMINS_LIFETIME_SECS
Definition: PlayerConstants.c:164
PlayerConstants::BLOOD_REGEN_MODIFIER_ENERGY_MID
static const float BLOOD_REGEN_MODIFIER_ENERGY_MID
Definition: PlayerConstants.c:85
PlayerConstants::METABOLIC_SPEED_WATER_WALK
static const float METABOLIC_SPEED_WATER_WALK
Definition: PlayerConstants.c:65
PlayerConstants::ENERGY_LOSS_THRESHOLD_HC_MINUS_HIGH
static const float ENERGY_LOSS_THRESHOLD_HC_MINUS_HIGH
Definition: PlayerConstants.c:105
PlayerConstants::UNCONSCIOUS_IN_WATER_TIME_LIMIT_TO_DEATH
static const float UNCONSCIOUS_IN_WATER_TIME_LIMIT_TO_DEATH
Definition: PlayerConstants.c:145
PlayerConstants::SL_HEALTH_CRITICAL
static const float SL_HEALTH_CRITICAL
Definition: PlayerConstants.c:14
PlayerConstants::METABOLIC_SPEED_ENERGY_BASAL
static const float METABOLIC_SPEED_ENERGY_BASAL
Definition: PlayerConstants.c:57
PlayerConstants::IMMUNITY_THRESHOLD_LEVEL_CRITICAL
static const float IMMUNITY_THRESHOLD_LEVEL_CRITICAL
Definition: PlayerConstants.c:162
PlayerConstants::MELEE2_MOVEMENT_BLEND_DELAY
static const float MELEE2_MOVEMENT_BLEND_DELAY
Definition: PlayerConstants.c:4
PlayerConstants::SL_BLOOD_NORMAL
static const float SL_BLOOD_NORMAL
Definition: PlayerConstants.c:26
PlayerConstants::WATER_LOSS_THRESHOLD_HC_PLUS_LOW
static const float WATER_LOSS_THRESHOLD_HC_PLUS_LOW
Definition: PlayerConstants.c:101
PlayerConstants::CHECK_EVERY_N_STEP
static const int CHECK_EVERY_N_STEP
Definition: PlayerConstants.c:10
PlayerConstants::SL_ENERGY_NORMAL
static const float SL_ENERGY_NORMAL
Definition: PlayerConstants.c:31
PlayerConstants::BLOOD_REGEN_MODIFIER_ENERGY_HIGH
static const float BLOOD_REGEN_MODIFIER_ENERGY_HIGH
Definition: PlayerConstants.c:86
PlayerConstants::SL_BLOOD_LOW
static const float SL_BLOOD_LOW
Definition: PlayerConstants.c:25
PlayerConstants::WATER_LOSS_THRESHOLD_HC_PLUS_HIGH
static const float WATER_LOSS_THRESHOLD_HC_PLUS_HIGH
Definition: PlayerConstants.c:102
PlayerConstants::SHOCK_REFILL_CONSCIOUS_SPEED
static const float SHOCK_REFILL_CONSCIOUS_SPEED
Definition: PlayerConstants.c:134
PlayerConstants::BROKEN_LEGS_LOW_HEALTH_THRESHOLD
static const float BROKEN_LEGS_LOW_HEALTH_THRESHOLD
Definition: PlayerConstants.c:201
PlayerConstants::HEALTH_LOSS_HC_MINUS_HIGH
static const float HEALTH_LOSS_HC_MINUS_HIGH
Definition: PlayerConstants.c:117
PlayerConstants::METABOLIC_SPEED_ENERGY_WALK
static const float METABOLIC_SPEED_ENERGY_WALK
Definition: PlayerConstants.c:59