DayZ 1.24
Loading...
Searching...
No Matches
constants.c
Go to the documentation of this file.
1
16
17enum VoiceLevel
18{
21 Shout
22}
23
24enum VoiceEffectType
25{
28 Obstruction
29}
30
31enum ObjIntersect
32{
37 None
38}
39
40enum RoadSurfaceDetection
41{
50}
51
53enum EffectWidgetsTypes
54{
55 ROOT = -2, //used when handling the m_Root widget directly
56 NONE = 0,
57
60
63
66
72
74}
75
76enum EffectWidgetHandles
77{
79}
80
81enum EffectWidgetSuspends
82{
85}
86
87class HitDirectionConstants
88{
89 const int ROTATION_DEFAULT = 0; //0 == random
90 const float DURATION_BASE = 2.0;
91 const float BREAKPOINT_BASE = 0.2;
92 const float DISTANCE_ADJUST = 0.0;
93 const float SCATTER = 10.0;
94 const int COLOR_DEFAULT = 0xffbb0a1e;
95}
96
103
104enum HitIndicatorType
105{
108 ARROW
109}
110
111enum EInputRestrictors
112{
114 MAP
115}
116
121
127const int IDC_OK = 1;
128const int IDC_CANCEL = 2;
129const int IDC_RESTART = 5;
130
133
134const int IDC_MAIN_OPTIONS = 102;
135const int IDC_MAIN_MULTIPLAYER = 105;
136const int IDC_MAIN_QUIT = 106;
137const int IDC_MAIN_CONTINUE = 114;
138const int IDC_MAIN_PLAY = 142;
139const int IDC_MAIN_CHARACTER = 143;
140const int IDC_MAIN_ONLINE = 124;
141const int IDC_MULTI_REFRESH = 123;
142const int IDC_MULTI_INVITE = 126;
143
144const int IDC_BOOK_VIEWER_PREV = 102;
145const int IDC_BOOK_VIEWER_NEXT = 103;
146
148const int IDC_INT_RETRY = 105; //default respawn
149const int IDC_INT_RETRY_CUSTOM = 106; //custom respawn
150const int IDC_INT_EXIT = 107;
151//const int IDC_INT_RESPAWN = 108; //respawn dialogue
160const int MENU_ANY = 1;
161const int MENU_NONE = 2;
162const int MENU_LOC_ADD = 3;
163const int MENU_UNKNOWN = 4;
164const int MENU_CHARACTER = 5;
165const int MENU_CHAT = 6;
166const int MENU_EARLYACCESS = 7;
167const int MENU_SCENE_EDITOR = 8;
168const int MENU_INGAME = 9;
169const int MENU_INSPECT = 10;
170const int MENU_INVENTORY = 11;
171const int MENU_LOADING = 12;
172const int MENU_MAIN = 13;
173const int MENU_OPTIONS = 14;
174const int MENU_STARTUP = 15;
175const int MENU_SCRIPTCONSOLE = 16;
176const int MENU_CHAT_INPUT = 17;
179const int MENU_CONTROLS_PRESET = 20;
180const int MENU_NOTE = 21;
181const int MENU_MAP = 22;
182const int MENU_BOOK = 23;
183const int MENU_HELP_SCREEN = 24;
184const int MENU_GESTURES = 25;
185const int MENU_LOGOUT = 26;
186const int MENU_TITLE_SCREEN = 27;
187const int MENU_XBOX_CONTROLS = 28;
188const int MENU_RADIAL_QUICKBAR = 29;
189const int MENU_LOGIN_QUEUE = 30;
190const int MENU_SERVER_BROWSER = 31;
191const int MENU_CAMERA_TOOLS = 32;
192const int MENU_VIDEO = 33;
193const int MENU_KEYBINDINGS = 34;
194const int MENU_TUTORIAL = 35;
195const int MENU_CREDITS = 36;
196const int MENU_INVITE_TIMER = 37;
197const int MENU_LOGIN_TIME = 38;
201const int MENU_CONNECT_ERROR = 42;
204const int MENU_MISSION_LOADER = 45;
205
206
208
209const string CFG_VEHICLESPATH = "CfgVehicles";
210const string CFG_WEAPONSPATH = "CfgWeapons";
211const string CFG_MAGAZINESPATH = "CfgMagazines";
212const string CFG_AMMO = "CfgAmmo";
213const string CFG_WORLDS = "CfgWorlds";
214const string CFG_SURFACES = "CfgSurfaces";
215const string CFG_RECIPESPATH = "CfgRecipes";
216const string CFG_SOUND_SHADERS = "CfgSoundShaders";
217const string CFG_SOUND_SETS = "CfgSoundSets";
218const string CFG_NONAI_VEHICLES = "CfgNonAIVehicles";
219const string CFG_SOUND_TABLES = "CfgSoundTables";
220
228const int CFG_ARRAY_ITEMS_MAX = 64;
229const string CFG_FILE_FIXED_PROFILE = "Scripts/profile_fixed.cfg";
230const string CFG_FILE_USER_PROFILE = "$profile:profile.cfg";
231const string CFG_FILE_DEBUG_PROFILE = "debugProfile.cfg";
232const string CFG_FILE_EMOTES_PROFILE = "$profile:emotesProfile.cfg";
233const string CFG_FILE_SEARCH_HISTORY = "$profile:search_history.history";
234const string CFG_FILE_ENS_HISTORY = "script_enscript.history";
235const string CFG_FILE_ENS_HISTORY_SERVER = "script_enscriptServer.history";
236const string CFG_FILE_SCRIPT_LOG = "$profile:script.log";
237const string CFG_FILE_SCRIPT_LOG_EXT = "$profile:scriptExt.log";
238const string CFG_FILE_ADDITIONAL_INFO = "$profile:serverInfo.cfg";
239const string CFG_FILE_DEBUG_DIR = "$profile:ScriptConsole/";
240const string CFG_FILE_MISSION_LIST = "$profile:missionlist.json";
248/*
249 const int RPC_SYNC_ITEM_VAR = 1;
250 const int RPC_SYNC_STAT = 2;
251 const int RPC_WRITE_NOTE = 3;
252 const int RPC_SYNC_DISPLAY_STATUS = 4;
253 const int RPC_RECIPE_SEND = 7;
254 const int RPC_ON_SET_CAPTIVE = 8;
255 const int RPC_SYNC_SCENE_OBJECT = 9;
256 const int RPC_READ_A_BOOK = 10;
257 const int RPC_USER_ACTION_PROMPT_SYNCH = 11;
258 const int RPC_USER_ACTION_MESSAGE = 12;
259 const int RPC_ITEM_DIAG = 13;
260 const int RPC_ITEM_DIAG_CLOSE = 14;
261 const int RPC_SET_OBJECT_POSITION = 15;
262 const int RPC_USER_ACTION_MESSAGES = 16;
263 const int RPC_ITEM_SPLIT = 17;
264 const int RPC_ITEM_COMBINE = 18;
265 const int RPC_PLAYER_STATES_ON = 19;
266 const int RPC_PLAYER_STATES_OFF = 20;
267 const int RPC_PLACING_DEBUG = 21;
268 const int RPC_PLACING_START = 22;
269 const int RPC_PLACING_STOP = 23;
270 const int RPC_STAMINA = 25;
271 const int RPC_DAMAGE_VALUE_SYNC = 26;
272 const int RPC_USER_ACTION_PROMPT_PROGRESS = 27;
273 const int RPC_PLACING_UPDATE = 28;
274 const int RPC_USER_ACTION_PROMPT_CLEAN = 29;
275 const int RPC_DISABLE_MODIFIERS = 30;
276 const int RPC_KILL_PLAYER = 31;
277 const int RPC_ENABLE_INVINCIBILITY = 32;
278 const int RPC_ITEM_DEBUG_ACTIONS = 33;
279 const int RPC_LOG_PLAYER_STATS = 34;
280 const int RPC_EM_IS_PLUGGED = 35;
281 const int RPC_EM_IS_UNPLUGGED = 36;
282*/
291/*
292 const int DEV_RPC_SPAWN_GROUND_ITEM = 101;
293 const int DEV_RPC_CLEAR_INV = 102;
294 const int DEV_RPC_TELEPORT = 103;
295 const int DEV_RPC_SET_PLAYER_DIRECTION = 104;
296 const int DEV_RPC_SEND_SERVER_LOG = 105;
297 const int DEV_RPC_STATS_DATA = 107;
298 const int DEV_RPC_MODS_DATA = 108;
299 const int DEV_RPC_AGENTS_DATA = 109;
300 const int DEV_RPC_CREATE_SCENE_OBJECT = 110;
301 const int DEV_RPC_SCENE_LOAD = 111;
302 const int DEV_RPC_SPAWN_INV_ITEM = 112;
303 const int DEV_RPC_SPAWN_ATTACHMENT_ITEM = 113;
304 const int DEV_RPC_SPAWN_ITEM_ON_CURSOR = 114;
305*/
313/*
314 const int DEV_STATS_UPDATE = 1;
315 const int DEV_MODS_UPDATE = 2;
316 const int DEV_AGENTS_UPDATE = 3;
317*/
325const int NUM_OF_CHANNELS = 100;
326const int MSG_TEST_CHANNEL = 0;
328const int MSG_STATS_SYNCED = 2;
329const int MSG_NOTIFIERS_TICK = 3;
337const int MIN_TICK_MDFR_POOL_MAIN = 10000;//in ms
341const int MIN_TICK_NOTIFIERS = 1000;
349{
350 const int ID_EMOTE_GREETING = 1;
351 const int ID_EMOTE_SOS = 2; //FB
352 const int ID_EMOTE_HEART = 3;
353 const int ID_EMOTE_TAUNT = 4;
354 const int ID_EMOTE_LYINGDOWN = 5;
355 const int ID_EMOTE_TAUNTKISS = 6;
356 const int ID_EMOTE_FACEPALM = 7;
357 const int ID_EMOTE_TAUNTELBOW = 8;
358 const int ID_EMOTE_THUMB = 9;
359 const int ID_EMOTE_THROAT = 10;
360 const int ID_EMOTE_SUICIDE = 11; //FB
361 const int ID_EMOTE_DANCE = 12;
362 const int ID_EMOTE_CAMPFIRE = 13;
363 const int ID_EMOTE_SITA = 14;
364 const int ID_EMOTE_SITB = 15;
365 const int ID_EMOTE_THUMBDOWN = 16;
366
367 const int ID_EMOTE_DABBING = 32;
368 const int ID_EMOTE_TIMEOUT = 35;
369 const int ID_EMOTE_CLAP = 39;
370 const int ID_EMOTE_POINT = 40;
371 const int ID_EMOTE_SILENT = 43;
372 const int ID_EMOTE_SALUTE = 44;
373 const int ID_EMOTE_RPS = 45;
374 const int ID_EMOTE_WATCHING = 46;
375 const int ID_EMOTE_HOLD = 47;
376 const int ID_EMOTE_LISTENING = 48;
377 const int ID_EMOTE_POINTSELF = 49;
378 const int ID_EMOTE_LOOKATME = 50;
379 const int ID_EMOTE_TAUNTTHINK = 51;
380 const int ID_EMOTE_MOVE = 52;
381 const int ID_EMOTE_DOWN = 53;
382 const int ID_EMOTE_COME = 54;
383 const int ID_EMOTE_RPS_R = 55;
384 const int ID_EMOTE_RPS_P = 56;
385 const int ID_EMOTE_RPS_S = 57;
386 const int ID_EMOTE_NOD = 58;
387 const int ID_EMOTE_SHAKE = 59;
388 const int ID_EMOTE_SHRUG = 60;
389 const int ID_EMOTE_SURRENDER = 61;
390 const int ID_EMOTE_VOMIT = 62;
391 const int ID_EMOTE_DEBUG = 1000;
392
398 const int EMOTE_SUICIDE_DEATH = 1;
399 const int EMOTE_SUICIDE_BLEED = 2;
402}
403
409const float ITEMSGEN_TICK = 10; //in seconds
410const float ITEMSGEN_MIN_DISTANCE_TO_REPOSITION = 80; //in meters
411const float ITEMSGEN_SPAWN_DISTANCE = 60; //in meters
412const float ITEMSGEN_MAX_SPREAD = 15; //in meters
423const int SAT_CRAFTING = 2;
424const int SAT_DEBUG_ACTION = 3;
432const int UA_NONE = 0;
433const int UA_FAILED = 1;
434const int UA_PROCESSING = 2;
435const int UA_REPEAT = 3;
436const int UA_FINISHED = 4;
437const int UA_CANCEL = 5;
438const int UA_INTERRUPT = 6;
439const int UA_START = 7;
440const int UA_STARTT = 8;
441const int UA_CANCELT = 9;
442const int UA_FINISHEDT = 10;
443const int UA_ANIM_EVENT = 11;
444const int UA_INITIALIZE = 12;
445const int UA_CHECK_CON = 13;
446const int UA_AM_PENDING = 14;
447const int UA_AM_ACCEPTED = 15;
448const int UA_AM_REJECTED = 16;
449const int UA_IN_START = 17;
450const int UA_IN_END = 18;
451const int UA_SPAWN_DUST_A = 19;
452const int UA_SPAWN_DUST_B = 20;
453const int UA_IN_CRAFTING = 21;
454
455const int UA_ERROR = 24;
456
457const int UA_SETEND_2 = 32;
466const int AGT_INV_IN = 1;
467const int AGT_INV_OUT = 2;
469const int AGT_TRANSFER_COPY = 4;
470const int AGT_UACTION_TOUCH = 5;
471const int AGT_WATER_POND = 6;
475const int AGT_ITEM_TO_FLESH = 10;
477
478const int DEF_BIOLOGICAL = 1;
479const int DEF_CHEMICAL = 2;
482const int QUANTITY_HIDDEN = 0;
483const int QUANTITY_COUNT = 1;
484const int QUANTITY_PROGRESS = 2;
485
486
492// BEWARE ALL INDIVIDUAL LIQUID TYPES ARE ALSO REPRESENTED CONFIG-SIDE AND MUST MATCH(all changes must be made on both sides)
493// NOTE ANY NUMBER HERE MUST BE A 0 OR ANY POWER OF TWO, THERE IS A MAXIMUM OF 32 INDIVIDUAL LIQUID TYPES POSSIBLE
494const int LIQUID_BLOOD_0_P = 1;
495const int LIQUID_BLOOD_0_N = 2;
496const int LIQUID_BLOOD_A_P = 4;
497const int LIQUID_BLOOD_A_N = 8;
498const int LIQUID_BLOOD_B_P = 16;
499const int LIQUID_BLOOD_B_N = 32;
500const int LIQUID_BLOOD_AB_P = 64;
501const int LIQUID_BLOOD_AB_N = 128;
502const int LIQUID_SALINE = 256;
503
504const int LIQUID_WATER = 512;
505const int LIQUID_RIVERWATER = 1024;
506const int LIQUID_VODKA = 2048;
507const int LIQUID_BEER = 4096;
508const int LIQUID_GASOLINE = 8192;
509const int LIQUID_DIESEL = 16384;
510const int LIQUID_DISINFECTANT = 32768;
511const int LIQUID_SOLUTION = 65536;
512
513// these are groups which do not have to correspond with configs
514const int GROUP_LIQUID_BLOOD = 255;
515const int GROUP_LIQUID_ALL = -1;//-1 = all bits to 1
523const float LIQUID_THROUGHPUT_TINY = 0.1;
529const float LIQUID_THROUGHPUT_WELL = 15.0;
530const float LIQUID_THROUGHPUT_BARREL = 100.0;
531
539const string SYSTEM_CHAT_MSG = "system_chat_msg";
540const string GLOBAL_CHAT_MSG = "global_chat_msg";
541const string DIRECT_CHAT_MSG = "direct_chat_msg";
542const string VEHICLE_CHAT_MSG = "vehicle_chat_msg";
543const string RADIO_CHAT_MSG = "radio_chat_msg";
544const string GAME_CHAT_MSG = "game_chat_msg";
545const string ADMIN_CHAT_MSG = "admin_chat_msg";
546const string PLAYER_CHAT_MSG = "player_chat_msg";
554const string SHOW_QUICKBAR = "show_quickbar";
555const string SHOW_HUD = "show_hud";
556const string HUD_BRIGHTNESS = "hud_brightness";
557const string ENABLE_BLEEDINGINDICATION = "enable_bleedingindication";
558const string SHOW_CONNECTIVITYINFO = "show_connectivityinfo";
559//const string SHOW_HUD_AUTOHIDE = "hud_autohide";
560const string SHOW_CROSSHAIR = "show_crosshair";
561const string SHOW_SERVERINFO = "show_serverinfo";
569const string LOCK_SPRINT = "lock_sprint";
570const string LOCK_FREELOOK = "lock_freelook";
571const string LOCK_ZOOM = "lock_zoom";
579const int VARIABLE_QUANTITY = 1;
580const int VARIABLE_ENERGY = 2;
582const int VARIABLE_WET = 8;
583const int VARIABLE_LIQUIDTYPE = 16;
584const int VARIABLE_ISLIT = 32;
585const int VARIABLE_COLOR = 64;
586const int VARIABLE_CLEANNESS = 128;
589const float CRAFTING_TIME_UNIT_SIZE = 4.0;// time unit size for crafting, this value is multiplied by the length given by a recipe
590
591const float PROJECTED_CURSOR_DISTANCE = 5;//how long is the raycast from the weapon for projected cursor
592
593
599const float MELEE_ITEM_DAMAGE = 1.0;
600
601const int HAIR_SELECTION_COUNT = 45;
605const int INPUT_EXCLUDE_ALL = 0;
609const int INPUT_EXCLUDE_MAP = 4;
610
612{
618 // unit = currently percent (stamina max is 100)
619 const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 4; //in units (how much sprint depletes stamina)
620 const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 1; //in units (how much sprint in crouch depletes stamina)
621 const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 3; //in units (how much sprint in prone depletes stamina)
622 const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 5; //in units (how much fast swimming depletes stamina)
623 const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 8; //in units (how much fast ladder climb depletes stamina)
624
625 const float STAMINA_DRAIN_HOLD_BREATH_START = 0.2; //in units (how much holding breath depletes stamina at the start)
626 const float STAMINA_DRAIN_HOLD_BREATH_END = 1.0; //in units (how much holding breath depletes stamina at the end)
627 const float STAMINA_DRAIN_JUMP = 25; // in units (how much jumping depletes stamina)
628 const float STAMINA_DRAIN_VAULT = 20; // in units (how much jumping depletes stamina)
629 const float STAMINA_DRAIN_CLIMB = 42; // in units (how much jumping depletes stamina)
630 const float STAMINA_DRAIN_MELEE_LIGHT = 5; //in units (how much light melee punch depletes stamina)
631 const float STAMINA_DRAIN_MELEE_HEAVY = 25; //in units (how much heavy melee punch depletes stamina)
632 const float STAMINA_DRAIN_MELEE_EVADE = 8; // in units (how much evade depletes stamina)
633 const float STAMINA_DRAIN_ROLL = 5; // in units (how much roll depletes stamina)
634
635 const float STAMINA_DRAIN_HOLD_BREATH_DURATION = 5.0; //in seconds, time it takes to increase stamina drain from STAMINA_DRAIN_HOLD_BREATH_START to STAMINA_DRAIN_HOLD_BREATH_END
636 const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT = 3; //holding breath exponent
637
638 const int STAMINA_GAIN_JOG_PER_SEC = 2; //in units (how much of stamina units is gained while jogging)
639 const int STAMINA_GAIN_WALK_PER_SEC = 4; //in units (how much of stamina units is gained while walking)
640 const int STAMINA_GAIN_IDLE_PER_SEC = 5; //in units (how much of stamina units is gained while iddling)
641 const int STAMINA_GAIN_SWIM_PER_SEC = 1; //in units (how much of stamina units is gained while slowly swim)
642 const int STAMINA_GAIN_LADDER_PER_SEC = 1; //in units (how much of stamina units is gained while slowly swim)
643 const int STAMINA_GAIN_ROLL_PER_SEC = 0; //in units (how much of stamina units is gained while rolling)
644 const float STAMINA_GAIN_BONUS_CAP = 3.0; //in units (tells how much extra units can be added at best to stamina regain)
645
646 const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 1.75; //in units (by how many units is max stamina bar reduced for each 1 kg of load weight)
647 const float STAMINA_MIN_CAP = 5; //in units (overload won't reduce max stamina bar under this value)
648 const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE = 10; // in units
649 const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN = 0; // in units
650 const float STAMINA_JUMP_THRESHOLD = 25; // in units
651 const float STAMINA_VAULT_THRESHOLD = 20; // in units
652 const float STAMINA_CLIMB_THRESHOLD = 42; // in units
653 const float STAMINA_ROLL_THRESHOLD = 5; // in units
654
655
656 const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY; // in units (how many units we need to make a heavy hit in melee)
657 const float STAMINA_MELEE_EVADE_THRESHOLD = 8; // in units
658 const float STAMINA_REGEN_COOLDOWN_DEPLETION = 0.45; // in secs (how much time we will spend in cooldown before the stamina will starts with regeneration)
661 const float STAMINA_KG_TO_GRAMS = 1000; //for kg to g conversion
662 const float STAMINA_SYNC_RATE = 0.5; //in secs
663 const float STAMINA_MAX = 100;
671 const float ENVIRO_TICK_RATE = 3;
673 const float ENVIRO_TICK_ROOF_RC_CHECK = 10;
674 const float ENVIRO_WET_INCREMENT = 0.01;
675 const float ENVIRO_DRY_INCREMENT = 0.00005;
676 const float ENVIRO_SUN_INCREMENT = 0.002;
677 const float ENVIRO_FIRE_INCREMENT = 23.5;
678 const float ENVIRO_CLOUD_DRY_EFFECT = 0.7;
679 const float ENVIRO_FOG_DRY_EFFECT = 0.9;
680 const float ENVIRO_CLOUDS_TEMP_EFFECT = 0.35;
681 const float ENVIRO_FOG_TEMP_EFFECT = 0.24;
682 const float ENVIRO_WET_PENALTY = 0.5;
683 const float ENVIRO_WET_PASSTHROUGH_COEF = 0.1;
686 const float ENVIRO_DEFAULT_ENTITY_HEAT = 2.5;
688 const float ENVIRO_TEMPERATURE_INSIDE_COEF = 0.085;
692 const float ENVIRO_WIND_EFFECT = 0.25;
693 const float ENVIRO_HIGH_NOON = 12;
694
700 const float ENVIRO_LOW_TEMP_LIMIT = -40;
701 const float ENVIRO_HIGH_TEMP_LIMIT = 50;
702 const float ENVIRO_PLAYER_COMFORT_TEMP = 26;
706 const float ENVIRO_PLAYER_HEATBUFFER_TICK = 0.011;
707
720
722
724
725 // --
728
736 const int CARS_FLUIDS_TICK = 1;
737 const int CARS_LEAK_TICK_MIN = 0.02;
738 const int CARS_LEAK_TICK_MAX = 0.05;
739 const int CARS_LEAK_THRESHOLD = 0.5;
747 const float CARS_CONTACT_DMG_THRESHOLD = 750.0;
748 const float CARS_CONTACT_DMG_MIN = 150.0;
749 const float CARS_CONTACT_DMG_KILLCREW = 1200.0;
757 const int STATE_RUINED = 4;
758 const int STATE_BADLY_DAMAGED = 3;
759 const int STATE_DAMAGED = 2;
760 const int STATE_WORN = 1;
761 const int STATE_PRISTINE = 0;
769 const float DAMAGE_PRISTINE_VALUE = 1.0;
770 const float DAMAGE_WORN_VALUE = 0.7;
771 const float DAMAGE_DAMAGED_VALUE = 0.5;
772 const float DAMAGE_BADLY_DAMAGED_VALUE = 0.3;
773 const float DAMAGE_RUINED_VALUE = 0.0;
781 const float STATE_DRENCHED = 0.8;
782 const float STATE_SOAKING_WET = 0.5;
783 const float STATE_WET = 0.25;
784 const float STATE_DAMP = 0.05;
785 const float STATE_DRY = 0;
793 const float WEIGHT_DRENCHED = 2.0;
794 const float WEIGHT_SOAKING_WET = 1.66;
795 const float WEIGHT_WET = 1.33;
796 const float WEIGHT_DAMP = 1.0;
797 const float WEIGHT_DRY = 1.0;
800 const int OPTICS_STATE_DAY = 0; //default state for most optics
802 //const int OPTICS_STATE_OTHER = 2;
803
804 const float WETNESS_RATE_WETTING_INSIDE = 0.0020;
805 const float WETNESS_RATE_WETTING_LIQUID = 0.015;
806 const float WETNESS_RATE_DRYING_INSIDE = -0.0016;
807 const float WETNESS_RATE_DRYING_GROUND = -0.0008;
808
811 const float TEMPERATURE_RATE_COOLING_PLAYER = -0.35; // celsius per second
812
813 const float HEATISO_THRESHOLD_BAD = 0.2;
814 const float HEATISO_THRESHOLD_LOW = 0.4;
815 const float HEATISO_THRESHOLD_MEDIUM = 0.6;
816 const float HEATISO_THRESHOLD_HIGH = 0.8;
817
823 const int BAREL_LIME_PER_PELT = 100; //grams per pelt
824 const int BAREL_BLEACH_PER_CLOTH = 50; //ml per item
825 const float BAREL_LIME_PER_PLANT = 50; //grams per gram
833
834 const float DZPLAYER_CAMERA_FOV_EYEZOOM = 0.3926; // 45deg
835 const float DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW = 0.610865; // 70deg
836 const float DZPLAYER_CAMERA_FOV_IRONSIGHTS = 0.5236; // 60deg
837
838 const string DEFAULT_CHARACTER_NAME = "#str_cfgvehicles_survivor0"; //experiment, used to be "Survivor"
839
841
842 const float CLEAN_UNRESTRAIN_DAMAGE = 10;
843
847 const int CAMERA_SHAKE_ARTILLERY_DISTANCE2 = 40000; // Square distance used for distance check
848
850 const float MINING_WOOD_FAST = 2.0;
851 const float MINING_WOOD_MEDIUM = 2.0;
852 const float MINING_WOOD_SLOW = 3.0;
853
858
862
866
867 const float ROOF_CHECK_RAYCAST_DIST = 20.0;
868
871 const float LOADING_SCREEN_HINT_INTERVAL = 14;//the time that elapses before a hint is switched during loading in screens that support hint switching
872 const float LOADING_SCREEN_HINT_INTERVAL_MIN = 8;//the minimum time that needs to remain on the count-down counter for a hint to still be changed based on the 'LOADING_SCREEN_HINT_INTERVAL'(prevents last moment hint update where the player has no time to read it)
873
874
879 const int REFRESHER_MAX_DURATION_DEFAULT = 3600 * 24 * 40; //max duration of refresher in seconds - 40 days (+ 5 days final refresh )
880 const int REFRESHER_FREQUENCY_DEFAULT = 3600 * 24 * 5; //frequency of lifetime refreshes/refresher time decreases - 5 days
881 const float REFRESHER_RADIUS = 60; //meters
882 // lifetime of refresher itself is in db (3600 * 24 * 7 = 604800 )
883
888 const float DECAY_FOOD_RAW_MEAT = 21600;
889 const float DECAY_FOOD_RAW_CORPSE = 32400;
890 const float DECAY_FOOD_RAW_FRVG = 43200;
891 const float DECAY_FOOD_BOILED_MEAT = 259200;
892 const float DECAY_FOOD_BOILED_FRVG = 172800;
893 const float DECAY_FOOD_BAKED_MEAT = 345600;
894 const float DECAY_FOOD_BAKED_FRVG = 259200;
895 const float DECAY_FOOD_DRIED_MEAT = 691200;
896 const float DECAY_FOOD_CAN_OPEN = 172800;
899 const float DECAY_RATE_ON_PLAYER = 2.5;
900
901 const int RESPAWN_MODE_CUSTOM = 0;
902 const int RESPAWN_MODE_RANDOM = 1;
903
908 const int INVENTORY_ENTITY_DROP_OVERLAP_DEPTH = 2; // How deep should it go looking for a free spot to drop an entity
909
910 //----------------------------------------------------------
911 // AI
912 //----------------------------------------------------------
913
914 const float AI_ATTACKSPEED = 1.5;
915 const float AI_MAX_BLOCKABLE_ANGLE = 60; // The angle under which an infected must be relative to player to be blockable
916 const float AI_CONTAMINATION_DMG_PER_SEC = 3; // The amount of damage AI agents take per contaminated area damage event
917
918 //----------------------------------------------------------
919 // MELEE
920 //----------------------------------------------------------
921
922 const float PVP_MAX_BLOCKABLE_ANGLE = 60; // The angle under which a Player must be relative to player to be blockable
923}
VIRTUAL_HUD_UPDATE_INTERVAL
how often virtual hud checks if there is a difference since last sync
const int AGT_UACTION_CONSUME
Definition constants.c:468
const int AGT_ITEM_TO_FLESH
Definition constants.c:475
const int AGT_UACTION_TOUCH
Definition constants.c:470
const int DEF_BIOLOGICAL
Definition constants.c:478
const int DEF_CHEMICAL
Definition constants.c:479
const int AGT_AIRBOURNE_BIOLOGICAL
Definition constants.c:472
const int AGT_TRANSFER_COPY
Definition constants.c:469
const int AGT_WATER_POND
Definition constants.c:471
const int AGT_INV_OUT
Definition constants.c:467
const int AGT_UACTION_TO_PLAYER
Definition constants.c:473
const int AGT_AIRBOURNE_CHEMICAL
Definition constants.c:476
const int AGT_UACTION_TO_ITEM
Definition constants.c:474
const int AGT_INV_IN
Definition constants.c:466
const int BAREL_BLEACH_PER_CLOTH
Definition constants.c:824
const int BAREL_LIME_PER_PELT
Definition constants.c:823
const float BAREL_LIME_PER_PLANT
Definition constants.c:825
const int CFG_ARRAY_ITEMS_MAX
Definition constants.c:228
const string CFG_FILE_DEBUG_PROFILE
Definition constants.c:231
const string CFG_FILE_SEARCH_HISTORY
Definition constants.c:233
const string CFG_FILE_MISSION_LIST
Definition constants.c:240
const string CFG_FILE_ADDITIONAL_INFO
Definition constants.c:238
const string CFG_FILE_FIXED_PROFILE
Definition constants.c:229
const string CFG_FILE_SCRIPT_LOG_EXT
Definition constants.c:237
const string CFG_FILE_DEBUG_DIR
Definition constants.c:239
const string CFG_FILE_EMOTES_PROFILE
Definition constants.c:232
const string CFG_FILE_USER_PROFILE
Definition constants.c:230
const string CFG_FILE_ENS_HISTORY_SERVER
Definition constants.c:235
const string CFG_FILE_SCRIPT_LOG
Definition constants.c:236
const string CFG_FILE_ENS_HISTORY
Definition constants.c:234
@ None
Definition EnWorld.c:73
const float CARS_CONTACT_DMG_THRESHOLD
Definition constants.c:747
const float CARS_CONTACT_DMG_MIN
Definition constants.c:748
const float CARS_CONTACT_DMG_KILLCREW
Definition constants.c:749
const int CARS_LEAK_TICK_MIN
Definition constants.c:737
const int CARS_LEAK_THRESHOLD
Definition constants.c:739
const int CARS_LEAK_TICK_MAX
Definition constants.c:738
const int CARS_FLUIDS_TICK
Definition constants.c:736
const string GAME_CHAT_MSG
Definition constants.c:544
const string VEHICLE_CHAT_MSG
Definition constants.c:542
const string SYSTEM_CHAT_MSG
Definition constants.c:539
const string GLOBAL_CHAT_MSG
Definition constants.c:540
const string RADIO_CHAT_MSG
Definition constants.c:543
const string PLAYER_CHAT_MSG
Definition constants.c:546
const string DIRECT_CHAT_MSG
Definition constants.c:541
const string ADMIN_CHAT_MSG
Definition constants.c:545
enum ChatChannelType Whisper
VoiceLevelWhisper.
enum ChatChannelType PUMPKIN_OCCLUDER
enum ChatChannelType MASK_BREATH
enum ChatChannelType HELMET2_OCCLUDER
const float BREAKPOINT_BASE
Definition constants.c:91
enum ChatChannelType UNDER
< ObjIntersectNone: No Geometry
enum ChatChannelType Extortion
VoiceEffectExtortion.
HitDirectionModes
Definition constants.c:98
enum ChatChannelType FLASHBANG
enum ChatChannelType Talk
VoiceLevelTalk.
enum ChatChannelType HELMET_OCCLUDER
enum ChatChannelType Mumbling
< VoiceLevelShout
enum ChatChannelType MASK_OCCLUDER
enum ChatChannelType EYEPATCH_OCCLUDER
enum ChatChannelType IFire
ObjIntersectIFire: (Indirect) Fire Geometry.
enum ChatChannelType MOTO_OCCLUDER
const int COLOR_DEFAULT
Definition constants.c:94
enum ChatChannelType NONE
enum ChatChannelType ROTATION_DEFAULT
enum ChatChannelType LEGACY
Legacy version, UNDER but without proxy support.
enum ChatChannelType ABOVE
Find nearest surface above given point.
enum ChatChannelType BLEEDING_LAYER
enum ChatChannelType NVG_OCCLUDER
enum ChatChannelType ROOT
UserID of a parent widget usually matches this value, unless overriden in the 'InitWidgetSet' method.
enum ChatChannelType CLOSEST
Find nearest surface to given point.
enum ChatChannelType MOTO_BREATH
const float DURATION_BASE
Definition constants.c:90
enum HitDirectionModes SPLASH
enum ChatChannelType View
ObjIntersectView: View Geometry.
const float SCATTER
Definition constants.c:93
enum HitDirectionModes INVENTORY
enum ChatChannelType Fire
< VoiceEffectObstruction
enum ChatChannelType BURLAPSACK
enum ChatChannelType HELMET_BREATH
const float DISTANCE_ADJUST
Definition constants.c:92
ChatChannelType
Definition constants.c:7
enum ChatChannelType UNCON
enum ChatChannelType COVER_FLASHBANG
enum HitDirectionModes SPIKE
enum ChatChannelType Geom
ObjIntersectGeom: Geometry.
@ DISABLED
Definition constants.c:99
@ DYNAMIC
Definition constants.c:101
@ STATIC
Definition constants.c:100
@ Direct
CCDirect.
Definition constants.c:10
@ PublicAddressSystem
CCPublicAddressSystem.
Definition constants.c:13
@ System
CCSystem.
Definition constants.c:8
@ BattlEye
CCBattlEye.
Definition constants.c:14
@ Megaphone
CCMegaphone.
Definition constants.c:11
@ Admin
CCAdmin.
Definition constants.c:9
@ Transmitter
CCTransmitter.
Definition constants.c:12
const int EMOTE_SUICIDE_SIMULATION_END
Definition constants.c:400
const int EMOTE_SUICIDE_BLEED
Definition constants.c:399
const int EMOTE_SUICIDE_DEATH
Definition constants.c:398
const int ID_EMOTE_LOOKATME
Definition constants.c:378
const int CAMERA_SHAKE_ARTILLERY_DISTANCE
Definition constants.c:846
const float PROJECTILE_CONVERSION_PLAYERS
Definition constants.c:857
const int INPUT_EXCLUDE_MOUSE_RADIAL
Definition constants.c:608
const int ID_EMOTE_TIMEOUT
Definition constants.c:368
const float TEMPERATURE_RATE_COOLING_PLAYER
Definition constants.c:811
const int ID_EMOTE_SHRUG
Definition constants.c:388
const float WETNESS_RATE_WETTING_INSIDE
Definition constants.c:804
const float AI_MAX_BLOCKABLE_ANGLE
Definition constants.c:915
const int ID_EMOTE_VOMIT
Definition constants.c:390
const int QUANTITY_PROGRESS
Definition constants.c:484
const float DECAY_FOOD_BAKED_FRVG
Definition constants.c:894
const int ID_EMOTE_RPS_P
Definition constants.c:384
const float DECAY_FOOD_CAN_OPEN
Definition constants.c:896
const int ID_EMOTE_CAMPFIRE
Definition constants.c:362
const float CLEAN_UNRESTRAIN_DAMAGE
Definition constants.c:842
const int ID_EMOTE_RPS
Definition constants.c:373
const int INVENTORY_ENTITY_DROP_OVERLAP_DEPTH
Definition constants.c:908
const int ID_EMOTE_SURRENDER
Definition constants.c:389
const int INPUT_EXCLUDE_ALL
Definition constants.c:605
const float NL_DAMAGE_CLOSECOMBAT_CONVERSION_PLAYERS
Definition constants.c:865
const int ID_EMOTE_CLAP
Definition constants.c:369
const float PROJECTILE_CONVERSION_ANIMALS
Non-lethal projectile damage QuantityConversions.
Definition constants.c:855
const int ID_EMOTE_FACEPALM
Definition constants.c:356
const int ID_EMOTE_SITA
Definition constants.c:363
const float CRAFTING_TIME_UNIT_SIZE
Definition constants.c:589
const int ID_EMOTE_POINT
Definition constants.c:370
const float WETNESS_RATE_DRYING_INSIDE
Definition constants.c:806
const int HAIR_SELECTION_COUNT
Definition constants.c:601
const int ID_EMOTE_DOWN
Definition constants.c:381
const float TEMPERATURE_RATE_COOLING_INSIDE
Definition constants.c:809
const int ID_EMOTE_THUMB
Definition constants.c:358
const int ID_EMOTE_SILENT
Definition constants.c:371
const float AI_CONTAMINATION_DMG_PER_SEC
Definition constants.c:916
const float PROJECTED_CURSOR_DISTANCE
Definition constants.c:591
const float ITEM_TEMPERATURE_TO_EXPLODE_MIN
misc
Definition constants.c:870
const int ID_EMOTE_MOVE
Definition constants.c:380
const int ID_EMOTE_POINTSELF
Definition constants.c:377
const float DECAY_FOOD_RAW_FRVG
Definition constants.c:890
const float DZPLAYER_CAMERA_FOV_EYEZOOM
FOV (vertical angle/2) in radians. Take care to modify also in "basicDefines.hpp".
Definition constants.c:834
const int DECAY_TIMER_RANDOM_PERCENTAGE
Definition constants.c:898
const int ID_EMOTE_SHAKE
Definition constants.c:387
const float MINING_WOOD_SLOW
Definition constants.c:852
const int DECAY_FOOD_FRVG_DRIED_CHANCE
Definition constants.c:897
const float DECAY_FOOD_RAW_MEAT
Definition constants.c:888
const int ID_EMOTE_LISTENING
Definition constants.c:376
const int ID_EMOTE_TAUNT
Definition constants.c:353
const float DZPLAYER_CAMERA_FOV_IRONSIGHTS
Definition constants.c:836
const float DECAY_FOOD_BAKED_MEAT
Definition constants.c:893
const float DEBUG_QUICK_UNRESTRAIN_TIME
Definition constants.c:598
const int ID_EMOTE_DANCE
Definition constants.c:361
const int ID_EMOTE_WATCHING
Definition constants.c:374
const float HEATISO_THRESHOLD_HIGH
Definition constants.c:816
const float HEATISO_THRESHOLD_MEDIUM
Definition constants.c:815
const int INPUT_EXCLUDE_INVENTORY
Definition constants.c:606
const int ID_EMOTE_RPS_S
Definition constants.c:385
const int ID_EMOTE_GREETING
Definition constants.c:350
const float AI_ATTACKSPEED
Definition constants.c:914
const int INPUT_EXCLUDE_MAP
Definition constants.c:609
const int ID_EMOTE_THROAT
Definition constants.c:359
const float NL_DAMAGE_FIREARM_CONVERSION_ANIMALS
Definition constants.c:859
const float REFRESHER_RADIUS
Definition constants.c:881
const int ID_EMOTE_SUICIDE
Definition constants.c:360
const int ID_EMOTE_DEBUG
Definition constants.c:391
const float TEMPERATURE_RATE_COOLING_GROUND
Definition constants.c:810
const int ID_EMOTE_NOD
Definition constants.c:386
const int INPUT_EXCLUDE_MOUSE_ALL
Definition constants.c:607
const int ID_EMOTE_HEART
Definition constants.c:352
const int QUANTITY_COUNT
Definition constants.c:483
const float PVP_MAX_BLOCKABLE_ANGLE
Definition constants.c:922
const float HEATISO_THRESHOLD_BAD
Definition constants.c:813
const int DEFAULT_CHARACTER_MENU_ID
Definition constants.c:840
const float WETNESS_RATE_WETTING_LIQUID
Definition constants.c:805
const int CAMERA_SHAKE_GRENADE_DISTANCE
Camera shake.
Definition constants.c:845
const int ID_EMOTE_COME
Definition constants.c:382
const float DECAY_FOOD_BOILED_MEAT
Definition constants.c:891
const float NL_DAMAGE_FIREARM_CONVERSION_PLAYERS
Definition constants.c:861
const float NL_DAMAGE_CLOSECOMBAT_CONVERSION_INFECTED
Definition constants.c:864
const int ID_EMOTE_SOS
Definition constants.c:351
const int ID_EMOTE_TAUNTTHINK
Definition constants.c:379
const float MELEE_ITEM_DAMAGE
Definition constants.c:599
const int REFRESHER_MAX_DURATION_DEFAULT
Definition constants.c:879
const int ID_EMOTE_RPS_R
Definition constants.c:383
const float DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW
Definition constants.c:835
const int QUANTITY_HIDDEN
Definition constants.c:482
const float NL_DAMAGE_CLOSECOMBAT_CONVERSION_ANIMALS
Definition constants.c:863
const float NL_DAMAGE_FIREARM_CONVERSION_INFECTED
Definition constants.c:860
const int ID_EMOTE_SALUTE
Definition constants.c:372
const float MINING_WOOD_MEDIUM
Definition constants.c:851
const int ID_EMOTE_HOLD
Definition constants.c:375
const float LOADING_SCREEN_HINT_INTERVAL
Definition constants.c:871
const float DECAY_FOOD_BOILED_FRVG
Definition constants.c:892
const string DEFAULT_CHARACTER_NAME
Definition constants.c:838
const float HEATISO_THRESHOLD_LOW
Definition constants.c:814
const int ID_EMOTE_SITB
Definition constants.c:364
const float PROJECTILE_CONVERSION_INFECTED
Definition constants.c:856
const float DECAY_FOOD_DRIED_MEAT
Definition constants.c:895
const int CAMERA_SHAKE_ARTILLERY_DISTANCE2
Definition constants.c:847
const float WETNESS_RATE_DRYING_GROUND
Definition constants.c:807
const float DECAY_FOOD_RAW_CORPSE
Definition constants.c:889
const float DECAY_RATE_ON_PLAYER
Definition constants.c:899
const int OPTICS_STATE_DAY
Definition constants.c:800
const int RESPAWN_MODE_RANDOM
Definition constants.c:902
const int ID_EMOTE_LYINGDOWN
Definition constants.c:354
const float LOADING_SCREEN_HINT_INTERVAL_MIN
Definition constants.c:872
const float MINING_WOOD_FAST
Wood mining GameConstants, scaled by output. Should not be lower than ~1.5s!
Definition constants.c:850
const float ROOF_CHECK_RAYCAST_DIST
Definition constants.c:867
const int REFRESHER_FREQUENCY_DEFAULT
Definition constants.c:880
const int ID_EMOTE_TAUNTKISS
Definition constants.c:355
const int RESPAWN_MODE_CUSTOM
Definition constants.c:901
const int ID_EMOTE_THUMBDOWN
Definition constants.c:365
const int ID_EMOTE_TAUNTELBOW
Definition constants.c:357
const int ID_EMOTE_DABBING
Definition constants.c:367
const int OPTICS_STATE_NIGHTVISION
Definition constants.c:801
const float ENVIRO_TEMPERATURE_HEIGHT_REDUCTION
heat entity generates if not moving
Definition constants.c:687
const float ENVIRO_ISOLATION_WETFACTOR_SOAKED
Definition constants.c:712
const float ENVIRO_TEMPERATURE_UNDERROOF_COEF
increases temp inside vehicles
Definition constants.c:690
const float ENVIRO_ISOLATION_WETFACTOR_WET
Definition constants.c:711
const float ENVIRO_TEMP_EFFECT_ON_PLAYER
comfort temperature of environment for the player
Definition constants.c:703
const float ENVIRO_HIGH_TEMP_LIMIT
lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)
Definition constants.c:701
const float ENVIRO_FOG_DRY_EFFECT
how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky
Definition constants.c:679
const float ENVIRO_ISOLATION_WETFACTOR_DAMP
Definition constants.c:710
const float ENVIRO_WET_PASSTHROUGH_COEF
at which state of item wetness (0-1) will heat isolation start having negative effect on heat comfort...
Definition constants.c:683
const float ENVIRO_DRY_INCREMENT
amount of wetness added to items wet value each tick if is raining
Definition constants.c:675
const float ENVIRO_WATER_TEMPERATURE_COEF
converts temperature of items to entities heatcomfort gain
Definition constants.c:685
const float ENVIRO_ISOLATION_WETFACTOR_DRENCHED
Definition constants.c:713
const float FIRE_ATTACHMENT_DAMAGE_PER_SECOND
various damage per second constants
Definition constants.c:727
const float ENVIRO_CLOUD_DRY_EFFECT
how much is the generic temp effect increased when player is next to a fireplace
Definition constants.c:678
const float ENVIRO_WET_INCREMENT
in secs. how often we should check if player is under the roof (raycast)
Definition constants.c:674
const float ENVIRO_ISOLATION_HEALTHFACTOR_RUINED
Definition constants.c:719
const float ENVIRO_CLOUDS_TEMP_EFFECT
how many % of ENVIRO_SUN_INCREMENT is reduced by fog
Definition constants.c:680
const float ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED
Definition constants.c:717
const float ENVIRO_HEATISOLATION_VEST_WEIGHT
weight of back for the sum of heat isolation
Definition constants.c:699
const float ENVIRO_ITEM_HEAT_TRANSFER_COEF
how many times slower is wetting/drying items in backpacks
Definition constants.c:684
const float ENVIRO_ISOLATION_HEALTHFACTOR_WORN
Definition constants.c:716
const float ENVIRO_TICKS_TO_WETNESS_CALCULATION
in secs. how often should enviro effet process
Definition constants.c:672
const float ENVIRO_FOG_TEMP_EFFECT
how many % of environment temperature can be lowered by clouds
Definition constants.c:681
const float ENVIRO_ISOLATION_WETFACTOR_DRY
Heat buffer static timer tick (set for 2s enviro tick, 180s to 1.0)
Definition constants.c:709
const float ENVIRO_WET_PENALTY
how many % of environment temperature can be lowered by fog
Definition constants.c:682
const float ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE
impact of item health (state) to the heat isolation
Definition constants.c:715
const float ENVIRO_PLAYER_HEATBUFFER_TICK
How much heat buffer increases per one enviro tick.
Definition constants.c:706
const float ENVIRO_PLAYER_HEATBUFFER_DECREASE
impact of enviro temperature on player (lower value = higher, cannot be zero or below!...
Definition constants.c:704
const float ENVIRO_FIRE_INCREMENT
(not used) amount of wetness subtracted from items wet value each tick if is not raining due to sun
Definition constants.c:677
const float ENVIRO_HEATCOMFORT_BODYPARTS_WEIGHT
how much this head parts (clothing) affects final heatcomfort
Definition constants.c:696
const float ENVIRO_HEATCOMFORT_HEADPARTS_WEIGHT
when is sun highest on sky
Definition constants.c:695
const float ENVIRO_HEATISOLATION_BACK_WEIGHT
how much this feet parts (clothing) affects final heatcomfort
Definition constants.c:698
const float ENVIRO_TICK_ROOF_RC_CHECK
each X (ticks) is processed wetness on items on player
Definition constants.c:673
const float ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF
increases temp in interiors
Definition constants.c:689
const float ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED
Definition constants.c:718
const float ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS
Definition constants.c:721
const float ENVIRO_WIND_EFFECT
windchill effect on base temperature
Definition constants.c:692
const float ENVIRO_TICK_RATE
Definition constants.c:671
const float ENVIRO_PLAYER_COMFORT_TEMP
highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)
Definition constants.c:702
const float ENVIRO_PLAYER_HEATBUFFER_INCREASE
Multiplier of enviro temperature for heat buffer decrease (after its static timer runs out)
Definition constants.c:705
const float LIQUID_RAIN_AMOUNT_COEF_BASE
Definition constants.c:723
const float ENVIRO_TEMPERATURE_INSIDE_COEF
amount of ?C reduced for each 100 meteres of height above water level
Definition constants.c:688
const float ENVIRO_HEATCOMFORT_FEETPARTS_WEIGHT
how much this body parts (clothing) affects final heatcomfort
Definition constants.c:697
const float ENVIRO_DEFAULT_ENTITY_HEAT
how many time is water colder than air
Definition constants.c:686
const float ENVIRO_HIGH_NOON
amount of % wind affect drying/wetting
Definition constants.c:693
const float ENVIRO_TEMPERATURE_WIND_COEF
Definition constants.c:691
const float ENVIRO_LOW_TEMP_LIMIT
weight of vest for the sum of heat isolation
Definition constants.c:700
const float ENVIRO_SUN_INCREMENT
amount of wetness subtracted from items wet value each tick if is not raining due to player heat
Definition constants.c:676
const string SHOW_QUICKBAR
Definition constants.c:554
const string SHOW_SERVERINFO
Definition constants.c:561
const string SHOW_HUD
Definition constants.c:555
const string SHOW_CONNECTIVITYINFO
Definition constants.c:558
const string HUD_BRIGHTNESS
Definition constants.c:556
const string ENABLE_BLEEDINGINDICATION
Definition constants.c:557
const string SHOW_CROSSHAIR
Definition constants.c:560
const float DAMAGE_BADLY_DAMAGED_VALUE
Definition constants.c:772
const float DAMAGE_RUINED_VALUE
Definition constants.c:773
const float DAMAGE_DAMAGED_VALUE
Definition constants.c:771
const float DAMAGE_PRISTINE_VALUE
Definition constants.c:769
const float DAMAGE_WORN_VALUE
Definition constants.c:770
const float ITEMSGEN_MIN_DISTANCE_TO_REPOSITION
Definition constants.c:410
const float ITEMSGEN_SPAWN_DISTANCE
Definition constants.c:411
const float ITEMSGEN_MAX_SPREAD
Definition constants.c:412
const int ITEMSGEN_ITEMS_AMOUNT
Definition constants.c:413
ITEMSGEN_TICK
const int STATE_RUINED
Definition constants.c:757
const int STATE_WORN
Definition constants.c:760
const int STATE_DAMAGED
Definition constants.c:759
const int STATE_BADLY_DAMAGED
Definition constants.c:758
const int STATE_PRISTINE
Definition constants.c:761
const int VARIABLE_LIQUIDTYPE
Definition constants.c:583
const int VARIABLE_ISLIT
Definition constants.c:584
const int VARIABLE_CLEANNESS
Definition constants.c:586
const int VARIABLE_COLOR
Definition constants.c:585
const int VARIABLE_TEMPERATURE
Definition constants.c:581
const int VARIABLE_QUANTITY
Definition constants.c:579
const int VARIABLE_WET
Definition constants.c:582
const int VARIABLE_ENERGY
Definition constants.c:580
const float STATE_DRY
Definition constants.c:785
const float STATE_DAMP
Definition constants.c:784
const float STATE_SOAKING_WET
Definition constants.c:782
const float WEIGHT_DRY
Definition constants.c:797
const float WEIGHT_DAMP
Definition constants.c:796
const float STATE_DRENCHED
Definition constants.c:781
const float WEIGHT_SOAKING_WET
Definition constants.c:794
const float STATE_WET
Definition constants.c:783
const float WEIGHT_WET
Definition constants.c:795
const float WEIGHT_DRENCHED
Definition constants.c:793
const float LIQUID_THROUGHPUT_FUELSTATION
Definition constants.c:528
const float LIQUID_THROUGHPUT_CAR_DEFAULT
Definition constants.c:526
const float LIQUID_THROUGHPUT_DEFAULT
Definition constants.c:524
const float LIQUID_THROUGHPUT_GENERATOR
Definition constants.c:527
const float LIQUID_THROUGHPUT_GASOLINECANISTER
Definition constants.c:525
const float LIQUID_THROUGHPUT_WELL
Definition constants.c:529
const float LIQUID_THROUGHPUT_TINY
Definition constants.c:523
const float LIQUID_THROUGHPUT_BARREL
Definition constants.c:530
const int LIQUID_BLOOD_AB_P
Definition constants.c:500
const int LIQUID_BLOOD_0_P
Definition constants.c:494
const int LIQUID_BLOOD_B_P
Definition constants.c:498
const int LIQUID_BLOOD_A_N
Definition constants.c:497
const int LIQUID_VODKA
Definition constants.c:506
const int GROUP_LIQUID_BLOOD
Definition constants.c:514
const int LIQUID_DISINFECTANT
Definition constants.c:510
const int LIQUID_BEER
Definition constants.c:507
const int LIQUID_GASOLINE
Definition constants.c:508
const int LIQUID_WATER
Definition constants.c:504
const int LIQUID_RIVERWATER
Definition constants.c:505
const int LIQUID_BLOOD_0_N
Definition constants.c:495
const int LIQUID_DIESEL
Definition constants.c:509
const int LIQUID_BLOOD_B_N
Definition constants.c:499
const int GROUP_LIQUID_ALL
Definition constants.c:515
const int LIQUID_BLOOD_A_P
Definition constants.c:496
const int LIQUID_SOLUTION
Definition constants.c:511
const int LIQUID_SALINE
Definition constants.c:502
const int LIQUID_BLOOD_AB_N
Definition constants.c:501
const string LOCK_FREELOOK
Definition constants.c:570
const string LOCK_SPRINT
Definition constants.c:569
const string LOCK_ZOOM
Definition constants.c:571
const int MENU_CONNECT_ERROR
Definition constants.c:201
const int MENU_NONE
Definition constants.c:161
const int MENU_TUTORIAL
Definition constants.c:194
const int MENU_HELP_SCREEN
Definition constants.c:183
const int MENU_TITLE_SCREEN
Definition constants.c:186
const int MENU_KEYBINDINGS
Definition constants.c:193
const int MENU_XBOX_CONTROLS
Definition constants.c:187
const int MENU_SCRIPTCONSOLE
Definition constants.c:175
const string CFG_SOUND_SETS
Definition constants.c:217
const string CFG_AMMO
Definition constants.c:212
const int MENU_WARNING_TELEPORT
Definition constants.c:200
const int MENU_LOGOUT
Definition constants.c:185
const int MENU_INSPECT
Definition constants.c:169
const int MENU_LOGIN_TIME
Definition constants.c:197
const int MENU_MAP
Definition constants.c:181
const int MENU_MAIN
Definition constants.c:172
const int MENU_SERVER_BROWSER
Definition constants.c:190
const string CFG_RECIPESPATH
Definition constants.c:215
const string CFG_VEHICLESPATH
Definition constants.c:209
const int MENU_WARNING_ITEMDROP
Definition constants.c:198
const string CFG_NONAI_VEHICLES
Definition constants.c:218
const int MENU_MISSION_LOADER
Definition constants.c:204
const int MENU_SCRIPTCONSOLE_UNIVERSAL_INFO_DIALOG
Definition constants.c:203
const int MENU_STARTUP
Definition constants.c:174
const string CFG_SOUND_SHADERS
Definition constants.c:216
const int MENU_RESPAWN_DIALOGUE
Definition constants.c:199
const int MENU_OPTIONS
Definition constants.c:173
const int MENU_CREDITS
Definition constants.c:195
const int MENU_CAMERA_TOOLS
Definition constants.c:191
const int MENU_CHARACTER
Definition constants.c:164
const int GUI_WINDOW_MISSION_LOADER
Definition constants.c:207
const int MENU_INVITE_TIMER
Definition constants.c:196
const int MENU_GESTURES
Definition constants.c:184
const int MENU_CHAT
Definition constants.c:165
const int MENU_LOGIN_QUEUE
Definition constants.c:189
const int MENU_SCENE_EDITOR
Definition constants.c:167
const int MENU_SCRIPTCONSOLE_DIALOG_PRESET_NAME
Definition constants.c:177
const int MENU_WARNING_INPUTDEVICE_DISCONNECT
Definition constants.c:202
const int MENU_CONTROLS_PRESET
Definition constants.c:179
const int MENU_EARLYACCESS
Definition constants.c:166
const int MENU_SCRIPTCONSOLE_DIALOG_PRESET_RENAME
Definition constants.c:178
const int MENU_INVENTORY
Definition constants.c:170
const int MENU_NOTE
Definition constants.c:180
const int MENU_LOADING
Definition constants.c:171
const int MENU_RADIAL_QUICKBAR
Definition constants.c:188
const string CFG_SOUND_TABLES
Definition constants.c:219
const int MENU_BOOK
Definition constants.c:182
const string CFG_SURFACES
Definition constants.c:214
const int MENU_LOC_ADD
Definition constants.c:162
const int MENU_INGAME
Definition constants.c:168
const string CFG_WEAPONSPATH
Definition constants.c:210
const int MENU_CHAT_INPUT
Definition constants.c:176
const int MENU_UNKNOWN
Definition constants.c:163
const int MENU_VIDEO
Definition constants.c:192
const int MENU_ANY
Definition constants.c:160
const string CFG_WORLDS
Definition constants.c:213
const string CFG_MAGAZINESPATH
Definition constants.c:211
const int MSG_NOTIFIERS_TICK
Definition constants.c:329
const int NUM_OF_CHANNELS
Definition constants.c:325
const int MSG_IMMUNE_REACTION
Definition constants.c:327
const int MSG_STATS_SYNCED
Definition constants.c:328
const int MSG_TEST_CHANNEL
Definition constants.c:326
const int MIN_TICK_MDFR_POOL_MAIN
Definition constants.c:337
const int MIN_TICK_MDFR_POOL_DISEASE
Definition constants.c:340
const int MIN_TICK_NOTIFIERS
Definition constants.c:341
const int MIN_TICK_MDFR_POOL_PLAYER
Definition constants.c:338
const int MIN_TICK_MDFR_POOL_ENVIRONMENT
Definition constants.c:339
const int SAT_INTERACT_ACTION
Definition constants.c:422
const int SAT_CRAFTING
Definition constants.c:423
const int SAT_DEBUG_ACTION
Definition constants.c:424
const float STAMINA_DRAIN_CLIMB
Definition constants.c:629
const float STAMINA_MIN_CAP
Definition constants.c:647
const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN
Definition constants.c:649
const float STAMINA_DRAIN_MELEE_LIGHT
Definition constants.c:630
const float STAMINA_KG_TO_GRAMS
in grams (weight where the player is not penalized by stamina)
Definition constants.c:661
const float STAMINA_ROLL_THRESHOLD
Definition constants.c:653
const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC
Definition constants.c:621
const float STAMINA_CLIMB_THRESHOLD
Definition constants.c:652
const float STAMINA_DRAIN_MELEE_HEAVY
Definition constants.c:631
const int STAMINA_GAIN_IDLE_PER_SEC
Definition constants.c:640
const float STAMINA_GAIN_BONUS_CAP
Definition constants.c:644
const float STAMINA_JUMP_THRESHOLD
Definition constants.c:650
const float STAMINA_REGEN_COOLDOWN_EXHAUSTION
Definition constants.c:659
const float STAMINA_DRAIN_HOLD_BREATH_DURATION
Definition constants.c:635
const int STAMINA_DRAIN_SWIM_FAST_PER_SEC
Definition constants.c:622
const int STAMINA_GAIN_WALK_PER_SEC
Definition constants.c:639
const int STAMINA_GAIN_JOG_PER_SEC
Definition constants.c:638
const float STAMINA_VAULT_THRESHOLD
Definition constants.c:651
const float STAMINA_MELEE_EVADE_THRESHOLD
Definition constants.c:657
const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT
Definition constants.c:636
const float STAMINA_DRAIN_HOLD_BREATH_START
Definition constants.c:625
const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE
Definition constants.c:648
const float STAMINA_MELEE_HEAVY_THRESHOLD
Definition constants.c:656
const int STAMINA_GAIN_ROLL_PER_SEC
Definition constants.c:643
const float STAMINA_DRAIN_JUMP
Definition constants.c:627
const float STAMINA_DRAIN_ROLL
Definition constants.c:633
const float STAMINA_MAX
Definition constants.c:663
const float STAMINA_DRAIN_MELEE_EVADE
Definition constants.c:632
const float STAMINA_REGEN_COOLDOWN_DEPLETION
Definition constants.c:658
const float STAMINA_WEIGHT_LIMIT_THRESHOLD
Definition constants.c:660
const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC
Definition constants.c:619
const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC
Definition constants.c:620
const int STAMINA_DRAIN_LADDER_FAST_PER_SEC
Definition constants.c:623
const float STAMINA_DRAIN_VAULT
Definition constants.c:628
const int STAMINA_GAIN_SWIM_PER_SEC
Definition constants.c:641
const int STAMINA_GAIN_LADDER_PER_SEC
Definition constants.c:642
const float STAMINA_SYNC_RATE
Definition constants.c:662
const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY
Definition constants.c:646
const float STAMINA_DRAIN_HOLD_BREATH_END
Definition constants.c:626
const int UA_STARTT
Definition constants.c:440
const int UA_IN_START
Definition constants.c:449
const int UA_FINISHED
Definition constants.c:436
const int UA_ERROR
Definition constants.c:455
const int UA_START
Definition constants.c:439
const int UA_CHECK_CON
Definition constants.c:445
const int UA_AM_ACCEPTED
Definition constants.c:447
const int UA_REPEAT
Definition constants.c:435
const int UA_AM_REJECTED
Definition constants.c:448
const int UA_FAILED
Definition constants.c:433
const int UA_INITIALIZE
Definition constants.c:444
const int UA_ANIM_EVENT
Definition constants.c:443
const int UA_SETEND_2
Definition constants.c:457
const int UA_NONE
Definition constants.c:432
const int UA_AM_PENDING
Definition constants.c:446
const int UA_CANCELT
Definition constants.c:441
const int UA_SPAWN_DUST_B
Definition constants.c:452
const int UA_SPAWN_DUST_A
Definition constants.c:451
const int UA_INTERRUPT
Definition constants.c:438
const int UA_FINISHEDT
Definition constants.c:442
const int UA_IN_END
Definition constants.c:450
const int UA_IN_CRAFTING
Definition constants.c:453
const int UA_PROCESSING
Definition constants.c:434
const int UA_CANCEL
Definition constants.c:437
const int IDC_RESTART
Definition constants.c:129
const int IDC_INT_EXIT
Definition constants.c:150
const int IDC_MAIN_PREV_CHARACTER
Definition constants.c:132
const int IDC_INT_RETRY_CUSTOM
Definition constants.c:149
const int IDC_BOOK_VIEWER_PREV
Definition constants.c:144
const int IDC_MAIN_OPTIONS
Definition constants.c:134
const int IDC_MAIN_MULTIPLAYER
Definition constants.c:135
const int IDC_MULTI_INVITE
Definition constants.c:142
const int IDC_MAIN_QUIT
Definition constants.c:136
const int IDC_MAIN_CHARACTER
Definition constants.c:139
const int IDC_MAIN_CONTINUE
Definition constants.c:137
const int IDC_INT_RETRY
ingame menu
Definition constants.c:148
const int IDC_BOOK_VIEWER_NEXT
Definition constants.c:145
const int IDC_MULTI_REFRESH
Definition constants.c:141
const int IDC_CANCEL
Definition constants.c:128
const int IDC_MAIN_NEXT_CHARACTER
Definition constants.c:131
const int IDC_MAIN_ONLINE
Definition constants.c:140
const int IDC_MAIN_PLAY
Definition constants.c:138
const int IDC_OK
Definition constants.c:127