DayZ Scripts
v1.21.156300 ยท Jun 20, 2023
 
Loading...
Searching...
No Matches
constants.c
Go to the documentation of this file.
1
7{
15}
16
17enum VoiceLevel
18{
21 Shout
22}
23
24enum VoiceEffectType
25{
28 Obstruction
29}
30
31enum ObjIntersect
32{
37 None
38}
39
41enum EffectWidgetsTypes
42{
43 ROOT = -2, //used when handling the m_Root widget directly
44 NONE = 0,
45
48
51
54
60
62}
63
64enum EffectWidgetHandles
65{
67}
68
69enum EffectWidgetSuspends
70{
73}
74
75class HitDirectionConstants
76{
77 const int ROTATION_DEFAULT = 0; //0 == random
78 const float DURATION_BASE = 2.0;
79 const float BREAKPOINT_BASE = 0.2;
80 const float DISTANCE_ADJUST = 0.0;
81 const float SCATTER = 10.0;
82 const int COLOR_DEFAULT = 0xffbb0a1e;
83}
84
86{
91
92enum HitIndicatorType
93{
96 ARROW
97}
98
99enum EInputRestrictors
100{
102 MAP
103}
104
109
115const int IDC_OK = 1;
116const int IDC_CANCEL = 2;
117const int IDC_RESTART = 5;
118
121
122const int IDC_MAIN_OPTIONS = 102;
123const int IDC_MAIN_MULTIPLAYER = 105;
124const int IDC_MAIN_QUIT = 106;
125const int IDC_MAIN_CONTINUE = 114;
126const int IDC_MAIN_PLAY = 142;
127const int IDC_MAIN_CHARACTER = 143;
128const int IDC_MAIN_ONLINE = 124;
129const int IDC_MULTI_REFRESH = 123;
130const int IDC_MULTI_INVITE = 126;
131
132const int IDC_BOOK_VIEWER_PREV = 102;
133const int IDC_BOOK_VIEWER_NEXT = 103;
134
136const int IDC_INT_RETRY = 105; //default respawn
137const int IDC_INT_RETRY_CUSTOM = 106; //custom respawn
138const int IDC_INT_EXIT = 107;
139//const int IDC_INT_RESPAWN = 108; //respawn dialogue
148const int MENU_ANY = 1;
149const int MENU_NONE = 2;
150const int MENU_LOC_ADD = 3;
151const int MENU_UNKNOWN = 4;
152const int MENU_CHARACTER = 5;
153const int MENU_CHAT = 6;
154const int MENU_EARLYACCESS = 7;
155const int MENU_SCENE_EDITOR = 8;
156const int MENU_INGAME = 9;
157const int MENU_INSPECT = 10;
158const int MENU_INVENTORY = 11;
159const int MENU_LOADING = 12;
160const int MENU_MAIN = 13;
161const int MENU_OPTIONS = 14;
162const int MENU_STARTUP = 15;
163const int MENU_SCRIPTCONSOLE = 16;
164const int MENU_CHAT_INPUT = 17;
167const int MENU_CONTROLS_PRESET = 20;
168const int MENU_NOTE = 21;
169const int MENU_MAP = 22;
170const int MENU_BOOK = 23;
171const int MENU_HELP_SCREEN = 24;
172const int MENU_GESTURES = 25;
173const int MENU_LOGOUT = 26;
174const int MENU_TITLE_SCREEN = 27;
175const int MENU_XBOX_CONTROLS = 28;
176const int MENU_RADIAL_QUICKBAR = 29;
177const int MENU_LOGIN_QUEUE = 30;
178const int MENU_SERVER_BROWSER = 31;
179const int MENU_CAMERA_TOOLS = 32;
180const int MENU_VIDEO = 33;
181const int MENU_KEYBINDINGS = 34;
182const int MENU_TUTORIAL = 35;
183const int MENU_CREDITS = 36;
184const int MENU_INVITE_TIMER = 37;
185const int MENU_LOGIN_TIME = 38;
189const int MENU_CONNECT_ERROR = 42;
191
192
194
195const string CFG_VEHICLESPATH = "CfgVehicles";
196const string CFG_WEAPONSPATH = "CfgWeapons";
197const string CFG_MAGAZINESPATH = "CfgMagazines";
198const string CFG_AMMO = "CfgAmmo";
199const string CFG_WORLDS = "CfgWorlds";
200const string CFG_SURFACES = "CfgSurfaces";
201const string CFG_RECIPESPATH = "CfgRecipes";
202const string CFG_SOUND_SHADERS = "CfgSoundShaders";
203const string CFG_SOUND_SETS = "CfgSoundSets";
204const string CFG_NONAI_VEHICLES = "CfgNonAIVehicles";
205const string CFG_SOUND_TABLES = "CfgSoundTables";
206
214const int CFG_ARRAY_ITEMS_MAX = 64;
215const string CFG_FILE_FIXED_PROFILE = "Scripts/profile_fixed.cfg";
216const string CFG_FILE_USER_PROFILE = "$profile:profile.cfg";
217const string CFG_FILE_DEBUG_PROFILE = "$profile:debugProfile.cfg";
218const string CFG_FILE_EMOTES_PROFILE = "$profile:emotesProfile.cfg";
219const string CFG_FILE_SEARCH_HISTORY = "$profile:search_history.history";
220const string CFG_FILE_ENS_HISTORY = "$profile:script_enscript.history";
221const string CFG_FILE_ENS_HISTORY_SERVER = "$profile:script_enscriptServer.history";
222const string CFG_FILE_SCRIPT_LOG = "$profile:script.log";
223const string CFG_FILE_SCRIPT_LOG_EXT = "$profile:scriptExt.log";
224const string CFG_FILE_ADDITIONAL_INFO= "$profile:serverInfo.cfg";
232/*
233const int RPC_SYNC_ITEM_VAR = 1;
234const int RPC_SYNC_STAT = 2;
235const int RPC_WRITE_NOTE = 3;
236const int RPC_SYNC_DISPLAY_STATUS = 4;
237const int RPC_RECIPE_SEND = 7;
238const int RPC_ON_SET_CAPTIVE = 8;
239const int RPC_SYNC_SCENE_OBJECT = 9;
240const int RPC_READ_A_BOOK = 10;
241const int RPC_USER_ACTION_PROMPT_SYNCH = 11;
242const int RPC_USER_ACTION_MESSAGE = 12;
243const int RPC_ITEM_DIAG = 13;
244const int RPC_ITEM_DIAG_CLOSE = 14;
245const int RPC_SET_OBJECT_POSITION = 15;
246const int RPC_USER_ACTION_MESSAGES = 16;
247const int RPC_ITEM_SPLIT = 17;
248const int RPC_ITEM_COMBINE = 18;
249const int RPC_PLAYER_STATES_ON = 19;
250const int RPC_PLAYER_STATES_OFF = 20;
251const int RPC_PLACING_DEBUG = 21;
252const int RPC_PLACING_START = 22;
253const int RPC_PLACING_STOP = 23;
254const int RPC_STAMINA = 25;
255const int RPC_DAMAGE_VALUE_SYNC = 26;
256const int RPC_USER_ACTION_PROMPT_PROGRESS = 27;
257const int RPC_PLACING_UPDATE = 28;
258const int RPC_USER_ACTION_PROMPT_CLEAN = 29;
259const int RPC_DISABLE_MODIFIERS = 30;
260const int RPC_KILL_PLAYER = 31;
261const int RPC_ENABLE_INVINCIBILITY = 32;
262const int RPC_ITEM_DEBUG_ACTIONS = 33;
263const int RPC_LOG_PLAYER_STATS = 34;
264const int RPC_EM_IS_PLUGGED = 35;
265const int RPC_EM_IS_UNPLUGGED = 36;
266*/
275/*
276const int DEV_RPC_SPAWN_GROUND_ITEM = 101;
277const int DEV_RPC_CLEAR_INV = 102;
278const int DEV_RPC_TELEPORT = 103;
279const int DEV_RPC_SET_PLAYER_DIRECTION = 104;
280const int DEV_RPC_SEND_SERVER_LOG = 105;
281const int DEV_RPC_STATS_DATA = 107;
282const int DEV_RPC_MODS_DATA = 108;
283const int DEV_RPC_AGENTS_DATA = 109;
284const int DEV_RPC_CREATE_SCENE_OBJECT = 110;
285const int DEV_RPC_SCENE_LOAD = 111;
286const int DEV_RPC_SPAWN_INV_ITEM = 112;
287const int DEV_RPC_SPAWN_ATTACHMENT_ITEM = 113;
288const int DEV_RPC_SPAWN_ITEM_ON_CURSOR = 114;
289*/
297 /*
298const int DEV_STATS_UPDATE = 1;
299const int DEV_MODS_UPDATE = 2;
300const int DEV_AGENTS_UPDATE = 3;
301 */
309const int NUM_OF_CHANNELS = 100;
310const int MSG_TEST_CHANNEL = 0;
312const int MSG_STATS_SYNCED = 2;
313const int MSG_NOTIFIERS_TICK = 3;
321const int MIN_TICK_MDFR_POOL_MAIN = 10000;//in ms
325const int MIN_TICK_NOTIFIERS = 1000;
333{
334 const int ID_EMOTE_GREETING = 1;
335 const int ID_EMOTE_SOS = 2; //FB
336 const int ID_EMOTE_HEART = 3;
337 const int ID_EMOTE_TAUNT = 4;
338 const int ID_EMOTE_LYINGDOWN = 5;
339 const int ID_EMOTE_TAUNTKISS = 6;
340 const int ID_EMOTE_FACEPALM = 7;
341 const int ID_EMOTE_TAUNTELBOW = 8;
342 const int ID_EMOTE_THUMB = 9;
343 const int ID_EMOTE_THROAT = 10;
344 const int ID_EMOTE_SUICIDE = 11; //FB
345 const int ID_EMOTE_DANCE = 12;
346 const int ID_EMOTE_CAMPFIRE = 13;
347 const int ID_EMOTE_SITA = 14;
348 const int ID_EMOTE_SITB = 15;
349 const int ID_EMOTE_THUMBDOWN = 16;
350
351 const int ID_EMOTE_DABBING = 32;
352 const int ID_EMOTE_TIMEOUT = 35;
353 const int ID_EMOTE_CLAP = 39;
354 const int ID_EMOTE_POINT = 40;
355 const int ID_EMOTE_SILENT = 43;
356 const int ID_EMOTE_SALUTE = 44;
357 const int ID_EMOTE_RPS = 45;
358 const int ID_EMOTE_WATCHING = 46;
359 const int ID_EMOTE_HOLD = 47;
360 const int ID_EMOTE_LISTENING = 48;
361 const int ID_EMOTE_POINTSELF = 49;
362 const int ID_EMOTE_LOOKATME = 50;
363 const int ID_EMOTE_TAUNTTHINK = 51;
364 const int ID_EMOTE_MOVE = 52;
365 const int ID_EMOTE_DOWN = 53;
366 const int ID_EMOTE_COME = 54;
367 const int ID_EMOTE_RPS_R = 55;
368 const int ID_EMOTE_RPS_P = 56;
369 const int ID_EMOTE_RPS_S = 57;
370 const int ID_EMOTE_NOD = 58;
371 const int ID_EMOTE_SHAKE = 59;
372 const int ID_EMOTE_SHRUG = 60;
373 const int ID_EMOTE_SURRENDER = 61;
374 const int ID_EMOTE_VOMIT = 62;
375 const int ID_EMOTE_DEBUG = 1000;
376
382 const int EMOTE_SUICIDE_DEATH = 1;
383 const int EMOTE_SUICIDE_BLEED = 2;
386}
387
393const float ITEMSGEN_TICK = 10; //in seconds
394const float ITEMSGEN_MIN_DISTANCE_TO_REPOSITION = 80; //in meters
395const float ITEMSGEN_SPAWN_DISTANCE = 60; //in meters
396const float ITEMSGEN_MAX_SPREAD = 15; //in meters
407const int SAT_CRAFTING = 2;
408const int SAT_DEBUG_ACTION = 3;
416const int UA_NONE = 0;
417const int UA_FAILED = 1;
418const int UA_PROCESSING = 2;
419const int UA_REPEAT = 3;
420const int UA_FINISHED = 4;
421const int UA_CANCEL = 5;
422const int UA_INTERRUPT = 6;
423const int UA_START = 7;
424const int UA_STARTT = 8;
425const int UA_CANCELT = 9;
426const int UA_FINISHEDT = 10;
427const int UA_ANIM_EVENT = 11;
428const int UA_INITIALIZE = 12;
429const int UA_CHECK_CON = 13;
430const int UA_AM_PENDING = 14;
431const int UA_AM_ACCEPTED = 15;
432const int UA_AM_REJECTED = 16;
433const int UA_IN_START = 17;
434const int UA_IN_END = 18;
435const int UA_SPAWN_DUST_A = 19;
436const int UA_SPAWN_DUST_B = 20;
437const int UA_IN_CRAFTING = 21;
438
439const int UA_ERROR = 24;
440
441const int UA_SETEND_2 = 32;
450const int AGT_INV_IN = 1;
451const int AGT_INV_OUT = 2;
453const int AGT_TRANSFER_COPY = 4;
454const int AGT_UACTION_TOUCH = 5;
455const int AGT_WATER_POND = 6;
459const int AGT_ITEM_TO_FLESH = 10;
461
462const int DEF_BIOLOGICAL = 1;
463const int DEF_CHEMICAL = 2;
466const int QUANTITY_HIDDEN = 0;
467const int QUANTITY_COUNT = 1;
468const int QUANTITY_PROGRESS = 2;
469
470
471
477// BEWARE ALL INDIVIDUAL LIQUID TYPES ARE ALSO REPRESENTED CONFIG-SIDE AND MUST MATCH(all changes must be made on both sides)
478// NOTE ANY NUMBER HERE MUST BE A 0 OR ANY POWER OF TWO, THERE IS A MAXIMUM OF 32 INDIVIDUAL LIQUID TYPES POSSIBLE
479const int LIQUID_BLOOD_0_P = 1;
480const int LIQUID_BLOOD_0_N = 2;
481const int LIQUID_BLOOD_A_P = 4;
482const int LIQUID_BLOOD_A_N = 8;
483const int LIQUID_BLOOD_B_P = 16;
484const int LIQUID_BLOOD_B_N = 32;
485const int LIQUID_BLOOD_AB_P = 64;
486const int LIQUID_BLOOD_AB_N = 128;
487const int LIQUID_SALINE = 256;
488
489const int LIQUID_WATER = 512;
490const int LIQUID_RIVERWATER = 1024;
491const int LIQUID_VODKA = 2048;
492const int LIQUID_BEER = 4096;
493const int LIQUID_GASOLINE = 8192;
494const int LIQUID_DIESEL = 16384;
495const int LIQUID_DISINFECTANT = 32768;
496const int LIQUID_SOLUTION = 65536;
497
498// these are groups which do not have to correspond with configs
499const int GROUP_LIQUID_BLOOD = 255;
500const int GROUP_LIQUID_ALL = -1;//-1 = all bits to 1
508const float LIQUID_THROUGHPUT_TINY = 0.1;
514const float LIQUID_THROUGHPUT_WELL = 15.0;
515const float LIQUID_THROUGHPUT_BARREL = 100.0;
516
524const string SYSTEM_CHAT_MSG = "system_chat_msg";
525const string GLOBAL_CHAT_MSG = "global_chat_msg";
526const string DIRECT_CHAT_MSG = "direct_chat_msg";
527const string VEHICLE_CHAT_MSG = "vehicle_chat_msg";
528const string RADIO_CHAT_MSG = "radio_chat_msg";
529const string GAME_CHAT_MSG = "game_chat_msg";
530const string ADMIN_CHAT_MSG = "admin_chat_msg";
531const string PLAYER_CHAT_MSG = "player_chat_msg";
539const string SHOW_QUICKBAR = "show_quickbar";
540const string SHOW_HUD = "show_hud";
541const string HUD_BRIGHTNESS = "hud_brightness";
542const string ENABLE_BLEEDINGINDICATION = "enable_bleedingindication";
543const string SHOW_CONNECTIVITYINFO = "show_connectivityinfo";
544//const string SHOW_HUD_AUTOHIDE = "hud_autohide";
545const string SHOW_CROSSHAIR = "show_crosshair";
546const string SHOW_SERVERINFO = "show_serverinfo";
554const string LOCK_SPRINT = "lock_sprint";
555const string LOCK_FREELOOK = "lock_freelook";
556const string LOCK_ZOOM = "lock_zoom";
564const int VARIABLE_QUANTITY = 1;
565const int VARIABLE_ENERGY = 2;
567const int VARIABLE_WET = 8;
568const int VARIABLE_LIQUIDTYPE = 16;
569const int VARIABLE_ISLIT = 32;
570const int VARIABLE_COLOR = 64;
571const int VARIABLE_CLEANNESS = 128;
574const float CRAFTING_TIME_UNIT_SIZE = 4.0;// time unit size for crafting, this value is multiplied by the length given by a recipe
575
576const float PROJECTED_CURSOR_DISTANCE = 5;//how long is the raycast from the weapon for projected cursor
577
578
584const float MELEE_ITEM_DAMAGE = 1.0;
585
586const int HAIR_SELECTION_COUNT = 45;
590const int INPUT_EXCLUDE_ALL = 0;
594const int INPUT_EXCLUDE_MAP = 4;
595
597{
603 // unit = currently percent (stamina max is 100)
604 const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 4; //in units (how much sprint depletes stamina)
605 const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 1; //in units (how much sprint in crouch depletes stamina)
606 const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 3; //in units (how much sprint in prone depletes stamina)
607 const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 5; //in units (how much fast swimming depletes stamina)
608 const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 8; //in units (how much fast ladder climb depletes stamina)
609
610 const float STAMINA_DRAIN_HOLD_BREATH_START = 0.2; //in units (how much holding breath depletes stamina at the start)
611 const float STAMINA_DRAIN_HOLD_BREATH_END = 1.0; //in units (how much holding breath depletes stamina at the end)
612 const float STAMINA_DRAIN_JUMP = 25; // in units (how much jumping depletes stamina)
613 const float STAMINA_DRAIN_VAULT = 20; // in units (how much jumping depletes stamina)
614 const float STAMINA_DRAIN_CLIMB = 42; // in units (how much jumping depletes stamina)
615 const float STAMINA_DRAIN_MELEE_LIGHT = 5; //in units (how much light melee punch depletes stamina)
616 const float STAMINA_DRAIN_MELEE_HEAVY = 25; //in units (how much heavy melee punch depletes stamina)
617 const float STAMINA_DRAIN_MELEE_EVADE = 8; // in units (how much evade depletes stamina)
618 const float STAMINA_DRAIN_ROLL = 5; // in units (how much roll depletes stamina)
619
620 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
621 const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT = 4.0; //holding breath exponent
622
623 const int STAMINA_GAIN_JOG_PER_SEC = 2; //in units (how much of stamina units is gained while jogging)
624 const int STAMINA_GAIN_WALK_PER_SEC = 4; //in units (how much of stamina units is gained while walking)
625 const int STAMINA_GAIN_IDLE_PER_SEC = 5; //in units (how much of stamina units is gained while iddling)
626 const int STAMINA_GAIN_SWIM_PER_SEC = 1; //in units (how much of stamina units is gained while slowly swim)
627 const int STAMINA_GAIN_LADDER_PER_SEC = 1; //in units (how much of stamina units is gained while slowly swim)
628 const int STAMINA_GAIN_ROLL_PER_SEC = 0; //in units (how much of stamina units is gained while rolling)
629 const float STAMINA_GAIN_BONUS_CAP = 3.0; //in units (tells how much extra units can be added at best to stamina regain)
630
631 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)
632 const float STAMINA_MIN_CAP = 5; //in units (overload won't reduce max stamina bar under this value)
633 const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE = 10; // in units
634 const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN = 0; // in units
635 const float STAMINA_JUMP_THRESHOLD = 25; // in units
636 const float STAMINA_VAULT_THRESHOLD = 20; // in units
637 const float STAMINA_CLIMB_THRESHOLD = 42; // in units
638 const float STAMINA_ROLL_THRESHOLD = 5; // in units
639
640
641 const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY; // in units (how many units we need to make a heavy hit in melee)
642 const float STAMINA_MELEE_EVADE_THRESHOLD = 8; // in units
643 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)
646 const float STAMINA_KG_TO_GRAMS = 1000; //for kg to g conversion
647 const float STAMINA_SYNC_RATE = 0.5; //in secs
648 const float STAMINA_MAX = 100;
656 const float ENVIRO_TICK_RATE = 3;
658 const float ENVIRO_TICK_ROOF_RC_CHECK = 10;
659 const float ENVIRO_WET_INCREMENT = 0.01;
660 const float ENVIRO_DRY_INCREMENT = 0.00005;
661 const float ENVIRO_SUN_INCREMENT = 0.002;
662 const float ENVIRO_FIRE_INCREMENT = 23.5;
663 const float ENVIRO_CLOUD_DRY_EFFECT = 0.7;
664 const float ENVIRO_FOG_DRY_EFFECT = 0.9;
665 const float ENVIRO_CLOUDS_TEMP_EFFECT = 0.35;
666 const float ENVIRO_FOG_TEMP_EFFECT = 0.24;
667 const float ENVIRO_WET_PENALTY = 0.5;
668 const float ENVIRO_WET_PASSTHROUGH_COEF = 0.1;
671 const float ENVIRO_DEFAULT_ENTITY_HEAT = 2.5;
673 const float ENVIRO_TEMPERATURE_INSIDE_COEF = 0.085;
677 const float ENVIRO_WIND_EFFECT = 0.25;
678 const float ENVIRO_HIGH_NOON = 12;
679
685 const float ENVIRO_LOW_TEMP_LIMIT = -40;
686 const float ENVIRO_HIGH_TEMP_LIMIT = 50;
687 const float ENVIRO_PLAYER_COMFORT_TEMP = 26;
691 const float ENVIRO_PLAYER_HEATBUFFER_TICK = 0.011;
692
705
707
709
710 // --
713
721 const int CARS_FLUIDS_TICK = 1;
722 const int CARS_LEAK_TICK_MIN = 0.02;
723 const int CARS_LEAK_TICK_MAX = 0.05;
724 const int CARS_LEAK_THRESHOLD = 0.5;
732 const float CARS_CONTACT_DMG_THRESHOLD = 750.0;
733 const float CARS_CONTACT_DMG_MIN = 150.0;
734 const float CARS_CONTACT_DMG_KILLCREW = 1200.0;
742 const int STATE_RUINED = 4;
743 const int STATE_BADLY_DAMAGED = 3;
744 const int STATE_DAMAGED = 2;
745 const int STATE_WORN = 1;
746 const int STATE_PRISTINE = 0;
754 const float DAMAGE_PRISTINE_VALUE = 1.0;
755 const float DAMAGE_WORN_VALUE = 0.7;
756 const float DAMAGE_DAMAGED_VALUE = 0.5;
757 const float DAMAGE_BADLY_DAMAGED_VALUE = 0.3;
758 const float DAMAGE_RUINED_VALUE = 0.0;
766 const float STATE_DRENCHED = 0.8;
767 const float STATE_SOAKING_WET = 0.5;
768 const float STATE_WET = 0.25;
769 const float STATE_DAMP = 0.05;
770 const float STATE_DRY = 0;
778 const float WEIGHT_DRENCHED = 2.0;
779 const float WEIGHT_SOAKING_WET = 1.66;
780 const float WEIGHT_WET = 1.33;
781 const float WEIGHT_DAMP = 1.0;
782 const float WEIGHT_DRY = 1.0;
785 const int OPTICS_STATE_DAY = 0; //default state for most optics
787 //const int OPTICS_STATE_OTHER = 2;
788
789 const float WETNESS_RATE_WETTING_INSIDE = 0.0020;
790 const float WETNESS_RATE_WETTING_LIQUID = 0.015;
791 const float WETNESS_RATE_DRYING_INSIDE = -0.0016;
792 const float WETNESS_RATE_DRYING_GROUND = -0.0008;
793
796 const float TEMPERATURE_RATE_COOLING_PLAYER = -0.35; // celsius per second
797
798 const float HEATISO_THRESHOLD_BAD = 0.2;
799 const float HEATISO_THRESHOLD_LOW = 0.4;
800 const float HEATISO_THRESHOLD_MEDIUM = 0.6;
801 const float HEATISO_THRESHOLD_HIGH = 0.8;
802
808 const int BAREL_LIME_PER_PELT = 100; //grams per pelt
809 const int BAREL_BLEACH_PER_CLOTH = 50; //ml per item
810 const float BAREL_LIME_PER_PLANT = 50; //grams per gram
818
819 const float DZPLAYER_CAMERA_FOV_EYEZOOM = 0.3926; // 45deg
820 const float DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW = 0.610865; // 70deg
821 const float DZPLAYER_CAMERA_FOV_IRONSIGHTS = 0.5236; // 60deg
822
823 const string DEFAULT_CHARACTER_NAME = "#str_cfgvehicles_survivor0"; //experiment, used to be "Survivor"
824
826
827 const float CLEAN_UNRESTRAIN_DAMAGE = 10;
828
832 const int CAMERA_SHAKE_ARTILLERY_DISTANCE2 = 40000; // Square distance used for distance check
833
835 const float MINING_WOOD_FAST = 2.0;
836 const float MINING_WOOD_MEDIUM = 2.0;
837 const float MINING_WOOD_SLOW = 3.0;
838
843
844 const float ROOF_CHECK_RAYCAST_DIST = 20.0;
845
848 const float LOADING_SCREEN_HINT_INTERVAL = 14;//the time that elapses before a hint is switched during loading in screens that support hint switching
849 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)
850
851
856 const int REFRESHER_MAX_DURATION_DEFAULT = 3600 * 24 * 40; //max duration of refresher in seconds - 40 days (+ 5 days final refresh )
857 const int REFRESHER_FREQUENCY_DEFAULT = 3600 * 24 * 5; //frequency of lifetime refreshes/refresher time decreases - 5 days
858 const float REFRESHER_RADIUS = 60; //meters
859 // lifetime of refresher itself is in db (3600 * 24 * 7 = 604800 )
860
865 const float DECAY_FOOD_RAW_MEAT = 21600;
866 const float DECAY_FOOD_RAW_CORPSE = 32400;
867 const float DECAY_FOOD_RAW_FRVG = 43200;
868 const float DECAY_FOOD_BOILED_MEAT = 259200;
869 const float DECAY_FOOD_BOILED_FRVG = 172800;
870 const float DECAY_FOOD_BAKED_MEAT = 345600;
871 const float DECAY_FOOD_BAKED_FRVG = 259200;
872 const float DECAY_FOOD_DRIED_MEAT = 691200;
873 const float DECAY_FOOD_CAN_OPEN = 172800;
876 const float DECAY_RATE_ON_PLAYER = 2.5;
877
878 const int RESPAWN_MODE_CUSTOM = 0;
879 const int RESPAWN_MODE_RANDOM = 1;
880
885 const int INVENTORY_ENTITY_DROP_OVERLAP_DEPTH = 2; // How deep should it go looking for a free spot to drop an entity
886
887 //----------------------------------------------------------
888 // AI
889 //----------------------------------------------------------
890
891 const float AI_ATTACKSPEED = 1.5;
892 const float AI_MAX_BLOCKABLE_ANGLE = 60; // The angle under which an infected must be relative to player to be blockable
893 const float AI_CONTAMINATION_DMG_PER_SEC = 3; // The amount of damage AI agents take per contaminated area damage event
894
895 //----------------------------------------------------------
896 // MELEE
897 //----------------------------------------------------------
898
899 const float PVP_MAX_BLOCKABLE_ANGLE = 60; // The angle under which a Player must be relative to player to be blockable
900}
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:452
const int AGT_ITEM_TO_FLESH
Definition constants.c:459
const int AGT_UACTION_TOUCH
Definition constants.c:454
const int DEF_BIOLOGICAL
Definition constants.c:462
const int DEF_CHEMICAL
Definition constants.c:463
const int AGT_AIRBOURNE_BIOLOGICAL
Definition constants.c:456
const int AGT_TRANSFER_COPY
Definition constants.c:453
const int AGT_WATER_POND
Definition constants.c:455
const int AGT_INV_OUT
Definition constants.c:451
const int AGT_UACTION_TO_PLAYER
Definition constants.c:457
const int AGT_AIRBOURNE_CHEMICAL
Definition constants.c:460
const int AGT_UACTION_TO_ITEM
Definition constants.c:458
const int AGT_INV_IN
Definition constants.c:450
const int BAREL_LIME_PER_PELT
Definition constants.c:808
const float BAREL_LIME_PER_PLANT
Definition constants.c:810
const int BAREL_BLEACH_PER_CLOTH
Definition constants.c:809
const int CFG_ARRAY_ITEMS_MAX
Definition constants.c:214
const string CFG_FILE_DEBUG_PROFILE
Definition constants.c:217
const string CFG_FILE_SEARCH_HISTORY
Definition constants.c:219
const string CFG_FILE_ADDITIONAL_INFO
Definition constants.c:224
const string CFG_FILE_FIXED_PROFILE
Definition constants.c:215
const string CFG_FILE_SCRIPT_LOG_EXT
Definition constants.c:223
const string CFG_FILE_EMOTES_PROFILE
Definition constants.c:218
const string CFG_FILE_USER_PROFILE
Definition constants.c:216
const string CFG_FILE_ENS_HISTORY_SERVER
Definition constants.c:221
const string CFG_FILE_SCRIPT_LOG
Definition constants.c:222
const string CFG_FILE_ENS_HISTORY
Definition constants.c:220
@ None
Definition EnWorld.c:73
const float CARS_CONTACT_DMG_MIN
Definition constants.c:733
const float CARS_CONTACT_DMG_KILLCREW
Definition constants.c:734
const float CARS_CONTACT_DMG_THRESHOLD
Definition constants.c:732
const int CARS_FLUIDS_TICK
Definition constants.c:721
const int CARS_LEAK_THRESHOLD
Definition constants.c:724
const int CARS_LEAK_TICK_MAX
Definition constants.c:723
const int CARS_LEAK_TICK_MIN
Definition constants.c:722
const string GAME_CHAT_MSG
Definition constants.c:529
const string VEHICLE_CHAT_MSG
Definition constants.c:527
const string SYSTEM_CHAT_MSG
Definition constants.c:524
const string GLOBAL_CHAT_MSG
Definition constants.c:525
const string RADIO_CHAT_MSG
Definition constants.c:528
const string PLAYER_CHAT_MSG
Definition constants.c:531
const string DIRECT_CHAT_MSG
Definition constants.c:526
const string ADMIN_CHAT_MSG
Definition constants.c:530
enum ChatChannelType Whisper
VoiceLevelWhisper.
enum ChatChannelType PUMPKIN_OCCLUDER
enum ChatChannelType MASK_BREATH
enum ChatChannelType HELMET2_OCCLUDER
const float BREAKPOINT_BASE
Definition constants.c:79
enum ChatChannelType Extortion
VoiceEffectExtortion.
HitDirectionModes
Definition constants.c:86
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:82
enum ChatChannelType NONE
enum ChatChannelType ROTATION_DEFAULT
enum ChatChannelType BLEEDING_LAYER
enum ChatChannelType NVG_OCCLUDER
enum ChatChannelType ROOT
< ObjIntersectNone: No Geometry
enum ChatChannelType MOTO_BREATH
const float DURATION_BASE
Definition constants.c:78
enum HitDirectionModes SPLASH
enum ChatChannelType View
ObjIntersectView: View Geometry.
const float SCATTER
Definition constants.c:81
enum HitDirectionModes INVENTORY
enum ChatChannelType Fire
< VoiceEffectObstruction
enum ChatChannelType BURLAPSACK
enum ChatChannelType HELMET_BREATH
const float DISTANCE_ADJUST
Definition constants.c:80
ChatChannelType
Definition constants.c:7
enum ChatChannelType UNCON
enum ChatChannelType COVER_FLASHBANG
enum HitDirectionModes SPIKE
enum ChatChannelType Geom
ObjIntersectGeom: Geometry.
@ DISABLED
Definition constants.c:87
@ DYNAMIC
Definition constants.c:89
@ STATIC
Definition constants.c:88
@ 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:384
const int EMOTE_SUICIDE_BLEED
Definition constants.c:383
const int EMOTE_SUICIDE_DEATH
Definition constants.c:382
const int INPUT_EXCLUDE_MOUSE_RADIAL
Definition constants.c:593
const int ID_EMOTE_LYINGDOWN
Definition constants.c:338
const int ID_EMOTE_THROAT
Definition constants.c:343
const int ID_EMOTE_RPS_P
Definition constants.c:368
const int QUANTITY_PROGRESS
Definition constants.c:468
const int ID_EMOTE_NOD
Definition constants.c:370
const int ID_EMOTE_RPS
Definition constants.c:357
const float AI_ATTACKSPEED
Definition constants.c:891
const int ID_EMOTE_TIMEOUT
Definition constants.c:352
const int ID_EMOTE_VOMIT
Definition constants.c:374
const int ID_EMOTE_RPS_R
Definition constants.c:367
const int ID_EMOTE_SHAKE
Definition constants.c:371
const int INPUT_EXCLUDE_ALL
Definition constants.c:590
const float WETNESS_RATE_WETTING_INSIDE
Definition constants.c:789
const int ID_EMOTE_TAUNTTHINK
Definition constants.c:363
const float DZPLAYER_CAMERA_FOV_EYEZOOM_SHALLOW
Definition constants.c:820
const float PROJECTILE_CONVERSION_ANIMALS
Non-lethal projectile damage QuantityConversions.
Definition constants.c:840
const int ID_EMOTE_DEBUG
Definition constants.c:375
const float CRAFTING_TIME_UNIT_SIZE
Definition constants.c:574
const float DECAY_FOOD_CAN_OPEN
Definition constants.c:873
const int ID_EMOTE_THUMBDOWN
Definition constants.c:349
const float DECAY_FOOD_BOILED_MEAT
Definition constants.c:868
const int HAIR_SELECTION_COUNT
Definition constants.c:586
const float MINING_WOOD_SLOW
Definition constants.c:837
const float MINING_WOOD_MEDIUM
Definition constants.c:836
const int ID_EMOTE_DOWN
Definition constants.c:365
const float DECAY_FOOD_RAW_CORPSE
Definition constants.c:866
const float PROJECTED_CURSOR_DISTANCE
Definition constants.c:576
const int ID_EMOTE_FACEPALM
Definition constants.c:340
const int ID_EMOTE_SITA
Definition constants.c:347
const int ID_EMOTE_CAMPFIRE
Definition constants.c:346
const int ID_EMOTE_SOS
Definition constants.c:335
const int OPTICS_STATE_NIGHTVISION
Definition constants.c:786
const int ID_EMOTE_SITB
Definition constants.c:348
const float WETNESS_RATE_DRYING_INSIDE
Definition constants.c:791
const float DEBUG_QUICK_UNRESTRAIN_TIME
Definition constants.c:583
const string DEFAULT_CHARACTER_NAME
Definition constants.c:823
const float PROJECTILE_CONVERSION_PLAYERS
Definition constants.c:842
const float DZPLAYER_CAMERA_FOV_IRONSIGHTS
Definition constants.c:821
const int ID_EMOTE_DABBING
Definition constants.c:351
const int ID_EMOTE_GREETING
Definition constants.c:334
const float DECAY_FOOD_RAW_FRVG
Definition constants.c:867
const int CAMERA_SHAKE_GRENADE_DISTANCE
Camera shake.
Definition constants.c:830
const float PROJECTILE_CONVERSION_INFECTED
Definition constants.c:841
const int DECAY_TIMER_RANDOM_PERCENTAGE
Definition constants.c:875
const int ID_EMOTE_THUMB
Definition constants.c:342
const float TEMPERATURE_RATE_COOLING_PLAYER
Definition constants.c:796
const int INPUT_EXCLUDE_INVENTORY
Definition constants.c:591
const int ID_EMOTE_POINTSELF
Definition constants.c:361
const float ROOF_CHECK_RAYCAST_DIST
Definition constants.c:844
const int ID_EMOTE_LOOKATME
Definition constants.c:362
const int INPUT_EXCLUDE_MAP
Definition constants.c:594
const int ID_EMOTE_SILENT
Definition constants.c:355
const int ID_EMOTE_TAUNTELBOW
Definition constants.c:341
const float HEATISO_THRESHOLD_MEDIUM
Definition constants.c:800
const float DECAY_FOOD_BOILED_FRVG
Definition constants.c:869
const float DECAY_FOOD_RAW_MEAT
Definition constants.c:865
const int ID_EMOTE_SURRENDER
Definition constants.c:373
const float DECAY_FOOD_BAKED_FRVG
Definition constants.c:871
const float DZPLAYER_CAMERA_FOV_EYEZOOM
FOV (vertical angle/2) in radians. Take care to modify also in "basicDefines.hpp".
Definition constants.c:819
const int ID_EMOTE_LISTENING
Definition constants.c:360
const int REFRESHER_MAX_DURATION_DEFAULT
Definition constants.c:856
const float ITEM_TEMPERATURE_TO_EXPLODE_MIN
misc
Definition constants.c:847
const int OPTICS_STATE_DAY
Definition constants.c:785
const int INPUT_EXCLUDE_MOUSE_ALL
Definition constants.c:592
const int ID_EMOTE_SHRUG
Definition constants.c:372
const float LOADING_SCREEN_HINT_INTERVAL
Definition constants.c:848
const int QUANTITY_COUNT
Definition constants.c:467
const float DECAY_FOOD_BAKED_MEAT
Definition constants.c:870
const float HEATISO_THRESHOLD_BAD
Definition constants.c:798
const int CAMERA_SHAKE_ARTILLERY_DISTANCE2
Definition constants.c:832
const int INVENTORY_ENTITY_DROP_OVERLAP_DEPTH
Definition constants.c:885
const float AI_MAX_BLOCKABLE_ANGLE
Definition constants.c:892
const int ID_EMOTE_MOVE
Definition constants.c:364
const float AI_CONTAMINATION_DMG_PER_SEC
Definition constants.c:893
const int REFRESHER_FREQUENCY_DEFAULT
Definition constants.c:857
const int ID_EMOTE_TAUNTKISS
Definition constants.c:339
const int ID_EMOTE_TAUNT
Definition constants.c:337
const int ID_EMOTE_SALUTE
Definition constants.c:356
const int CAMERA_SHAKE_ARTILLERY_DISTANCE
Definition constants.c:831
const float MINING_WOOD_FAST
Wood mining GameConstants, scaled by output. Should not be lower than ~1.5s!
Definition constants.c:835
const float MELEE_ITEM_DAMAGE
Definition constants.c:584
const int DEFAULT_CHARACTER_MENU_ID
Definition constants.c:825
const int ID_EMOTE_RPS_S
Definition constants.c:369
const int QUANTITY_HIDDEN
Definition constants.c:466
const float CLEAN_UNRESTRAIN_DAMAGE
Definition constants.c:827
const float REFRESHER_RADIUS
Definition constants.c:858
const float DECAY_RATE_ON_PLAYER
Definition constants.c:876
const int ID_EMOTE_DANCE
Definition constants.c:345
const int RESPAWN_MODE_CUSTOM
Definition constants.c:878
const float LOADING_SCREEN_HINT_INTERVAL_MIN
Definition constants.c:849
const int RESPAWN_MODE_RANDOM
Definition constants.c:879
const float TEMPERATURE_RATE_COOLING_INSIDE
Definition constants.c:794
const float WETNESS_RATE_DRYING_GROUND
Definition constants.c:792
const int ID_EMOTE_COME
Definition constants.c:366
const int DECAY_FOOD_FRVG_DRIED_CHANCE
Definition constants.c:874
const int ID_EMOTE_HOLD
Definition constants.c:359
const int ID_EMOTE_SUICIDE
Definition constants.c:344
const int ID_EMOTE_WATCHING
Definition constants.c:358
const float WETNESS_RATE_WETTING_LIQUID
Definition constants.c:790
const int ID_EMOTE_HEART
Definition constants.c:336
const float PVP_MAX_BLOCKABLE_ANGLE
Definition constants.c:899
const float TEMPERATURE_RATE_COOLING_GROUND
Definition constants.c:795
const float HEATISO_THRESHOLD_LOW
Definition constants.c:799
const int ID_EMOTE_CLAP
Definition constants.c:353
const int ID_EMOTE_POINT
Definition constants.c:354
const float DECAY_FOOD_DRIED_MEAT
Definition constants.c:872
const float HEATISO_THRESHOLD_HIGH
Definition constants.c:801
const float ENVIRO_TICK_ROOF_RC_CHECK
each X (ticks) is processed wetness on items on player
Definition constants.c:658
const float ENVIRO_ISOLATION_WETFACTOR_WET
Definition constants.c:696
const float ENVIRO_DRY_INCREMENT
amount of wetness added to items wet value each tick if is raining
Definition constants.c:660
const float ENVIRO_HEATCOMFORT_FEETPARTS_WEIGHT
how much this body parts (clothing) affects final heatcomfort
Definition constants.c:682
const float ENVIRO_WATER_TEMPERATURE_COEF
converts temperature of items to entities heatcomfort gain
Definition constants.c:670
const float ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED
Definition constants.c:703
const float ENVIRO_ISOLATION_WETFACTOR_SOAKED
Definition constants.c:697
const float ENVIRO_HIGH_NOON
amount of % wind affect drying/wetting
Definition constants.c:678
const float ENVIRO_TICK_RATE
Definition constants.c:656
const float ENVIRO_WET_PENALTY
how many % of environment temperature can be lowered by fog
Definition constants.c:667
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:668
const float ENVIRO_TICKS_TO_WETNESS_CALCULATION
in secs. how often should enviro effet process
Definition constants.c:657
const float LIQUID_RAIN_AMOUNT_COEF_BASE
Definition constants.c:708
const float ENVIRO_TEMPERATURE_WIND_COEF
Definition constants.c:676
const float ENVIRO_ISOLATION_WETFACTOR_DRENCHED
Definition constants.c:698
const float ENVIRO_TEMPERATURE_INSIDE_COEF
amount of ?C reduced for each 100 meteres of height above water level
Definition constants.c:673
const float ENVIRO_TEMP_EFFECT_ON_PLAYER
comfort temperature of environment for the player
Definition constants.c:688
const float ENVIRO_CLOUD_DRY_EFFECT
how much is the generic temp effect increased when player is next to a fireplace
Definition constants.c:663
const float ENVIRO_PLAYER_COMFORT_TEMP
highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)
Definition constants.c:687
const float ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS
Definition constants.c:706
const float ENVIRO_HIGH_TEMP_LIMIT
lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)
Definition constants.c:686
const float ENVIRO_FOG_TEMP_EFFECT
how many % of environment temperature can be lowered by clouds
Definition constants.c:666
const float ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED
Definition constants.c:702
const float ENVIRO_WET_INCREMENT
in secs. how often we should check if player is under the roof (raycast)
Definition constants.c:659
const float ENVIRO_HEATCOMFORT_BODYPARTS_WEIGHT
how much this head parts (clothing) affects final heatcomfort
Definition constants.c:681
const float ENVIRO_HEATCOMFORT_HEADPARTS_WEIGHT
when is sun highest on sky
Definition constants.c:680
const float ENVIRO_ISOLATION_HEALTHFACTOR_RUINED
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:662
const float ENVIRO_ISOLATION_HEALTHFACTOR_WORN
Definition constants.c:701
const float ENVIRO_WIND_EFFECT
windchill effect on base temperature
Definition constants.c:677
const float ENVIRO_PLAYER_HEATBUFFER_TICK
How much heat buffer increases per one enviro tick.
Definition constants.c:691
const float ENVIRO_HEATISOLATION_BACK_WEIGHT
how much this feet parts (clothing) affects final heatcomfort
Definition constants.c:683
const float ENVIRO_TEMPERATURE_HEIGHT_REDUCTION
heat entity generates if not moving
Definition constants.c:672
const float ENVIRO_HEATISOLATION_VEST_WEIGHT
weight of back for the sum of heat isolation
Definition constants.c:684
const float ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE
impact of item health (state) to the heat isolation
Definition constants.c:700
const float ENVIRO_ISOLATION_WETFACTOR_DAMP
Definition constants.c:695
const float ENVIRO_CLOUDS_TEMP_EFFECT
how many % of ENVIRO_SUN_INCREMENT is reduced by fog
Definition constants.c:665
const float ENVIRO_DEFAULT_ENTITY_HEAT
how many time is water colder than air
Definition constants.c:671
const float ENVIRO_PLAYER_HEATBUFFER_INCREASE
Multiplier of enviro temperature for heat buffer decrease (after its static timer runs out)
Definition constants.c:690
const float ENVIRO_PLAYER_HEATBUFFER_DECREASE
impact of enviro temperature on player (lower value = higher, cannot be zero or below!...
Definition constants.c:689
const float ENVIRO_FOG_DRY_EFFECT
how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky
Definition constants.c:664
const float ENVIRO_LOW_TEMP_LIMIT
weight of vest for the sum of heat isolation
Definition constants.c:685
const float ENVIRO_TEMPERATURE_UNDERROOF_COEF
increases temp inside vehicles
Definition constants.c:675
const float FIRE_ATTACHMENT_DAMAGE_PER_SECOND
various damage per second constants
Definition constants.c:712
const float ENVIRO_ITEM_HEAT_TRANSFER_COEF
how many times slower is wetting/drying items in backpacks
Definition constants.c:669
const float ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF
increases temp in interiors
Definition constants.c:674
const float ENVIRO_ISOLATION_WETFACTOR_DRY
Heat buffer static timer tick (set for 2s enviro tick, 180s to 1.0)
Definition constants.c:694
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:661
const string SHOW_QUICKBAR
Definition constants.c:539
const string SHOW_SERVERINFO
Definition constants.c:546
const string SHOW_HUD
Definition constants.c:540
const string SHOW_CONNECTIVITYINFO
Definition constants.c:543
const string HUD_BRIGHTNESS
Definition constants.c:541
const string ENABLE_BLEEDINGINDICATION
Definition constants.c:542
const string SHOW_CROSSHAIR
Definition constants.c:545
const float DAMAGE_RUINED_VALUE
Definition constants.c:758
const float DAMAGE_PRISTINE_VALUE
Definition constants.c:754
const float DAMAGE_DAMAGED_VALUE
Definition constants.c:756
const float DAMAGE_BADLY_DAMAGED_VALUE
Definition constants.c:757
const float DAMAGE_WORN_VALUE
Definition constants.c:755
const float ITEMSGEN_MIN_DISTANCE_TO_REPOSITION
Definition constants.c:394
const float ITEMSGEN_SPAWN_DISTANCE
Definition constants.c:395
const float ITEMSGEN_MAX_SPREAD
Definition constants.c:396
const int ITEMSGEN_ITEMS_AMOUNT
Definition constants.c:397
ITEMSGEN_TICK
const int STATE_RUINED
Definition constants.c:742
const int STATE_BADLY_DAMAGED
Definition constants.c:743
const int STATE_DAMAGED
Definition constants.c:744
const int STATE_PRISTINE
Definition constants.c:746
const int STATE_WORN
Definition constants.c:745
const int VARIABLE_LIQUIDTYPE
Definition constants.c:568
const int VARIABLE_ISLIT
Definition constants.c:569
const int VARIABLE_CLEANNESS
Definition constants.c:571
const int VARIABLE_COLOR
Definition constants.c:570
const int VARIABLE_TEMPERATURE
Definition constants.c:566
const int VARIABLE_QUANTITY
Definition constants.c:564
const int VARIABLE_WET
Definition constants.c:567
const int VARIABLE_ENERGY
Definition constants.c:565
const float STATE_DRY
Definition constants.c:770
const float STATE_SOAKING_WET
Definition constants.c:767
const float WEIGHT_SOAKING_WET
Definition constants.c:779
const float WEIGHT_DRENCHED
Definition constants.c:778
const float WEIGHT_WET
Definition constants.c:780
const float STATE_WET
Definition constants.c:768
const float WEIGHT_DRY
Definition constants.c:782
const float STATE_DRENCHED
Definition constants.c:766
const float STATE_DAMP
Definition constants.c:769
const float WEIGHT_DAMP
Definition constants.c:781
const float LIQUID_THROUGHPUT_FUELSTATION
Definition constants.c:513
const float LIQUID_THROUGHPUT_CAR_DEFAULT
Definition constants.c:511
const float LIQUID_THROUGHPUT_DEFAULT
Definition constants.c:509
const float LIQUID_THROUGHPUT_GENERATOR
Definition constants.c:512
const float LIQUID_THROUGHPUT_GASOLINECANISTER
Definition constants.c:510
const float LIQUID_THROUGHPUT_WELL
Definition constants.c:514
const float LIQUID_THROUGHPUT_TINY
Definition constants.c:508
const float LIQUID_THROUGHPUT_BARREL
Definition constants.c:515
const int LIQUID_BLOOD_AB_P
Definition constants.c:485
const int LIQUID_BLOOD_0_P
Definition constants.c:479
const int LIQUID_BLOOD_B_P
Definition constants.c:483
const int LIQUID_BLOOD_A_N
Definition constants.c:482
const int LIQUID_VODKA
Definition constants.c:491
const int GROUP_LIQUID_BLOOD
Definition constants.c:499
const int LIQUID_DISINFECTANT
Definition constants.c:495
const int LIQUID_BEER
Definition constants.c:492
const int LIQUID_GASOLINE
Definition constants.c:493
const int LIQUID_WATER
Definition constants.c:489
const int LIQUID_RIVERWATER
Definition constants.c:490
const int LIQUID_BLOOD_0_N
Definition constants.c:480
const int LIQUID_DIESEL
Definition constants.c:494
const int LIQUID_BLOOD_B_N
Definition constants.c:484
const int GROUP_LIQUID_ALL
Definition constants.c:500
const int LIQUID_BLOOD_A_P
Definition constants.c:481
const int LIQUID_SOLUTION
Definition constants.c:496
const int LIQUID_SALINE
Definition constants.c:487
const int LIQUID_BLOOD_AB_N
Definition constants.c:486
const string LOCK_FREELOOK
Definition constants.c:555
const string LOCK_SPRINT
Definition constants.c:554
const string LOCK_ZOOM
Definition constants.c:556
const int MENU_CONNECT_ERROR
Definition constants.c:189
const int MENU_NONE
Definition constants.c:149
const int MENU_TUTORIAL
Definition constants.c:182
const int MENU_HELP_SCREEN
Definition constants.c:171
const int MENU_TITLE_SCREEN
Definition constants.c:174
const int MENU_KEYBINDINGS
Definition constants.c:181
const int MENU_XBOX_CONTROLS
Definition constants.c:175
const int MENU_SCRIPTCONSOLE
Definition constants.c:163
const string CFG_SOUND_SETS
Definition constants.c:203
const string CFG_AMMO
Definition constants.c:198
const int MENU_WARNING_TELEPORT
Definition constants.c:188
const int MENU_LOGOUT
Definition constants.c:173
const int MENU_INSPECT
Definition constants.c:157
const int MENU_LOGIN_TIME
Definition constants.c:185
const int MENU_MAP
Definition constants.c:169
const int MENU_MAIN
Definition constants.c:160
const int MENU_SERVER_BROWSER
Definition constants.c:178
const string CFG_RECIPESPATH
Definition constants.c:201
const string CFG_VEHICLESPATH
Definition constants.c:195
const int MENU_WARNING_ITEMDROP
Definition constants.c:186
const string CFG_NONAI_VEHICLES
Definition constants.c:204
const int MENU_STARTUP
Definition constants.c:162
const string CFG_SOUND_SHADERS
Definition constants.c:202
const int MENU_RESPAWN_DIALOGUE
Definition constants.c:187
const int MENU_OPTIONS
Definition constants.c:161
const int MENU_CREDITS
Definition constants.c:183
const int MENU_CAMERA_TOOLS
Definition constants.c:179
const int MENU_CHARACTER
Definition constants.c:152
const int GUI_WINDOW_MISSION_LOADER
Definition constants.c:193
const int MENU_INVITE_TIMER
Definition constants.c:184
const int MENU_GESTURES
Definition constants.c:172
const int MENU_CHAT
Definition constants.c:153
const int MENU_LOGIN_QUEUE
Definition constants.c:177
const int MENU_SCENE_EDITOR
Definition constants.c:155
const int MENU_SCRIPTCONSOLE_DIALOG_PRESET_NAME
Definition constants.c:165
const int MENU_WARNING_INPUTDEVICE_DISCONNECT
Definition constants.c:190
const int MENU_CONTROLS_PRESET
Definition constants.c:167
const int MENU_EARLYACCESS
Definition constants.c:154
const int MENU_SCRIPTCONSOLE_DIALOG_PRESET_RENAME
Definition constants.c:166
const int MENU_INVENTORY
Definition constants.c:158
const int MENU_NOTE
Definition constants.c:168
const int MENU_LOADING
Definition constants.c:159
const int MENU_RADIAL_QUICKBAR
Definition constants.c:176
const string CFG_SOUND_TABLES
Definition constants.c:205
const int MENU_BOOK
Definition constants.c:170
const string CFG_SURFACES
Definition constants.c:200
const int MENU_LOC_ADD
Definition constants.c:150
const int MENU_INGAME
Definition constants.c:156
const string CFG_WEAPONSPATH
Definition constants.c:196
const int MENU_CHAT_INPUT
Definition constants.c:164
const int MENU_UNKNOWN
Definition constants.c:151
const int MENU_VIDEO
Definition constants.c:180
const int MENU_ANY
Definition constants.c:148
const string CFG_WORLDS
Definition constants.c:199
const string CFG_MAGAZINESPATH
Definition constants.c:197
const int MSG_NOTIFIERS_TICK
Definition constants.c:313
const int NUM_OF_CHANNELS
Definition constants.c:309
const int MSG_IMMUNE_REACTION
Definition constants.c:311
const int MSG_STATS_SYNCED
Definition constants.c:312
const int MSG_TEST_CHANNEL
Definition constants.c:310
const int MIN_TICK_MDFR_POOL_MAIN
Definition constants.c:321
const int MIN_TICK_MDFR_POOL_DISEASE
Definition constants.c:324
const int MIN_TICK_NOTIFIERS
Definition constants.c:325
const int MIN_TICK_MDFR_POOL_PLAYER
Definition constants.c:322
const int MIN_TICK_MDFR_POOL_ENVIRONMENT
Definition constants.c:323
const int SAT_INTERACT_ACTION
Definition constants.c:406
const int SAT_CRAFTING
Definition constants.c:407
const int SAT_DEBUG_ACTION
Definition constants.c:408
const float STAMINA_JUMP_THRESHOLD
Definition constants.c:635
const int STAMINA_GAIN_SWIM_PER_SEC
Definition constants.c:626
const float STAMINA_DRAIN_HOLD_BREATH_START
Definition constants.c:610
const float STAMINA_DRAIN_HOLD_BREATH_END
Definition constants.c:611
const float STAMINA_DRAIN_CLIMB
Definition constants.c:614
const float STAMINA_VAULT_THRESHOLD
Definition constants.c:636
const float STAMINA_REGEN_COOLDOWN_EXHAUSTION
Definition constants.c:644
const float STAMINA_CLIMB_THRESHOLD
Definition constants.c:637
const float STAMINA_WEIGHT_LIMIT_THRESHOLD
Definition constants.c:645
const float STAMINA_KG_TO_GRAMS
in grams (weight where the player is not penalized by stamina)
Definition constants.c:646
const float STAMINA_DRAIN_MELEE_LIGHT
Definition constants.c:615
const float STAMINA_MIN_CAP
Definition constants.c:632
const float STAMINA_DRAIN_VAULT
Definition constants.c:613
const float STAMINA_SYNC_RATE
Definition constants.c:647
const int STAMINA_GAIN_IDLE_PER_SEC
Definition constants.c:625
const int STAMINA_GAIN_ROLL_PER_SEC
Definition constants.c:628
const float STAMINA_MELEE_EVADE_THRESHOLD
Definition constants.c:642
const int STAMINA_GAIN_JOG_PER_SEC
Definition constants.c:623
const float STAMINA_DRAIN_MELEE_HEAVY
Definition constants.c:616
const float STAMINA_DRAIN_HOLD_BREATH_DURATION
Definition constants.c:620
const float STAMINA_DRAIN_JUMP
Definition constants.c:612
const float STAMINA_MELEE_HEAVY_THRESHOLD
Definition constants.c:641
const float STAMINA_DRAIN_MELEE_EVADE
Definition constants.c:617
const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC
Definition constants.c:606
const int STAMINA_DRAIN_SWIM_FAST_PER_SEC
Definition constants.c:607
const float STAMINA_GAIN_BONUS_CAP
Definition constants.c:629
const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC
Definition constants.c:604
const float STAMINA_ROLL_THRESHOLD
Definition constants.c:638
const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY
Definition constants.c:631
const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT
Definition constants.c:621
const float STAMINA_REGEN_COOLDOWN_DEPLETION
Definition constants.c:643
const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN
Definition constants.c:634
const int STAMINA_DRAIN_LADDER_FAST_PER_SEC
Definition constants.c:608
const float STAMINA_DRAIN_ROLL
Definition constants.c:618
const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC
Definition constants.c:605
const int STAMINA_GAIN_LADDER_PER_SEC
Definition constants.c:627
const float STAMINA_MAX
Definition constants.c:648
const int STAMINA_GAIN_WALK_PER_SEC
Definition constants.c:624
const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE
Definition constants.c:633
const int UA_STARTT
Definition constants.c:424
const int UA_IN_START
Definition constants.c:433
const int UA_FINISHED
Definition constants.c:420
const int UA_ERROR
Definition constants.c:439
const int UA_START
Definition constants.c:423
const int UA_CHECK_CON
Definition constants.c:429
const int UA_AM_ACCEPTED
Definition constants.c:431
const int UA_REPEAT
Definition constants.c:419
const int UA_AM_REJECTED
Definition constants.c:432
const int UA_FAILED
Definition constants.c:417
const int UA_INITIALIZE
Definition constants.c:428
const int UA_ANIM_EVENT
Definition constants.c:427
const int UA_SETEND_2
Definition constants.c:441
const int UA_NONE
Definition constants.c:416
const int UA_AM_PENDING
Definition constants.c:430
const int UA_CANCELT
Definition constants.c:425
const int UA_SPAWN_DUST_B
Definition constants.c:436
const int UA_SPAWN_DUST_A
Definition constants.c:435
const int UA_INTERRUPT
Definition constants.c:422
const int UA_FINISHEDT
Definition constants.c:426
const int UA_IN_END
Definition constants.c:434
const int UA_IN_CRAFTING
Definition constants.c:437
const int UA_PROCESSING
Definition constants.c:418
const int UA_CANCEL
Definition constants.c:421
const int IDC_RESTART
Definition constants.c:117
const int IDC_INT_EXIT
Definition constants.c:138
const int IDC_MAIN_PREV_CHARACTER
Definition constants.c:120
const int IDC_INT_RETRY_CUSTOM
Definition constants.c:137
const int IDC_BOOK_VIEWER_PREV
Definition constants.c:132
const int IDC_MAIN_OPTIONS
Definition constants.c:122
const int IDC_MAIN_MULTIPLAYER
Definition constants.c:123
const int IDC_MULTI_INVITE
Definition constants.c:130
const int IDC_MAIN_QUIT
Definition constants.c:124
const int IDC_MAIN_CHARACTER
Definition constants.c:127
const int IDC_MAIN_CONTINUE
Definition constants.c:125
const int IDC_INT_RETRY
ingame menu
Definition constants.c:136
const int IDC_BOOK_VIEWER_NEXT
Definition constants.c:133
const int IDC_MULTI_REFRESH
Definition constants.c:129
const int IDC_CANCEL
Definition constants.c:116
const int IDC_MAIN_NEXT_CHARACTER
Definition constants.c:119
const int IDC_MAIN_ONLINE
Definition constants.c:128
const int IDC_MAIN_PLAY
Definition constants.c:126
const int IDC_OK
Definition constants.c:115