3 static const float WEAPON_RAISE_BLEND_DELAY = 0.2;
4 static const float MELEE2_MOVEMENT_BLEND_DELAY = 0.35;
5 static const float HEAVY_HIT_THRESHOLD = 0.5;
7 static const float FULL_SPRINT_DELAY_DEFAULT = 0.5;
8 static const float FULL_SPRINT_DELAY_FROM_CROUCH = 1.0;
9 static const float FULL_SPRINT_DELAY_FROM_PRONE = 2.0;
14 static const float BAREFOOT_MOVEMENT_BLEED_MODIFIER = 0.1;
15 static const float SHOES_MOVEMENT_DAMAGE_PER_STEP = 0.035;
16 static const int CHECK_EVERY_N_STEP = 10;
20 static const float SL_HEALTH_CRITICAL = 15;
21 static const float SL_HEALTH_LOW = 30;
22 static const float SL_HEALTH_NORMAL = 50;
23 static const float SL_HEALTH_HIGH = 80;
25 static const float SL_TOXICITY_CRITICAL = 20;
26 static const float SL_TOXICITY_LOW = 40;
27 static const float SL_TOXICITY_NORMAL = 60;
28 static const float SL_TOXICITY_HIGH = 80;
30 static const float SL_BLOOD_CRITICAL = 3000;
31 static const float SL_BLOOD_LOW = 3500;
32 static const float SL_BLOOD_NORMAL = 4000;
33 static const float SL_BLOOD_HIGH = 4500;
35 static const float SL_ENERGY_CRITICAL = 0;
36 static const float SL_ENERGY_LOW = 300;
37 static const float SL_ENERGY_NORMAL = 800;
38 static const float SL_ENERGY_HIGH = 3500;
39 static const float SL_ENERGY_MAX = 5000;
41 static const float SL_WATER_CRITICAL = 0;
42 static const float SL_WATER_LOW = 300;
43 static const float SL_WATER_NORMAL = 800;
44 static const float SL_WATER_HIGH = 3500;
45 static const float SL_WATER_MAX = 5000;
51 static const float NORMAL_TEMPERATURE_L = 36.0;
52 static const float NORMAL_TEMPERATURE_H = 36.5;
53 static const float HIGH_TEMPERATURE_L = 38.5;
54 static const float HIGH_TEMPERATURE_H = 39.0;
56 static const float DIGESTION_SPEED = 1.7;
57 static const float CONSUMPTION_MULTIPLIER_BASE = 1;
58 static const float STOMACH_ENERGY_TRANSFERED_PER_SEC = 3;
59 static const float STOMACH_WATER_TRANSFERED_PER_SEC = 6;
60 static const float STOMACH_SOLID_EMPTIED_PER_SEC = 7;
62 static const float LOW_WATER_THRESHOLD = SL_WATER_LOW;
64 static const float LOW_ENERGY_THRESHOLD = SL_ENERGY_LOW;
67 static const float METABOLIC_SPEED_ENERGY_BASAL = 0.01;
69 static const float METABOLIC_SPEED_ENERGY_WALK = 0.1;
70 static const float METABOLIC_SPEED_ENERGY_JOG = 0.3;
71 static const float METABOLIC_SPEED_ENERGY_SPRINT = 0.6;
73 static const float METABOLIC_SPEED_WATER_BASAL = 0.01;
75 static const float METABOLIC_SPEED_WATER_WALK = 0.1;
76 static const float METABOLIC_SPEED_WATER_JOG = 0.3;
77 static const float METABOLIC_SPEED_WATER_SPRINT = 0.6;
80 static const float THRESHOLD_HEAT_COMFORT_PLUS_WARNING = 0.2;
81 static const float THRESHOLD_HEAT_COMFORT_PLUS_CRITICAL = 0.5;
82 static const float THRESHOLD_HEAT_COMFORT_PLUS_EMPTY = 0.9;
84 static const float THRESHOLD_HEAT_COMFORT_MINUS_WARNING = -0.3;
85 static const float THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL = -0.5;
86 static const float THRESHOLD_HEAT_COMFORT_MINUS_EMPTY = -0.9;
89 static const int BLOOD_THRESHOLD_FATAL = 2500;
91 static const float BLOOD_REGEN_RATE_PER_SEC = 0.3;
92 static const float DAMAGE_ZONE_BLOOD_REGEN_MODIFIER = 0.7;
94 static const float BLOOD_REGEN_MODIFIER_ENERGY_LOW = 0;
95 static const float BLOOD_REGEN_MODIFIER_ENERGY_MID = 0.5;
96 static const float BLOOD_REGEN_MODIFIER_ENERGY_HIGH = 1;
98 static const float BLOOD_REGEN_MODIFIER_WATER_LOW = 0;
99 static const float BLOOD_REGEN_MODIFIER_WATER_MID = 0.5;
100 static const float BLOOD_REGEN_MODIFIER_WATER_HIGH = 1;
102 static const float SALINE_BLOOD_REGEN_PER_SEC = 3;
103 static const float SALINE_LIQUID_AMOUNT = 500;
104 static const float SALINE_WATER_REGEN_PER_SEC = 2.1;
106 static const float HEMOLYTIC_BLOOD_DRAIN_PER_SEC = 7;
107 static const float HEMOLYTIC_BLOODLOSS_AMOUNT = 500;
108 static const float HEMOLYTIC_RISK_SHOCK_THRESHOLD = 75;
109 static const float HEMOLYTIC_REACTION_THRESHOLD = 175;
111 static const float WATER_LOSS_THRESHOLD_HC_PLUS_LOW = THRESHOLD_HEAT_COMFORT_PLUS_WARNING;
112 static const float WATER_LOSS_THRESHOLD_HC_PLUS_HIGH = THRESHOLD_HEAT_COMFORT_PLUS_CRITICAL;
114 static const float ENERGY_LOSS_THRESHOLD_HC_MINUS_LOW = THRESHOLD_HEAT_COMFORT_MINUS_WARNING;
115 static const float ENERGY_LOSS_THRESHOLD_HC_MINUS_HIGH = THRESHOLD_HEAT_COMFORT_MINUS_CRITICAL;
117 static const float WATER_LOSS_HC_PLUS_LOW = 0;
118 static const float WATER_LOSS_HC_PLUS_HIGH = 0.4;
120 static const float ENERGY_LOSS_HC_MINUS_LOW = 0.2;
121 static const float ENERGY_LOSS_HC_MINUS_HIGH = 0.45;
123 static const float HEALTH_LOSS_HC_PLUS_LOW = 0.05;
124 static const float HEALTH_LOSS_HC_PLUS_HIGH = 0.15;
126 static const float HEALTH_LOSS_HC_MINUS_LOW = 0.05;
127 static const float HEALTH_LOSS_HC_MINUS_HIGH = 0.15;
129 static const float WATER_LOSS_FEVER = 0.2;
132 static const float LOW_ENERGY_DAMAGE_PER_SEC = 0.05;
133 static const float LOW_WATER_DAMAGE_PER_SEC = 0.05;
135 static const float HEALTH_REGEN_MIN = 0.005;
136 static const float HEALTH_REGEN_MAX = 0.03;
138 static const float LEG_HEALTH_REGEN = 1;
139 static const float LEG_HEALTH_REGEN_BROKEN = 0.18;
141 static const float UNCONSCIOUS_THRESHOLD = 25.0;
142 static const float CONSCIOUS_THRESHOLD = 50.0;
144 static const float SHOCK_REFILL_CONSCIOUS_SPEED = 5;
145 static const float SHOCK_REFILl_UNCONSCIOUS_SPEED = 1;
147 static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH = 3000;
148 static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW = 2500;
150 static const float SHOCK_DAMAGE_HIGH = 5.5;
151 static const float SHOCK_DAMAGE_LOW = 6.25;
153 static const float SHOCK_REFILL_COOLDOWN_AFTER_HIT = 1000;
155 static const float UNCONSCIOUS_IN_WATER_TIME_LIMIT_TO_DEATH = 20;
157 static const float BLEEDING_SOURCE_BLOODLOSS_PER_SEC = -20;
158 static const float BLEEDING_SOURCE_FLOW_MODIFIER_MEDIUM = 0.6;
159 static const float BLEEDING_SOURCE_FLOW_MODIFIER_LOW = 0.1;
160 static const float BLEEDING_SOURCE_FLOW_MODIFIER_HIGH = 1;
161 static const int BLEEDING_SOURCE_DURATION_NORMAL = 300;
162 static const float BLEEDING_LOW_PRESSURE_BLOOD = 4000.0;
163 static const float BLEEDING_LOW_PRESSURE_MIN_MOD = 0.3;
165 static const float BLEEDING_SOURCE_CLOSE_INFECTION_CHANCE = 0.40;
166 static const float BLEEDING_SOURCE_BURN_MODIFIER = 0.65;
170 static const float BREATH_VAPOUR_THRESHOLD_HIGH = -5.0;
171 static const float BREATH_VAPOUR_THRESHOLD_LOW = 7.0;
173 static const float IMMUNITY_THRESHOLD_LEVEL_HIGH = 0.95;
174 static const float IMMUNITY_THRESHOLD_LEVEL_NORMAL = 0.65;
175 static const float IMMUNITY_THRESHOLD_LEVEL_LOW = 0.35;
176 static const float IMMUNITY_THRESHOLD_LEVEL_CRITICAL = 0.15;
178 static const float VITAMINS_LIFETIME_SECS = 300;
180 static const float CHANCE_TO_BLEED_SLIDING_LADDER_PER_SEC = 0.3;
181 static const float GLOVES_DAMAGE_SLIDING_LADDER_PER_SEC = -3;
186 static const int BT_STOMACH_VOLUME_LVL3 = 1000;
187 static const int BT_STOMACH_VOLUME_LVL2 = 750;
188 static const int BT_STOMACH_VOLUME_LVL1 = 1;
191 static const int LAST_UA_MSG_LIFETIME = 30;
194 const int VOMIT_THRESHOLD = 2000;
196 static const float CORPSE_THRESHOLD_MEDIUM = 0.7;
197 static const float CORPSE_THRESHOLD_DECAYED = 0.3;
199 static const int CORPSE_STATE_FRESH = 0;
200 static const int CORPSE_STATE_MEDIUM = 1;
201 static const int CORPSE_STATE_DECAYED = 2;
203 static const float CAMERA_THRESHOLD_PITCH = -70.0;
208 static const float BROKEN_LEGS_INITIAL_SHOCK = 20;
209 static const float BROKEN_LEGS_LOW_SHOCK_WALK = 4;
210 static const float BROKEN_LEGS_MID_SHOCK_WALK = 6;
211 static const float BROKEN_LEGS_HIGH_SHOCK_WALK = 8;
212 static const float BROKEN_LEGS_SHOCK_SWIM = 2;
213 static const float BROKEN_LEGS_LIGHT_MELEE_SHOCK = 10;
214 static const float BROKEN_LEGS_HEAVY_MELEE_SHOCK = 25;
215 static const float BROKEN_LEGS_LOW_HEALTH_THRESHOLD = 25;
216 static const float BROKEN_LEGS_HIGH_HEALTH_THRESHOLD = 75;
218 static const float BROKEN_LEGS_STAND_SHOCK = 0;
219 static const float BROKEN_LEGS_ROLL_SHOCK = 10;
220 static const float BROKEN_CROUCH_MODIFIER = 0.5;
225 static const float AI_NOISE_ROLL = 2;
226 static const float AI_NOISE_SPRINT = 1;
227 static const float AI_NOISE_RUN = 0.8;
228 static const float AI_NOISE_CROUCH_RUN = 0.6;
229 static const float AI_NOISE_WALK = 0.4;
230 static const float AI_NOISE_IDLE = 0;
231 static const float AI_NOISE_SHOES_BOOTS = 0.85;
232 static const float AI_NOISE_SHOES_SNEAKERS = 0.6;
233 static const float AI_NOISE_SHOES_NONE = 0.45;
234 static const float AI_VISIBILITY_RUN = 1;
235 static const float AI_VISIBILITY_WALK = 0.66;
236 static const float AI_VISIBILITY_IDLE = 0.3;
237 static const float AI_VISIBILITY_STANDING = 1.5;
238 static const float AI_VISIBILITY_CROUCH = 0.6;
239 static const float AI_VISIBILITY_PRONE = 0.15;
245 static const float DROWNING_DEFAULT_THRESHOLD = 0.25;
246 static const float DROWNING_SWIMMING_THRESHOLD = 0.4;
247 static const float DROWNING_UNCONSCIOUS_THRESHOLD = 0.1;
248 static const int DROWNING_BUBBLE_FREQUENCY_MAX = 4000;
249 static const int DROWNING_BUBBLE_FREQUENCY_MIN = 1000;