From bb477a87338c1385728f2364c1efc219666c54e1 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Fri, 25 Oct 2013 00:37:06 -0500 Subject: [PATCH] Caribou support part 2 --- .../R3F_Realism/R3F_Realism_Init.sqf | 21 + .../R3F_Realism/R3F_Realism_configuration.cfg | 12 + .../R3F_Realism/R3F_Stringtable.csv | 12 + .../R3F_Realism/R3F_Tired/R3F_DoTired.sqf | 130 ++ .../R3F_Tired/R3F_TIRED_Configuration.cfg | 131 ++ .../R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf | 30 + .../R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf | 25 + .../R3F_Realism/R3F_Tired/R3F_stringtable.csv | 3 + .../R3F_Realism/R3F_Weight/R3F_CfgWeight.h | 1800 +++++++++++++++++ .../R3F_Realism/R3F_Weight/R3F_DoWeight.sqf | 50 + .../R3F_Weight/R3F_WEIGHT_Configuration.cfg | 22 + .../R3F_Weight/R3F_WEIGHT_Stringtable.csv | 12 + .../R3F_Weight/R3F_Weight_Fnct.sqf | 81 + .../R3F_Weight/R3F_Weight_Init.sqf | 13 + .../R3F_Realism/R3F_Weight/R3F_resource.h | 10 + .../DayZ_Epoch_21.Caribou/description.ext | 150 ++ .../DayZ_Epoch_21.Caribou/dynamic_vehicle.sqf | 187 ++ .../MPMissions/DayZ_Epoch_21.Caribou/init.sqf | 116 ++ .../DayZ_Epoch_21.Caribou/mission.sqm | 1 - .../DayZ_Epoch_21.Caribou/stringtable.csv | 14 + 20 files changed, 2819 insertions(+), 1 deletion(-) create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_Init.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_configuration.cfg create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Stringtable.csv create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_DoTired.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_TIRED_Configuration.cfg create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_stringtable.csv create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_CfgWeight.h create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_DoWeight.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Configuration.cfg create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Stringtable.csv create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Init.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_resource.h create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/dynamic_vehicle.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf create mode 100644 Server Files/MPMissions/DayZ_Epoch_21.Caribou/stringtable.csv diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_Init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_Init.sqf new file mode 100644 index 000000000..89daf64ef --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_Init.sqf @@ -0,0 +1,21 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#include "R3F_Realism_Configuration.cfg" + +#ifdef R3F_REALISM_USE_WEIGHT + _void = [] execVM "R3F_realism\R3F_Weight\R3F_DoWeight.sqf"; +#endif + + +#ifdef R3F_REALISM_USE_TIRED + _void = [] execVM "R3F_realism\R3F_Tired\R3F_Tired_Init.sqf"; +#endif + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_configuration.cfg b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_configuration.cfg new file mode 100644 index 000000000..72afc2a8c --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Realism_configuration.cfg @@ -0,0 +1,12 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#define R3F_REALISM_USE_WEIGHT +#define R3F_REALISM_USE_TIRED diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Stringtable.csv b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Stringtable.csv new file mode 100644 index 000000000..fca6a4ab6 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Stringtable.csv @@ -0,0 +1,12 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#include "R3F_Weight\R3F_WEIGHT_Stringtable.csv" + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_DoTired.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_DoTired.sqf new file mode 100644 index 000000000..6ab215092 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_DoTired.sqf @@ -0,0 +1,130 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.02 +@date 20101011 +*****************************************************************************/ + +#include "R3F_TIRED_Configuration.cfg" + +private ["_level", "_n", "_s"]; + +//_voil = [] call R3F_TIRED_FNCT_MkVoile; +//[_voil,1] call R3F_TIRED_FNCT_Voile_Noir; + +_n = 0; +_posATL = 0; + +#ifdef R3F_TIRED_CSV_EXPORT +_s = format["""Duree"",""Distance From"",""Distance To"",""Vitesse"",""Fatigue"",""Black Level"",""poids"",""Counter"""]; +_s call FNC_PrintToRPT; +#endif + +R3F_TIRED_Accumulator = 0; +sleep 1; +_level = 1; + +while {true} do { + + R3F_TIRED_POIDS_TOTAL_PLAYER= R3F_Weight + R3F_TIRED_WEIGHT_PLAYER_EMPTY; + + if (R3F_weight < R3F_TIRED_WEIGHT_LEVEL3 )then { + if (r3f_weight < R3F_TIRED_WEIGHT_LEVEL2) then { + if (r3f_weight < R3F_TIRED_WEIGHT_LEVEL1 ) then { + R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO1; + } else { + R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO2; + }; + } else { + R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO3; + }; + } else { + R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO4; + }; + + if (alive player) then { + switch (toArray (animationState player) select 5) do { + case 112: { + R3F_TIRED_Ratio_Position = R3F_TIRED_DOWN_LEVEL; + }; + case 107:{ + R3F_TIRED_Ratio_Position=R3F_TIRED_KNEE_LEVEL; + }; + case 101:{ + R3F_TIRED_Ratio_Position = R3F_TIRED_UP_LEVEL; + }; + }; + + R3F_TIRED_vitesse_de_mon_joueur = [0,0,0] distance velocity player; + R3F_TIRED_coeff_mon_elevation_en_z = 0 max ((velocity player select 2) / R3F_TIRED_WEIGHT_CLIMB_FACTOR); + + _posATL = (getPosATL player) select 2; + + + if((vehicle player == player) && (_posATL < 100)) then { + R3F_TIRED_Accumulator = R3F_TIRED_Accumulator + + (R3F_TIRED_POIDS_TOTAL_PLAYER * R3F_TIRED_vitesse_de_mon_joueur * R3F_TIRED_Ratio_Position * R3F_TIRED_WEIGHT_SPEED_RATIO*R3F_TIRED_Ratio_Overweight) + + (R3F_TIRED_POIDS_TOTAL_PLAYER * R3F_TIRED_coeff_mon_elevation_en_z * R3F_TIRED_WEIGHT_LEVEL2); + + }; + + R3F_TIRED_Accumulator = 0 max (R3F_TIRED_Accumulator - R3F_TIRED_Ratio_Recovery); + + _level = ((R3F_TIRED_Accumulator / R3F_TIRED_BLACKOUT_LEVEL) * 100); + _level = 0 max (1 - (_level / 100)); + + #ifdef R3F_TIRED_DEBUG + hintsilent format["Fatique : %1/%2\nBlack level : %3\nPoids total : %4\n Poids armement : %5", + R3F_TIRED_Accumulator, + R3F_TIRED_BLACKOUT_LEVEL, + _level, + R3F_TIRED_POIDS_TOTAL_PLAYER, + R3F_Weight]; + #endif + + [_level] call R3F_TIRED_FNCT_Voile_Noir; + + if (R3F_TIRED_Accumulator > R3F_TIRED_BLACKOUT_LEVEL and scriptDone R3F_TIRED_Handle_Blackout_Effect and scriptDone R3F_TIRED_Handle_Blur_Effect) then { + R3F_TIRED_Handle_Blackout_Effect = [] spawn R3F_TIRED_FNCT_DoBlackVanish; + }; + } else { + R3F_TIRED_Accumulator = 0; + }; + + if (R3F_TIRED_GLOBAL_TIRING + && R3F_TIRED_vitesse_de_mon_joueur > 4 + && R3F_TIRED_Ratio_Recovery > R3F_TIRED_RATIO_RECOVERING + ) then { + R3F_TIRED_Counter_Time= R3F_TIRED_Counter_Time + 1; + }; + + + #ifdef R3F_TIRED_CSV_EXPORT + _s = format["%1,%2,%3,%4,%5,%6,%7,%8", + _n, + (player distance flag_start), + (player distance flag_end), + R3F_TIRED_vitesse_de_mon_joueur, + R3F_TIRED_Accumulator, + _level, + R3F_Weight, + R3F_TIRED_Counter_Time]; + + + _s call FNC_PrintToRPT; + #endif + + if ((R3F_TIRED_Counter_Time > R3F_TIRED_TIME_RECOVERING)) then { + R3F_TIRED_Ratio_Recovery = R3F_TIRED_Ratio_Recovery - 1; + R3F_TIRED_Counter_Time = 0; + }; + + sleep 1; + _n = _n + 1; +}; + +//[_voil] call R3F_TIRED_FNCT_Effect_Off; + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_TIRED_Configuration.cfg b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_TIRED_Configuration.cfg new file mode 100644 index 000000000..407f869bd --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_TIRED_Configuration.cfg @@ -0,0 +1,131 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +//Uncomment to write in arma.rpt a csv file for excel to trace some graphics +// #define R3F_TIRED_CSV_EXPORT + +//Uncomment to show some informations in game +// #define R3F_TIRED_DEBUG + +//adjustment player weight with helmet jacket Rangers Light equipment (not weapons) +#define R3F_TIRED_WEIGHT_PLAYER_EMPTY 90 + +//Predefined models for an easy setting +// uncomment only one setting +// #define R3F_TIRED_SET_MODE_EASY +#define R3F_TIRED_SET_MODE_UBEREASY +//#define R3F_TIRED_SET_MODE_NORMAL +//#define R3F_TIRED_SET_MODE_HARD + +//adjustment weight * speed player +#define R3F_TIRED_WEIGHT_SPEED_RATIO 1 + + +#ifdef R3F_TIRED_SET_MODE_UBEREASY + + // adjustment onset threshold blackout effect + #define R3F_TIRED_BLACKOUT_LEVEL 100000 + + // adjustment player attitude * weight (stand up, down, crouch) + #define R3F_TIRED_DOWN_LEVEL 0.9 + #define R3F_TIRED_KNEE_LEVEL 0.6 + #define R3F_TIRED_UP_LEVEL 0.5 + + #define R3F_TIRED_WEIGHT_CLIMB_FACTOR 20 + + //adjustment threshold weight agravante factor + #define R3F_TIRED_WEIGHT_LEVEL1 40 + #define R3F_TIRED_WEIGHT_LEVEL2 50 + #define R3F_TIRED_WEIGHT_LEVEL3 60 + + #define R3F_TIRED_SHORTNESS_THRESHOLD 0.8 + #define R3F_TIRED_UNCONSCIOUSNESS_DURATION 1 +#endif + +#ifdef R3F_TIRED_SET_MODE_EASY + + // adjustment onset threshold blackout effect + #define R3F_TIRED_BLACKOUT_LEVEL 70000 + + // adjustment player attitude * weight (stand up, down, crouch) + #define R3F_TIRED_DOWN_LEVEL 1.8 + #define R3F_TIRED_KNEE_LEVEL 1.2 + #define R3F_TIRED_UP_LEVEL 1 + + #define R3F_TIRED_WEIGHT_CLIMB_FACTOR 20 + + //adjustment threshold weight agravante factor + #define R3F_TIRED_WEIGHT_LEVEL1 25 + #define R3F_TIRED_WEIGHT_LEVEL2 30 + #define R3F_TIRED_WEIGHT_LEVEL3 40 + + #define R3F_TIRED_SHORTNESS_THRESHOLD 0.8 + #define R3F_TIRED_UNCONSCIOUSNESS_DURATION 10 +#endif + +#ifdef R3F_TIRED_SET_MODE_NORMAL + + // adjustment onset threshold blackout effect + #define R3F_TIRED_BLACKOUT_LEVEL 50000 + + //adjustment player attitude * weight (stand up, down, crouch) + #define R3F_TIRED_DOWN_LEVEL 3 + #define R3F_TIRED_KNEE_LEVEL 1.5 + #define R3F_TIRED_UP_LEVEL 1 + + #define R3F_TIRED_WEIGHT_CLIMB_FACTOR 10 + + //adjustment threshold weight agravante factor + #define R3F_TIRED_WEIGHT_LEVEL1 15 + #define R3F_TIRED_WEIGHT_LEVEL2 20 + #define R3F_TIRED_WEIGHT_LEVEL3 30 + + + #define R3F_TIRED_SHORTNESS_THRESHOLD 0.6 + #define R3F_TIRED_UNCONSCIOUSNESS_DURATION 30 +#endif + +#ifdef R3F_TIRED_SET_MODE_HARD + + // adjustment onset threshold blackout effect + #define R3F_TIRED_BLACKOUT_LEVEL 40000 + + // adjustment player attitude * weight (stand up, down, crouch) + #define R3F_TIRED_DOWN_LEVEL 4 + #define R3F_TIRED_KNEE_LEVEL 2 + #define R3F_TIRED_UP_LEVEL 1 + + #define R3F_TIRED_WEIGHT_CLIMB_FACTOR 5 + + // adjustment threshold weight agravante factor + #define R3F_TIRED_WEIGHT_LEVEL1 10 + #define R3F_TIRED_WEIGHT_LEVEL2 17 + #define R3F_TIRED_WEIGHT_LEVEL3 25 + + #define R3F_TIRED_SHORTNESS_THRESHOLD 0.3 + #define R3F_TIRED_UNCONSCIOUSNESS_DURATION 60 +#endif + +// ratio of threshold weight +#define R3F_TIRED_WEIGHT_RATIO1 0.3 /* for weight < 10 kg */ +#define R3F_TIRED_WEIGHT_RATIO2 0.4 /* for weight 10 à 20 kg */ +#define R3F_TIRED_WEIGHT_RATIO3 0.6 /* for weight 20 à 30 kg */ +#define R3F_TIRED_WEIGHT_RATIO4 0.7 /* for weight > 30 kg */ + + +// activation / deactivation unit recup loss over time (true / false) +#define R3F_TIRED_GLOBAL_TIRING true + +// adjustment recovery rate +#define R3F_TIRED_TIME_RECOVERING 100 +#define R3F_TIRED_RATIO_RECOVERING 360 + +#define R3F_TIRED_WITH_VANISH true + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf new file mode 100644 index 000000000..6e6615d1a --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf @@ -0,0 +1,30 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#include "R3F_TIRED_Configuration.cfg" + +FNC_PrintToRPT = { + diag_log text _this; +}; + +R3F_TIRED_FNCT_Voile_Noir = { + _level = _this select 0; + if(_level < R3F_TIRED_SHORTNESS_THRESHOLD ) then{ + playSound "heartbeat_1"; + addCamShake [2, 1, 25]; + }; + +}; +R3F_TIRED_FNCT_DoBlackVanish = { + [player,0.1] call fnc_usec_damageUnconscious; + [_refObj,"scream",3,false] call dayz_zombieSpeak; + cutText ["You are overburdened.", "PLAIN DOWN"]; +}; + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf new file mode 100644 index 000000000..3a655adcd --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf @@ -0,0 +1,25 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#include "R3F_TIRED_Configuration.cfg" + +call compile preprocessFile "R3F_realism\R3F_Tired\R3F_Tired_Fnct.sqf"; + +R3F_Weight = 0; + +R3F_TIRED_Ratio_Position = 0; +R3F_TIRED_Accumulator = 0; +R3F_TIRED_Handle_Blur_Effect = [] spawn {}; +R3F_TIRED_Handle_Blackout_Effect = [] spawn {}; +R3F_TIRED_Counter_Time = 0; +R3F_TIRED_Ratio_Recovery = R3F_TIRED_RATIO_RECOVERING; +R3F_TIRED_Ratio_Overweight = 1; + +_void = [] execVM "R3F_Realism\R3F_Tired\R3F_DoTired.sqf"; \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_stringtable.csv b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_stringtable.csv new file mode 100644 index 000000000..597997490 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Tired/R3F_stringtable.csv @@ -0,0 +1,3 @@ + +R3F_VERSION_TIRED, "1.02", "1.02" + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_CfgWeight.h b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_CfgWeight.h new file mode 100644 index 000000000..468d0360b --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_CfgWeight.h @@ -0,0 +1,1800 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +class CfgWeight +{ + class Weapons + { + class SCAR_L_STD_Mk4CQT + { + weight = 3.6; + }; + class SCAR_L_STD_HOLO + { + weight = 3.5; + }; + class SCAR_L_STD_EGLM_TWS + { + weight = 5.3; + }; + class SCAR_L_STD_EGLM_RCO + { + weight = 4.5; + }; + class SCAR_L_CQC_Holo + { + weight = 3.7; + }; + class SCAR_L_CQC_EGLM_Holo + { + weight = 5; + }; + class SCAR_L_CQC_CCO_SD + { + weight = 3.7; + }; + class SCAR_L_CQC + { + weight = 3.5; + }; + class SCAR_H_STD_EGLM_Spect + { + weight = 5.5; + }; + class SCAR_H_CQC_CCO_SD + { + weight = 4; + }; + class SCAR_H_CQC_CCO + { + weight = 4; + }; + class SCAR_H_STD_TWS_SD + { + weight = 5.2; + }; + class SCAR_H_LNG_Sniper_SD + { + weight = 5; + }; + class SCAR_H_LNG_Sniper + { + weight = 5; + }; + class M4A3_RCO_GL_EP1 + { + weight = 4.5; + }; + class M4A3_CCO_EP1 + { + weight = 3; + }; + class M14_EP1 + { + weight = 5.5; + }; + class FN_FAL + { + weight = 4.5; + }; + class FN_FAL_ANPVS + { + weight=5.5; + }; + class glock17_EP1 + { + weight = 0.7; + }; + class G36A_camo + { + weight = 3.6; + }; + class G36C_camo + { + weight = 2.8; + }; + class G36K_camo + { + weight = 3; + }; + class G36_C_SD_camo + { + weight = 3.6; + }; + class revolver_EP1 + { + weight = 1; + }; + class revolver_gold_EP1 + { + weight = 1; + }; + class UZI_SD_EP1 + { + weight = 1.9; + }; + class UZI_EP1 + { + weight = 1.7; + }; + class Sa61_EP1 + { + weight = 1.3; + }; + class M249_EP1 + { + weight = 6.5; + }; + class M249_TWS_EP1 + { + weight = 11; + }; + class M249_m145_EP1 + { + weight = 8; + }; + class M60A4_EP1 + { + weight = 10; + }; + class m240_scoped_EP1 + { + weight = 14; + }; + class MG36_camo + { + weight = 3.6; + }; + class Mk_48_DES_EP1 + { + weight = 8.2; + }; + class M32_EP1 + { + weight = 6; + }; + class M79_EP1 + { + weight = 2.7; + }; + class Mk13_EP1 + { + weight = 2.7; + }; + class m107_TWS_EP1 + { + weight = 14.3; + }; + class M24_des_EP1 + { + weight = 6; + }; + class M110_TWS_EP1 + { + weight = 7.7; + }; + class M110_NVG_EP1 + { + weight = 7.5; + }; + class Sa58V_RCO_EP1 + { + weight = 3.3; + }; + class Sa58V_EP1 + { + weight = 3.1; + }; + class Sa58V_CCO_EP1 + { + weight = 3.2; + }; + class Sa58P_EP1 + { + weight = 3.1; + }; + class MAAWS + { + weight = 7.5; + }; + class M47Launcher_EP1 + { + weight = 7; + }; + class M16A4_ACG + { + weight = 3.8; + }; + class M16A4 + { + weight = 3.8; + }; + class M16A2 + { + weight = 3.8; + }; + class M16A4_ACG_GL + { + weight = 5.2; + }; + class BAF_L85A2_RIS_Holo + { + weight = 5.2; + }; + class FN_FAL_ANPVS4 + { + weight = 5.7; + }; + + + + class M16A4_GL + { + weight = 5.2; + }; + class M16A2GL + { + weight = 5.2; + }; + class M4A1_AIM_SD_camo + { + weight = 3; + }; + class M4A1_Aim_camo + { + weight = 3; + }; + class M4A1_Aim + { + weight = 3; + }; + class M4A1 + { + weight = 3; + }; + class M4A1_HWS_GL_Camo + { + weight = 4.5; + }; + class M4A1_HWS_GL_SD_Camo + { + weight = 4.5; + }; + class M4A1_HWS_GL + { + weight = 4.5; + }; + class M4A1_RCO_GL + { + weight = 4.5; + }; + class M8_carbine + { + weight = 3.4; + }; + class M8_compact + { + weight = 3; + }; + class M8_carbineGL + { + weight = 4.8; + }; + class MP5SD + { + weight = 2.6; + }; + class MP5A5 + { + weight = 2.6; + }; + class G36_C_SD_eotech + { + weight = 3.6; + }; + class BAF_AS50_scoped + { + weight = 5.6; + }; + class BAF_LRR_scoped + { + weight = 5.6; + }; + class m107_DZ + { + weight = 14; + }; + + class G36a + { + weight = 3.6; + }; + + class G36C + { + weight = 2.8; + }; + class G36 + { + weight = 3; + }; + class M1014 + { + weight = 3.8; + }; + class Remington870_lamp + { + weight = 4.0; + }; + class MR43 + { + weight = 3.5; + }; + class Winchester1866 + { + weight = 2.8; + }; + + class M240 + { + weight = 13; + }; + + class M240_DZ + { + weight = 13; + }; + class M249 + { + weight = 6.5; + }; + class M249_DZ + { + weight = 6.5; + }; + class Mk_48 + { + weight = 8.2; + }; + + class Mk_48_DZ + { + weight = 8.2; + }; + class M8_SAW + { + weight = 4.5; + }; + class MG36 + { + weight = 3.6; + }; + class M4SPR + { + weight = 4.5; + }; + class M8_sharpshooter + { + weight = 4.5; + }; + class DMR + { + weight = 5.5; + }; + class M24 + { + weight = 6; + }; + class M40A3 + { + weight = 7.5; + }; + class M107 + { + weight = 14; + }; + class Colt1911 + { + weight = 1.1; + }; + class M9 + { + weight = 1; + }; + class M9SD + { + weight = 1.2; + }; + class 8Rnd_B_Beneli_74Slug + { + weight = 0.3; + }; + class SteelBolt + { + weight = 0.1; + }; + class SteelBolt4pack + { + weight = 0.3; + }; + class Javelin + { + weight = 16; + }; + class M136 + { + weight = 7.6; + }; + class Stinger + { + weight = 10; + }; + class SMAW + { + weight = 7.5; + }; + class Binocular + { + weight = 1; + }; + class Binocular_Vector + { + weight = 1; + }; + class NVGoggles + { + weight = 1; + }; + class Laserdesignator + { + weight = 5.5; + }; + class ItemCompass + { + weight = 0.1; + }; + class ItemGPS + { + weight = 0.3; + }; + class ItemWatch + { + weight = 0.1; + }; + class ItemMap + { + weight = 0.1; + }; + class ItemRadio + { + weight = 0.3; + }; + class AKS_GOLD + { + weight = 4.0; + }; + class AKS_74 + { + weight = 2.7; + }; + class AKS_74_GOSHAWK + { + weight = 3.5; + }; + class AKS_74_NSPU + { + weight = 3.5; + }; + class AK_74_GL_kobra + { + weight = 4.2; + }; + class SVD_NSPU_EP1 + { + weight = 6.9; + }; + class SVD_des_EP1 + { + weight = 6.3; + }; + class LeeEnfield + { + weight = 4; + }; + class AK_107_kobra + { + weight = 3.8; + }; + class AK_107_GL_kobra + { + weight = 5.3; + }; + class AK_107_pso + { + weight = 4; + }; + class AK_107_GL_pso + { + weight = 5.5; + }; + class AKS_74_U + { + weight = 2.7; + }; + class AKS_74_UN_kobra + { + weight = 3; + }; + class AKS_74_pso + { + weight = 3.6; + }; + class AKS_74_kobra + { + weight = 3; + }; + class AK_74 + { + weight = 3.1; + }; + class AK_74_GL + { + weight = 4.6; + }; + class AK_47_M + { + weight = 3.2; + }; + class AK_47_S + { + weight = 3; + }; + class PK + { + weight = 9; + }; + class RPK_74 + { + weight = 4.7; + }; + class Pecheneg + { + weight = 9; + }; + class Huntingrifle + { + weight = 4; + }; + class KSVK + { + weight = 12; + }; + class SVD + { + weight = 6.2; + }; + class SVD_CAMO + { + weight = 6.3; + }; + class Makarov + { + weight = 0.75; + }; + class MakarovSD + { + weight = 0.9; + }; + class Saiga12K + { + weight = 3.5; + }; + class Bizon + { + weight = 2.1; + }; + class bizon_silenced + { + weight = 2.3; + }; + class VSS_Vintorez + { + weight = 3.2; + }; + class RPG7V + { + weight = 6.3; + }; + class RPG18 + { + weight = 1.4; + }; + class MetisLauncher + { + weight = 16; + }; + class Igla + { + weight = 7; + }; + class Strela + { + weight = 6; + }; + }; + + + class Magazines + { + class 30Rnd_762x39_SA58 + { + weight = 0.8; + }; + class 20rnd_762x51_SB_SCAR + { + weight = 0.5; + }; + class 20rnd_762x51_B_SCAR + { + weight = 0.5; + }; + class 20Rnd_762x51_FNFAL + { + weight = 0.5; + }; + class 100Rnd_556x45_M249 + { + weight = 5; + }; + class 100Rnd_556x45_BetaCMag + { + weight = 5; + }; + class 20Rnd_B_765x17_Ball + { + weight = 0.4; + }; + class 10Rnd_B_765x17_Ball + { + weight = 0.2; + }; + class 30Rnd_9x19_UZI_SD + { + weight = 0.4; + }; + class 30Rnd_9x19_UZI + { + weight = 0.4; + }; + class 17Rnd_9x19_glock17 + { + weight = 0.2; + }; + class 6Rnd_45ACP + { + weight = 0.1; + }; + class MAAWS_HEAA + { + weight = 6; + }; + class MAAWS_HEDP + { + weight = 6; + }; + class Dragon_EP1 + { + weight = 11; + }; + class 30Rnd_556x45_StanagSD + { + weight = 0.5; + }; + class 30Rnd_556x45_Stanag + { + weight = 0.5; + }; + class 30Rnd_556x45_G36 + { + weight = 0.5; + }; + class 30Rnd_556x45_G36SD + { + weight = 0.5; + }; + class 15Rnd_W1866_Slug + { + weight = 0.5; + }; + class 30Rnd_9x19_MP5 + { + weight = 0.4; + }; + class 30Rnd_9x19_MP5SD + { + weight = 0.4; + }; + class 15Rnd_9x19_M9 + { + weight = 0.2; + }; + class 15Rnd_9x19_M9SD + { + weight = 0.2; + }; + class 1Rnd_HE_M203 + { + weight = 0.25; + }; + class 1Rnd_Smoke_M203 + { + weight = 0.25; + }; + class 1Rnd_SmokeGreen_M203 + { + weight = 0.25; + }; + class 1Rnd_SmokeRed_M203 + { + weight = 0.25; + }; + class 1Rnd_SmokeYellow_M203 + { + weight = 0.25; + }; + class FlareRed_M203 + { + weight = 0.25; + }; + class FlareGreen_M203 + { + weight = 0.25; + }; + class FlareWhite_M203 + { + weight = 0.25; + }; + class FlareYellow_M203 + { + weight = 0.25; + }; + class 6Rnd_HE_M203 + { + weight = 1.5; + }; + class 6Rnd_FlareRed_M203 + { + weight = 1.5; + }; + class 6Rnd_FlareGreen_M203 + { + weight = 1.5; + }; + class 6Rnd_FlareWhite_M203 + { + weight = 1.5; + }; + class 6Rnd_FlareYellow_M203 + { + weight = 1.5; + }; + class 6Rnd_Smoke_M203 + { + weight = 1.5; + }; + class 6Rnd_SmokeRed_M203 + { + weight = 1.5; + }; + class 6Rnd_SmokeGreen_M203 + { + weight = 1.5; + }; + class 6Rnd_SmokeYellow_M203 + { + weight = 1.5; + }; + class 10Rnd_127x99_m107 + { + weight = 0.5; + }; + class 5Rnd_762x51_M24 + { + weight = 0.2; + }; + class 20Rnd_762x51_DMR + { + weight = 0.5; + }; + class 8Rnd_B_Beneli_Pellets + { + weight = 0.3; + }; + class 20Rnd_556x45_Stanag + { + weight = 0.4; + }; + class 200Rnd_556x45_M249 + { + weight = 10; + }; + class 100Rnd_762x51_M240 + { + weight = 8; + }; + class Javelin + { + weight = 12; + }; + class M136 + { + weight = 6; + }; + class Stinger + { + weight = 6; + }; + class SMAW_HEAA + { + weight = 6; + }; + class SMAW_HEDP + { + weight = 6; + }; + class HandGrenade_west + { + weight = 0.5; + }; + class PipeBomb + { + weight = 4; + }; + class TimeBomb + { + weight = 4; + }; + class Mine + { + weight = 8; + }; + class SmokeShellRed + { + weight = 0.4; + }; + class SmokeShellYellow + { + weight = 0.4; + }; + class SmokeShellGreen + { + weight = 0.4; + }; + class SmokeShellBlue + { + weight = 0.4; + }; + class SmokeShellPurple + { + weight = 0.4; + }; + class SmokeShellOrange + { + weight = 0.4; + }; + class SmokeShell + { + weight = 0.4; + }; + + class 10x_303 + { + weight = 0.15; + }; + class 30Rnd_545x39_AK + { + weight = 0.5; + }; + class 30Rnd_545x39_AKSD + { + weight = 0.5; + }; + class 75Rnd_545x39_RPK + { + weight = 1.25; + }; + class 30Rnd_762x39_AK47 + { + weight = 0.8; + }; + class 100Rnd_762x54_PK + { + weight = 8; + }; + class 5x_22_LR_17_HMR + { + weight = 0.15; + }; + class 5Rnd_127x108_KSVK + { + weight = 0.3; + }; + class 10Rnd_762x54_SVD + { + weight = 0.4; + }; + class 10Rnd_9x39_SP5_VSS + { + weight = 0.2; + }; + class 20Rnd_9x39_SP5_VSS + { + weight = 0.4; + }; + class 8Rnd_9x18_Makarov + { + weight = 0.15; + }; + class 8Rnd_9x18_MakarovSD + { + weight = 0.15; + }; + class 8Rnd_B_Saiga12_74Slug + { + weight = 0.3; + }; + class 64Rnd_9x19_Bizon + { + weight = 0.8; + }; + class 64Rnd_9x19_SD_Bizon + { + weight = 0.8; + }; + class 1Rnd_HE_GP25 + { + weight = 0.25; + }; + class FlareWhite_GP25 + { + weight = 0.25; + }; + class FlareGreen_GP25 + { + weight = 0.25; + }; + class FlareRed_GP25 + { + weight = 0.25; + }; + class FlareYellow_GP25 + { + weight = 0.25; + }; + class 1Rnd_SMOKE_GP25 + { + weight = 0.25; + }; + class 1Rnd_SMOKERED_GP25 + { + weight = 0.25; + }; + class 1Rnd_SMOKEGREEN_GP25 + { + weight = 0.25; + }; + class 1Rnd_SMOKEYELOW_GP25 + { + weight = 0.25; + }; + class PG7V + { + weight = 2.2; + }; + class PG7VL + { + weight = 2.6; + }; + class PG7VR + { + weight = 4.5; + }; + class OG7 + { + weight = 2; + }; + class RPG18 + { + weight = 1.2; + }; + class AT13 + { + weight = 14; + }; + class Igla + { + weight = 11; + }; + class Strela + { + weight = 10; + }; + class HandGrenade_east + { + weight = 0.5; + }; + class IR_Strobe_Target + { + weight = 0.4; + }; + class Laserbatteries + { + weight = 0.005; + }; + + class ItemPainkiller + { + weight = 0.1; + }; + class ItemMorphine + { + weight = 0.1; + }; + class ItemEpinephrine + { + weight = 0.1; + }; + class ItemBloodbag + { + weight = 0.4; + }; + class ItemHeatPack + { + weight = 0.1; + }; + + + class ItemAntibiotic + { + weight = 0.1; + }; + class ItemWaterbottle + { + weight = 0.5; + }; + class ItemWaterbottleBoiled + { + weight = 0.5; + }; + class ItemSodaMdew + { + weight = 0.2; + }; + class ItemSodaPepsi + { + weight = 0.2; + }; + class ItemSodaCoke + { + weight = 0.2; + }; + class FoodCanSardines + { + weight = 0.2; + }; + class FoodCanBakedBeans + { + weight = 0.2; + }; + class FoodCanFrankBeans + { + weight = 0.2; + }; + class FoodBioMeat + { + weight = 0.2; + }; + class FoodCanPasta + { + weight = 0.2; + }; + class FoodCanUnlabeled + { + weight = 0.2; + }; + + + + class FoodMRE + { + weight = 0.4; + }; + class FoodPistachio + { + weight = 0.003; + }; + class FoodNutmix + { + weight = 0.003; + }; + + + + + + class FoodSteakCooked + { + weight = 0.25; + }; + class FoodmeatCooked + { + weight = 0.25; + }; + class FoodbeefCooked + { + weight = 0.25; + }; + class FoodmuttonCooked + { + weight = 0.25; + }; + class FoodchickenCooked + { + weight = 0.25; + }; + class FoodrabbitCooked + { + weight = 0.25; + }; + class FoodbaconCooked + { + weight = 0.25; + }; + class FoodmuttonRaw + { + weight = 0.25; + }; + class FoodchickenRaw + { + weight = 0.25; + }; + class FoodBaconRaw + { + weight = 0.25; + }; + class FoodRabbitRaw + { + weight = 0.25; + }; + class FoodbeefRaw + { + weight = 0.25; + }; + class FoodmeatRaw + { + weight = 0.25; + }; + class FoodSteakRaw + { + weight = 0.25; + }; + class ItemFlashlight + { + weight = 0.1; + }; + class ItemFlashlightRed + { + weight = 0.1; + }; + class ItemKnife + { + weight = 0.1; + }; + + + + class Crossbow + { + weight = 1; + }; + class MeleeCrowbar + { + weight = 1; + }; + class MeleeHatchet + { + weight = 1; + }; + class MeleeSledge + { + weight = 9.1; + }; + class MeleeMachete + { + weight = 1; + }; + class MeleeFishingPole + { + weight = 1; + }; + class ItemHatchet + { + weight = 1; + }; + class ItemCrowbar + { + weight = 1; + }; + class ItemSledge + { + weight = 9.1; + }; + class ItemMatchbox + { + weight = 0.005; + }; + class ItemToolbox + { + weight = 1; + }; + class ItemKeyKit + { + weight = 1; + }; + class ItemEtool + { + weight = 1; + }; + + class Skin_FR_OHara_DZ + { + weight = 1; + }; + class Skin_FR_Rodriguez_DZ + { + weight = 1; + }; + class Skin_CZ_Soldier_Sniper_EP1_DZ + { + weight = 1; + }; + class Skin_Graves_Light_DZ + { + weight = 1; + }; + class Skin_GUE_Soldier_MG_DZ + { + weight = 1; + }; + class Skin_GUE_Soldier_Sniper_DZ + { + weight = 1; + }; + class Skin_GUE_Soldier_Crew_DZ + { + weight = 1; + }; + class Skin_GUE_Soldier_CO_DZ + { + weight = 1; + }; + class Skin_GUE_Soldier_2_DZ + { + weight = 1; + }; + class Skin_Survivor2_DZ + { + weight = 1; + }; + class Skin_Camo1_DZ + { + weight = 1; + }; + class Skin_Sniper1_DZ + { + weight = 1; + }; + class Skin_Rocket_DZ + { + weight = 1; + }; + class Skin_Soldier1_DZ + { + weight = 1; + }; + class Skin_RU_Policeman_DZ + { + weight = 1; + }; + class Skin_Pilot_EP1_DZ + { + weight = 1; + }; + class Skin_Haris_Press_EP1_DZ + { + weight = 1; + }; + class Skin_Ins_Soldier_GL_DZ + { + weight = 1; + }; + class Skin_GUE_Commander_DZ + { + weight = 1; + }; + class Skin_Functionary1_EP1_DZ + { + weight = 1; + }; + class Skin_Priest_DZ + { + weight = 1; + }; + class Skin_Rocker1_DZ + { + weight = 1; + }; + class Skin_Rocker2_DZ + { + weight = 1; + }; + class Skin_Rocker3_DZ + { + weight = 1; + }; + class Skin_Rocker4_DZ + { + weight = 1; + }; + class Skin_Bandit1_DZ + { + weight = 1; + }; + class Skin_Bandit2_DZ + { + weight = 1; + }; + class Skin_BanditW1_DZ + { + weight = 1; + }; + class Skin_BanditW2_DZ + { + weight = 1; + }; + class Skin_SurvivorW2_DZ + { + weight = 1; + }; + class Skin_SurvivorWpink_DZ + { + weight = 1; + }; + class Skin_SurvivorWsequisha_DZ + { + weight = 1; + }; + class Skin_SurvivorWcombat_DZ + { + weight = 1; + }; + class Skin_SurvivorWdesert_DZ + { + weight = 1; + }; + class Skin_SurvivorWurban_DZ + { + weight = 1; + }; + class Skin_SurvivorW3_DZ + { + weight = 1; + }; + class Skin_Soldier_TL_PMC_DZ + { + weight = 1; + }; + class Skin_Soldier_Sniper_PMC_DZ + { + weight = 1; + }; + class Skin_Soldier_Bodyguard_AA12_PMC_DZ + { + weight = 1; + }; + class Skin_Drake_Light_DZ + { + weight = 1; + }; + class Skin_CZ_Special_Forces_GL_DES_EP1_DZ + { + weight = 1; + }; + class Skin_TK_INS_Soldier_EP1_DZ + { + weight = 1; + }; + class Skin_TK_INS_Warlord_EP1_DZ + { + weight = 1; + }; + + class HandRoadFlare + { + weight = 0.1; + }; + class HandChemBlue + { + weight = 0.1; + }; + class HandChemGreen + { + weight = 0.1; + }; + class HandChemRed + { + weight = 0.1; + }; + class ItemBandage + { + weight = 0.005; + }; + class Hatchet_Swing + { + weight = 0; + }; + class Machete_Swing + { + weight = 0; + }; + class Fishing_Swing + { + weight = 0; + }; + class Crowbar_Swing + { + weight = 0; + }; + class sledge_swing + { + weight = 0; + }; + class ItemVault + { + weight = 100; + }; + class PartWoodPile + { + weight = 1; + }; + class PartWheel + { + weight = 10; + }; + class PartFueltank + { + weight = 10; + }; + class PartGlass + { + weight = 5; + }; + class PartEngine + { + weight = 15; + }; + class ItemGenerator + { + weight = 30; + }; + class PartGeneric + { + weight = 5; + }; + class PartVRotor + { + weight = 15; + }; + class ItemJerrycan + { + weight = 10; + }; + class ItemJerrycanEmpty + { + weight = 1; + }; + class ItemTent + { + weight = 5; + }; + class ItemTentDomed + { + weight = 5; + }; + class ItemTentDomed2 + { + weight = 5; + }; + class TrapBear + { + weight = 1; + }; + class ItemTankTrap + { + weight = 5; + }; + class ItemWire + { + weight = 2.5; + }; + class ItemGoldBar + { + weight = 0.02; + }; + class ItemGoldBar10oz + { + weight = 0.2; + }; + class ItemSilverBar + { + weight = 0.02; + }; + class ItemSilverBar10oz + { + weight = 0.2; + }; + class ItemBronzeBar + { + weight = 0.02; + }; + class ItemCopperBar + { + weight = 0.02; + }; + class ItemCopperBar10oz + { + weight = 0.2; + }; + class ItemAluminumBar + { + weight = 0.02; + }; + class ItemTinBar + { + weight = 0.02; + }; + class BoltSteel + { + weight = 0.02; + }; + class BoltSteel4pack + { + weight = 0.08; + }; + class WoodenArrow + { + weight = 0.02; + }; + class Quiver + { + weight = 0.08; + }; + class TrashTinCan + { + weight = 0.003; + }; + class FoodCanUnlabeledEmpty + { + weight = 0.003; + }; + class ItemTrashRazor + { + weight = 0.003; + }; + class ItemTrashToiletpaper + { + weight = 0.001; + }; + + class 7Rnd_45ACP_1911 + { + weight = 0.02; + }; + class ItemZombieParts + { + weight = 5; + }; + class ItemSandbag + { + weight = 10; + }; + class ItemSandbagLarge + { + weight = 50; + }; + class ItemWaterbottleUnfilled + { + weight = 0.05; + }; + class ItemSodaEmpty + { + weight = 0.002; + }; + class ItemSodaCokeEmpty + { + weight = 0.002; + }; + class ItemSodaPepsiEmpty + { + weight = 0.002; + }; + class ItemSodaMdewEmpty + { + weight = 0.002; + }; + class TrashJackDaniels + { + weight = 0.02; + }; + + + class ItemCanvas + { + weight = 4; + }; + class ItemBurlap + { + weight = 8; + }; + class ItemLightBulb + { + weight = 0.02; + }; + class ItemPole + { + weight = 10; + }; + class ItemCorrugated + { + weight = 29; + }; + class PartWoodPlywood + { + weight = 4; + }; + class PartWoodLumber + { + weight = 2; + }; + + class ItemTrout + { + weight = 1; + }; + class ItemTroutCooked + { + weight = 1; + }; + class ItemSeaBass + { + weight = 6; + }; + class ItemSeaBassCooked + { + weight = 5; + }; + class ItemTuna + { + weight = 27; + }; + class ItemTunaCooked + { + weight = 25; + }; + + class 30m_plot_kit + { + weight = 0.02; + }; + class fuel_pump_kit + { + weight = 50; + }; + class light_pole_kit + { + weight = 10; + }; + class stick_fence_kit + { + weight = 6; + }; + class park_bench_kit + { + weight = 50; + }; + class wood_shack_kit + { + weight = 50; + }; + class storage_shed_kit + { + weight = 100; + }; + class outhouse_kit + { + weight = 50; + }; + class wooden_shed_kit + { + weight = 75; + }; + class rusty_gate_kit + { + weight = 80; + }; + class sun_shade_kit + { + weight = 50; + }; + class m240_nest_kit + { + weight = 100; + }; + class ItemFuelBarrel + { + weight = 167; + }; + class ItemFuelBarrelEmpty + { + weight = 20; + }; + class ItemOilBarrel + { + weight = 140; + }; + + class bulk_NVGoggles + { + weight = 25; + }; + class bulk_DZ_Backpack_EP1 + { + weight = 25; + }; + class bulk_15Rnd_9x19_M9SD + { + weight = 25; + }; + class bulk_30Rnd_556x45_StanagSD + { + weight = 25; + }; + class bulk_ItemSandbag + { + weight = 25; + }; + class bulk_ItemGPS + { + weight = 25; + }; + class bulk_ItemMap + { + weight = 25; + }; + class bulk_ItemEtool + { + weight = 25; + }; + class bulk_17Rnd_9x19_glock17 + { + weight = 25; + }; + }; +}; \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_DoWeight.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_DoWeight.sqf new file mode 100644 index 000000000..1565a0625 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_DoWeight.sqf @@ -0,0 +1,50 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#include "R3F_WEIGHT_Configuration.cfg" + +call compile preprocessFile "R3F_Realism\R3F_Weight\R3F_Weight_Fnct.sqf"; + +private ["_n","_gearbox_visible","_control","_display","_initial_text"]; + +disableSerialization; + +R3F_Weight = call R3F_WEIGHT_FNCT_GetWeight; + +_initial_text = ""; +_n = 0; +while {true} do +{ + sleep R3F_WEIGHT_SHORT_DELAY; + + #ifdef R3F_WEIGHT_SHOW_WEIGHT + _display = findDisplay ARMA2_RSCDISPLAYGEARBOX; + _gearbox_visible = ( (str _display) != "No display"); + #else + _gearbox_visible = false; + #endif + + if(_gearbox_visible) then { + R3F_Weight = call R3F_WEIGHT_FNCT_GetWeight; + if(_initial_text == "") then { + _control = _display displayCtrl ARMA2_CAPTIONGEARBOX; + _initial_text = ctrlText _control ; + }; + _control = _display displayCtrl ARMA2_CAPTIONGEARBOX; + _control ctrlSetText format[localize "STR_R3F_WEIGHT_InGearBox",_initial_text,R3F_Weight]; + _n = 0; + }else{ + if( _n > R3F_WEIGHT_LONG_DELAY) then { + R3F_Weight = call R3F_WEIGHT_FNCT_GetWeight; + _n = 0; + }; + _n = _n + 1 ; + }; +}; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Configuration.cfg b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Configuration.cfg new file mode 100644 index 000000000..617cc8ad0 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Configuration.cfg @@ -0,0 +1,22 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +#define ARMA2_RSCDISPLAYGEARBOX 106 +#define ARMA2_CAPTIONGEARBOX 1001 + + +#define R3F_WEIGHT_SHORT_DELAY 1 +#define R3F_WEIGHT_LONG_DELAY 10 +#define R3F_WEIGHT_MAIN_INCREMENT 1 + +#define R3F_WEIGHT_SHOW_WEIGHT + +//show or not classes not found in arma.rpt +//#define R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Stringtable.csv b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Stringtable.csv new file mode 100644 index 000000000..6719b3b91 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_WEIGHT_Stringtable.csv @@ -0,0 +1,12 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ +R3F_VERSION_WEIGHTED, "1.04", "1.04" +STR_R3F_WEIGHT_InGearBox, "%1 | Weight carried : %2 lb", "%1 | Poids transporté : %2 Kg" +STR_R3F_WEIGHT_English, "lb", "Kg" diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf new file mode 100644 index 000000000..2fd2fd287 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf @@ -0,0 +1,81 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.02 +@date 20101018 +*****************************************************************************/ +#include "R3F_WEIGHT_Configuration.cfg" +R3F_WEIGHT_FNCT_MakeSingleArray = { + private ["_arr_i","_arr_n", "_arr", "_n", "_nb", "_x"]; + _arr_i = (_this select 0) select 0; + _arr_n = (_this select 0) select 1; + + _arr = []; + + _n = 0; + { + _nb = _arr_n select _n; + for [{_i = 0}, {_i < _nb}, {_i = _i + 1}] do{ + _arr = _arr + [_x]; + }; + _n = _n + 1; + + }foreach _arr_i; + + _arr; +}; + +R3F_WEIGHT_FNCT_GetItemWeight = { + private ["_arr_class", "_total_weight", "_weight"]; + _arr_class = (_this select 0) + (_this select 1); + _total_weight = 0; + _weight = 0; + CfgWeight = missionConfigFile >> "CfgWeight"; + { + if(isclass(CfgWeight >> "Weapons" >> _x)) then { + _weight = getNumber(CfgWeight >> "Weapons" >> _x >> "weight"); + _total_weight = _total_weight + _weight; + }else{ + if(isclass(CfgWeight >> "Magazines" >> _x)) then { + _weight = getNumber(CfgWeight >> "Magazines" >> _x >> "weight"); + _total_weight = _total_weight + _weight; + }else{ + + _weight = 0; + if(isNumber (configFile >> "cfgMagazines" >> _x >> "weight")) then { + _weight = getNumber(configFile >> "cfgMagazines" >> _x >> "weight"); + }; + + if(_weight > 0) then { + _total_weight = _total_weight + _weight; + } else { + // log only if not found + //diag_log format["Class not found %1", _x]; + }; + }; + }; + }foreach _arr_class; + _total_weight; +}; + +R3F_WEIGHT_FNCT_GetWeight = { + private ["_bagpack","_bagpack_weapons", "_bagpack_ammo", "_return","_english"]; + _return = 0; + _bagpack = unitBackpack player; + if(!isnull(_bagpack)) then { + _bagpack_weapons = [getWeaponCargo _bagpack] call R3F_WEIGHT_FNCT_MakeSingleArray; + _bagpack_ammo = [getMagazineCargo _bagpack] call R3F_WEIGHT_FNCT_MakeSingleArray; + _return = [_bagpack_weapons, _bagpack_ammo] call R3F_WEIGHT_FNCT_GetItemWeight; + }; + _return = _return + ([(weapons player), (magazines player)] call R3F_WEIGHT_FNCT_GetItemWeight); + _english = localize "STR_R3F_WEIGHT_English" == "lb"; + if(_english) then { + _return = _return / 0.45359 ; + _return = round (_return * 100)/100; + }; + _return; +}; + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Init.sqf new file mode 100644 index 000000000..9f4f8eaab --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_Weight_Init.sqf @@ -0,0 +1,13 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.02 +@date 20101018 +*****************************************************************************/ + +call compile preprocessFile "R3F_Realism\R3F_Weight\R3F_Weight_Fnct.sqf"; + +_void = [] execVM "R3F_Realism\R3F_Weight\R3F_DoWeight.sqf"; \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_resource.h b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_resource.h new file mode 100644 index 000000000..d48e630a1 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/R3F_Realism/R3F_Weight/R3F_resource.h @@ -0,0 +1,10 @@ + +#define ARMA2_RSCDISPLAYGEARBOX 106 +#define ARMA2_CAPTIONGEARBOX 1001 + + +#define R3F_WEIGHT_SHORT_DELAY 1 +#define R3F_WEIGHT_LONG_DELAY 10 +#define R3F_WEIGHT_MAIN_INCREMENT 1 + + diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext new file mode 100644 index 000000000..22b0df6d8 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/description.ext @@ -0,0 +1,150 @@ +respawn = "BASE"; +respawndelay = 5; +onLoadMission="DayZ Epoch Caribou Frontier"; +OnLoadIntro = "Welcome to DayZ Epoch Caribou Frontier"; +OnLoadIntroTime = False; +OnLoadMissionTime = False; +disabledAI = true; +disableChannels[]={0,2,6}; +enableItemsDropping=0; +#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h" +briefing = 0; +debriefing = 0; + +onPauseScript = ""; +loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; + +class Header +{ + gameType = COOP; //DM, Team, Coop, ... + minPlayers = 1; //min # of players the mission supports + maxPlayers = 100; //Max # of players the mission supports +}; + +aiKills = 1; +diagRadio = 1; +diagHit = 1; + +class RscText +{ + type = 0; + idc = -1; + x = 0; + y = 0; + h = 0.037; + w = 0.3; + style = 0x100; + font = Zeppelin32; + SizeEx = 0.03921; + colorText[] = {1,1,1,1}; + colorBackground[] = {0, 0, 0, 0}; + linespacing = 1; +}; +class RscPicture +{ + access=0; + type=0; + idc=-1; + style=48; + colorBackground[]={0,0,0,0}; + colorText[]={1,1,1,1}; + font="TahomaB"; + sizeEx=0; + lineSpacing=0; + text=""; +}; +class RscLoadingText : RscText +{ + style = 2; + x = 0.323532; + y = 0.666672; + w = 0.352944; + h = 0.039216; + sizeEx = 0.03921; + colorText[] = {0.543,0.5742,0.4102,1.0}; +}; +class RscProgress +{ + x = 0.344; + y = 0.619; + w = 0.313726; + h = 0.0261438; + texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; + colorFrame[] = {0,0,0,0}; + colorBar[] = {1,1,1,1}; +}; +class RscProgressNotFreeze +{ + idc = -1; + type = 45; + style = 0; + x = 0.022059; + y = 0.911772; + w = 0.029412; + h = 0.039216; + texture = "#(argb,8,8,3)color(0,0,0,0)"; +}; +// +// the loading screen itself +// +class DayZ_loadingScreen +{ + idd = -1; + duration = 10e10; + fadein = 0; + fadeout = 0; + name = "loading screen"; + class controlsBackground + { + class blackBG : RscText + { + x = safezoneX; + y = safezoneY; + w = safezoneW; + h = safezoneH; + text = ""; + colorText[] = {0,0,0,0}; + colorBackground[] = {0,0,0,1}; + }; + /* + class nicePic : RscPicture + { + style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO + x = safezoneX + safezoneW/2 - 0.25; + y = safezoneY + safezoneH/2 - 0.2; + w = 0.5; + h = 0.4; + text = "img\nicePic.paa"; + }; + */ + }; + class controls + { + class Title1 : RscLoadingText + { + text = "$STR_LOADING"; // "Loading" text in the middle of the screen + }; + class CA_Progress : RscProgress // progress bar, has to have idc 104 + { + idc = 104; + type = 8; // CT_PROGRESS + style = 0; // ST_SINGLE + texture = "\ca\ui\data\loadscreen_progressbar_ca.paa"; + }; + class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse + { + idc = 103; + }; + class Name2: RscText // the text on the top-left + { + idc = 101; + x = 0.05; + y = 0.029412; + w = 0.9; + h = 0.04902; + text = ""; + sizeEx = 0.05; + colorText[] = {0.543,0.5742,0.4102,1.0}; + }; + }; +}; diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/dynamic_vehicle.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/dynamic_vehicle.sqf new file mode 100644 index 000000000..1750f3c90 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/dynamic_vehicle.sqf @@ -0,0 +1,187 @@ +AllowedVehiclesList = [ +["AH6X_DZ",1], +["AN2_DZ",1], +["ArmoredSUV_PMC_DZE",1], +["ATV_CZ_EP1",3], +["ATV_US_EP1",3], +["C130J_US_EP1",1], +["car_hatchback",2], +["car_sedan",2], +["CH_47F_EP1_DZE",1], +["CSJ_GyroC",1], +["CSJ_GyroCover",1], +["CSJ_GyroP",1], +["datsun1_civil_1_open",1], +["datsun1_civil_2_covered",1], +["datsun1_civil_3_open",1], +["Fishing_Boat",1], +["GAZ_Vodnik_DZE",1], +["GAZ_Vodnik_MedEvac",1], +["GLT_M300_LT",1], +["GLT_M300_ST",1], +["GNT_C185",1], +["GNT_C185C",1], +["GNT_C185R",1], +["GNT_C185U",1], +["hilux1_civil_1_open",1], +["hilux1_civil_2_covered",1], +["hilux1_civil_3_open_EP1",1], +["HMMWV_Ambulance",1], +["HMMWV_Ambulance_CZ_DES_EP1",1], +["HMMWV_DES_EP1",1], +["HMMWV_DZ",1], +["HMMWV_M1035_DES_EP1",1], +["HMMWV_M1151_M2_CZ_DES_EP1_DZE",1], +["HMMWV_M998A2_SOV_DES_EP1_DZE",1], +["Ikarus",1], +["Ikarus_TK_CIV_EP1",1], +["JetSkiYanahui_Case_Blue",1], +["JetSkiYanahui_Case_Green",1], +["JetSkiYanahui_Case_Red",1], +["JetSkiYanahui_Case_Yellow",1], +["Kamaz",1], +["KamazRefuel_DZ",1], +["Lada1",1], +["Lada1_TK_CIV_EP1",1], +["Lada2",1], +["Lada2_TK_CIV_EP1",1], +["LadaLM",1], +["LandRover_CZ_EP1",1], +["LandRover_MG_TK_EP1_DZE",1], +["LandRover_Special_CZ_EP1_DZE",1], +["LandRover_TK_CIV_EP1",1], +["M1030_US_DES_EP1",2], +["MH6J_DZ",1], +["Mi17_Civilian_DZ",1], +["Mi17_DZE",1], +["MMT_Civ",10], +["MtvrRefuel_DES_EP1_DZ",1], +["MTVR_DES_EP1",1], +["MV22_DZ",1], +["Offroad_DSHKM_Gue_DZE",1], +["Old_bike_TK_INS_EP1",5], +["Old_moto_TK_Civ_EP1",2], +["PBX",1], +["Pickup_PK_GUE_DZE",1], +["Pickup_PK_INS_DZE",1], +["Pickup_PK_TK_GUE_EP1_DZE",1], +["policecar",1], +["RHIB",1], +["S1203_ambulance_EP1",1], +["S1203_TK_CIV_EP1",1], +["Skoda",1], +["SkodaBlue",1], +["SkodaGreen",1], +["SkodaRed",1], +["Smallboat_1",1], +["Smallboat_2",1], +["SUV_Blue",1], +["SUV_Camo",1], +["SUV_Charcoal",1], +["SUV_Green",1], +["SUV_Orange",1], +["SUV_Pink",1], +["SUV_Red",1], +["SUV_Silver",1], +["SUV_TK_CIV_EP1",1], +["SUV_White",1], +["SUV_Yellow",1], +["tractor",1], +["TT650_Civ",1], +["TT650_Ins",1], +["TT650_TK_CIV_EP1",1], +["UAZ_CDF",1], +["UAZ_INS",1], +["UAZ_MG_TK_EP1_DZE",1], +["UAZ_RU",1], +["UAZ_Unarmed_TK_CIV_EP1",1], +["UAZ_Unarmed_TK_EP1",1], +["UAZ_Unarmed_UN_EP1",1], +["UH1H_DZE",1], +["UH1Y_DZE",1], +["UH60M_EP1_DZE",1], +["UralRefuel_TK_EP1_DZ",1], +["Ural_CDF",1], +["Ural_TK_CIV_EP1",1], +["Ural_UN_EP1",1], +["V3S_Open_TK_CIV_EP1",1], +["V3S_Open_TK_EP1",1], +["V3S_Refuel_TK_GUE_EP1_DZ",1], +["VIL_alfa_civil",1], +["VIL_alfa_civil1",1], +["VIL_alfa_civil2",1], +["VIL_berlingo",1], +["VIL_bmw7_civil",1], +["VIL_bmw7_civil1",1], +["VIL_bmw7_civil2",1], +["VIL_bmw7_civilvip",1], +["VIL_citrone_civil",1], +["VIL_citrone_civil1",1], +["VIL_citrone_civil2",1], +["VIL_citrone_civil3",1], +["VIL_ducato_bus",1], +["VIL_ducato_cargo",1], +["VIL_ducato_cargo2",1], +["VIL_fobia_civil",1], +["VIL_fobia_civil1",1], +["VIL_fobia_civil2",1], +["VIL_fobia_civil3",1], +["VIL_fobia_civil4",1], +["VIL_fobia_civil5",1], +["VIL_hilux1_civi2",1], +["VIL_hilux1_civi3",1], +["VIL_hilux1_civil",1], +["VIL_hilux1_police",1], +["VIL_karoca_civil",1], +["VIL_karoca_civil_red",1], +["VIL_kia_ceed",1], +["VIL_kia_ceed2",1], +["VIL_kia_ceed3",1], +["VIL_kia_ceed4",1], +["VIL_kia_ceeddwa",1], +["VIL_kia_ceeddwa2",1], +["VIL_kia_ceeddwa3",1], +["VIL_kia_ceeddwa4",1], +["VIL_kia_ceeddwa5",1], +["VIL_kia_ceeddwa6",1], +["VIL_lublin_freez",1], +["VIL_mondeo_civil",1], +["VIL_mondeo_civil1",1], +["VIL_mondeo_civil3",1], +["VIL_mondeo_civil4",1], +["VIL_mondeo_civil5",1], +["VIL_octavia_civil",1], +["VIL_octavia_civil2",1], +["VIL_octavia_civil3",1], +["VIL_octavia_civil4",1], +["VIL_panda_civil",1], +["VIL_panda_civil1",1], +["VIL_passat_civil",1], +["VIL_passat_civil1",1], +["VIL_passat_civil2",1], +["VIL_passat_civil3",1], +["VIL_passat_civil4",1], +["VIL_passat_civil5",1], +["VIL_smart_civil",1], +["VIL_smart_civil1",1], +["VIL_smart_civil2",1], +["VIL_smart_civil3",1], +["VIL_smart_civil4",1], +["VIL_smart_civil5",1], +["VIL_sprinter_cargo",1], +["VIL_Star_S2000",1], +["VIL_Star_S2000o",1], +["VIL_transit_civ",1], +["VIL_transit_truck",1], +["VIL_vivaro_amb",1], +["VIL_vivaro_civ",1], +["VIL_volvofl",1], +["VIL_vwt4_banksec",1], +["VIL_vwt4_civ",2], +["VolhaLimo_TK_CIV_EP1",1], +["Volha_1_TK_CIV_EP1",1], +["Volha_2_TK_CIV_EP1",1], +["VWGolf",1], +["Zodiac",1], +["VIL_asistvan_DZE",2] +]; \ No newline at end of file diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf new file mode 100644 index 000000000..4e4a16ce6 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -0,0 +1,116 @@ +/* + For DayZ Epoch + Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz +*/ +startLoadingScreen ["","RscDisplayLoadCustom"]; +cutText ["","BLACK OUT"]; +enableSaving [false, false]; + +//REALLY IMPORTANT VALUES +dayZ_instance = 21; //The instance +dayzHiveRequest = []; +initialized = false; +dayz_previousID = 0; + +//disable greeting menu +player setVariable ["BIS_noCoreConversations", true]; +//disable radio messages to be heard and shown in the left lower corner of the screen +enableRadio false; + +// DayZ Epoch config +spawnShoremode = 1; // Default = 1 (on shore) +spawnArea = 1500; // Default = 1500 +MaxHeliCrashes= 5; // Default = 5 +MaxVehicleLimit = 200; // Default = 50 +MaxDynamicDebris = 250; // Default = 100 +dayz_MapArea = 6000; // Default = 10000 + +dayz_paraSpawn = false; + +dayz_maxAnimals = 8; // Default: 8 +dayz_tameDogs = true; +DynamicVehicleDamageLow = 0; // Default: 0 +DynamicVehicleDamageHigh = 100; // Default: 100 + +EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]]; +dayz_fullMoonNights = true; + + +//Load in compiled functions +call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early) +progressLoadingScreen 0.1; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers +progressLoadingScreen 0.2; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical +progressLoadingScreen 0.4; +call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions +progressLoadingScreen 0.5; +call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs +progressLoadingScreen 1.0; + +"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic"; + +/* BIS_Effects_* fixes from Dwarden */ +BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf"; +BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf"; +BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf"; + +BIS_Effects_globalEvent = { + BIS_effects_gepv = _this; + publicVariable "BIS_effects_gepv"; + _this call BIS_Effects_startEvent; +}; + +BIS_Effects_startEvent = { + switch (_this select 0) do { + case "AirDestruction": { + [_this select 1] spawn BIS_Effects_AirDestruction; + }; + case "AirDestructionStage2": { + [_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2; + }; + case "Burn": { + [_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn; + }; + }; +}; + +"BIS_effects_gepv" addPublicVariableEventHandler { + (_this select 1) call BIS_Effects_startEvent; +}; + +if ((!isServer) && (isNull player) ) then +{ +waitUntil {!isNull player}; +waitUntil {time > 3}; +}; + +if ((!isServer) && (player != player)) then +{ + waitUntil {player == player}; + waitUntil {time > 3}; +}; + +if (isServer) then { + call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs + + // Add trader citys + _nil = [] execVM "mission.sqf"; + _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf"; +}; + +if (!isDedicated) then { + //Conduct map operations + 0 fadeSound 0; + waitUntil {!isNil "dayz_loadScreenMsg"}; + dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); + + //Run the player monitor + _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; + _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; + _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; + + //Lights + //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; +}; +#include "\z\addons\dayz_code\system\REsec.sqf" diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/mission.sqm b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/mission.sqm index 74125c515..fd0ffd06a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/mission.sqm +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/mission.sqm @@ -15,7 +15,6 @@ class Mission "cacharacters_pmc", "ca_modules_functions", "glt_m300t", - "sigisolda", "suv_col", "csj_gyroac", "map_eu", diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/stringtable.csv b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/stringtable.csv new file mode 100644 index 000000000..cc2b013c5 --- /dev/null +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/stringtable.csv @@ -0,0 +1,14 @@ +/**************************************************************************** +Copyright (C) 2010 Team ~R3F~ +This program is free software under the terms of the GNU General Public License version 3. +You should have received a copy of the GNU General Public License +along with this program. If not, see . +@authors team-r3f.org +@version 1.00 +@date 20101006 +*****************************************************************************/ + +Language, English, French + +#include "R3F_Realism\R3F_stringtable.csv" +