diff --git a/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Realism_Init.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Realism_Init.sqf new file mode 100644 index 000000000..89daf64ef --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Realism_configuration.cfg b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Realism_configuration.cfg new file mode 100644 index 000000000..72afc2a8c --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Stringtable.csv b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Stringtable.csv new file mode 100644 index 000000000..fca6a4ab6 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_DoTired.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_DoTired.sqf new file mode 100644 index 000000000..30b79a814 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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 + + [_voil, _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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_TIRED_Configuration.cfg b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_TIRED_Configuration.cfg new file mode 100644 index 000000000..1df4528a9 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf new file mode 100644 index 000000000..0d2a1655a --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_Tired_Fnct.sqf @@ -0,0 +1,78 @@ +/**************************************************************************** +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_Wait4Effect = { + private ["_delay","_st"]; + _delay = _this select 0; + _st = time; + while {((time - _st) < _delay) && (alive player)} do + { + sleep 0.100; + }; +}; + +R3F_TIRED_FNCT_Effect_Off = { + private ["_handle"]; + _handle = _this select 0; + _handle ppEffectEnable false; + ppEffectDestroy _handle; + sleep 0.02; +}; + +R3F_TIRED_FNCT_MkVoile = { + private ["_handle"]; + if (ppEffectCommitted "ColorCorrections") then { + _handle = ppEffectCreate ["ColorCorrections", 1515]; + _handle ppEffectEnable true; + _handle; + }else{ + -1; + }; +}; + +R3F_TIRED_FNCT_Voile_Noir = { + private ["_handle","_level"]; + _handle = _this select 0; + _level = _this select 1; + _handle ppEffectAdjust [ + _level, + _level, + 0, + [0,0,0,0], + [1.30,1.30,1.30,1.30], + [0,0,0,0] + ]; + _handle ppEffectCommit 0.1; + waituntil{ppEffectCommitted "ColorCorrections";}; + if(_level < R3F_TIRED_SHORTNESS_THRESHOLD ) then{ + enableCamShake true; + addCamShake [5-_level, 1, 2]; + }else{ + enableCamShake false; + }; +}; + +R3F_TIRED_FNCT_DoBlackVanish = { + titleText ["", "BLACK OUT",4]; + player playMoveNow "AmovPpneMstpSrasWrflDnon"; + 0 fadeSound 0; + [R3F_TIRED_UNCONSCIOUSNESS_DURATION] call R3F_TIRED_FNCT_Wait4Effect; + if (alive player) then { + titleText ["", "BLACK IN",4]; + 0 fadeSound 1; + }; +}; + diff --git a/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_Tired_Init.sqf new file mode 100644 index 000000000..3a655adcd --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_stringtable.csv b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_stringtable.csv new file mode 100644 index 000000000..597997490 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Tired/R3F_stringtable.csv @@ -0,0 +1,3 @@ + +R3F_VERSION_TIRED, "1.02", "1.02" + diff --git a/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_CfgWeight.h b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_CfgWeight.h new file mode 100644 index 000000000..111b108b2 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_CfgWeight.h @@ -0,0 +1,1341 @@ +/**************************************************************************** +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 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_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 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 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 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 FoodCanPasta + { + weight = 0.2; + }; + 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 ItemHatchet + { + weight = 1; + }; + class ItemMatchbox + { + weight = 0.005; + }; + class ItemToolbox + { + weight = 1; + }; + class ItemEtool + { + weight = 1; + }; + + + class Skin_Survivor2_DZ + { + weight = 1; + }; + class Skin_Camo1_DZ + { + weight = 1; + }; + class Skin_Sniper1_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 Crowbar_Swing + { + weight = 0; + }; + + class ItemVault + { + weight = 100; + }; + + class PartWoodPile + { + weight = 0.5; + }; + 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 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 TrashTinCan + { + weight = 0.003; + }; + + }; +}; \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_DoWeight.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_DoWeight.sqf new file mode 100644 index 000000000..1565a0625 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_WEIGHT_Configuration.cfg b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_WEIGHT_Configuration.cfg new file mode 100644 index 000000000..69c0e33a9 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_WEIGHT_Stringtable.csv b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_WEIGHT_Stringtable.csv new file mode 100644 index 000000000..6719b3b91 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf new file mode 100644 index 000000000..37daa1ce2 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_Weight_Fnct.sqf @@ -0,0 +1,72 @@ +/**************************************************************************** +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{ + #ifdef R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND + diag_log format["Class not found %1", _x]; + #endif + }; + }; + }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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_Weight_Init.sqf b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_Weight_Init.sqf new file mode 100644 index 000000000..9f4f8eaab --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_resource.h b/MPMissions/DayZ_Epoch_1.Takistan/R3F_Realism/R3F_Weight/R3F_resource.h new file mode 100644 index 000000000..d48e630a1 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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/MPMissions/DayZ_Epoch_1.Takistan/cdetect.fsm b/MPMissions/DayZ_Epoch_1.Takistan/cdetect.fsm deleted file mode 100644 index ae8d808ed..000000000 --- a/MPMissions/DayZ_Epoch_1.Takistan/cdetect.fsm +++ /dev/null @@ -1,96 +0,0 @@ -/*%FSM*/ -/*%FSM*/ -/* -item0[] = {"init",0,250,-52.011097,-242.579758,37.988903,-192.579758,0.000000,"init"}; -item1[] = {"true",8,218,-42.857147,-180.166443,47.142853,-130.166443,0.000000,"true"}; -item2[] = {"Broadcast",2,250,-37.031898,-113.592247,52.968117,-63.592247,0.000000,"Broadcast"}; -item3[] = {"isRetard",4,218,-85.298180,-33.703201,4.701797,16.296804,0.000000,"isRetard"}; -item4[] = {"I_has_small_dick",2,250,-27.045757,58.668503,62.954262,108.668503,0.000000,"I has small dick"}; -item5[] = {"isOwned",4,218,43.689316,-30.790573,133.689301,19.209412,0.000000,"isOwned"}; -link0[] = {0,1}; -link1[] = {1,2}; -link2[] = {2,3}; -link3[] = {3,4}; -link4[] = {4,5}; -link5[] = {5,2}; -globals[] = {0.000000,0,0,0,16777215,640,480,1,8,6316128,1,-306.241333,293.758667,267.741943,-346.774170,372,381,1}; -window[] = {0,-1,-1,-1,-1,576,50,812,50,1,390}; -*//*%FSM*/ -class FSM -{ - fsmName = "stdin"; - class States - { - /*%FSM*/ - class init - { - name = "init"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class true - { - priority = 0.000000; - to="Broadcast"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/""/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class Broadcast - { - name = "Broadcast"; - init = /*%FSM*/""/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class isRetard - { - priority = 0.000000; - to="I_has_small_dick"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"(dialog&&isNull(findDisplay 106)&&isNull(findDisplay 6902))||(!isNil(""nil"")&&alive(player))"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - /*%FSM*/ - class I_has_small_dick - { - name = "I_has_small_dick"; - init = /*%FSM*/"closeDialog 0;" \n - "player enableSimulation false;" \n - "_tinypenis = format[""AntiCheat: Incredibly small penis detected for %1 with UID %2"",name player,getPlayerUID player];" \n - "player setVariable [""cheat"",_tinypenis,true];"/*%FSM*/; - precondition = /*%FSM*/""/*%FSM*/; - class Links - { - /*%FSM*/ - class isOwned - { - priority = 0.000000; - to="Broadcast"; - precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"!dialog&&!alive(player)"/*%FSM*/; - action=/*%FSM*/""/*%FSM*/; - }; - /*%FSM*/ - }; - }; - /*%FSM*/ - }; - initState="init"; - finalStates[] = - { - }; -}; -/*%FSM*/ \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_1.Takistan/description.ext b/MPMissions/DayZ_Epoch_1.Takistan/description.ext index fb21a3caf..b163cc8d4 100644 --- a/MPMissions/DayZ_Epoch_1.Takistan/description.ext +++ b/MPMissions/DayZ_Epoch_1.Takistan/description.ext @@ -5,9 +5,12 @@ OnLoadIntro = "Welcome to Takistan"; OnLoadIntroTime = False; OnLoadMissionTime = False; disabledAI = true; -disableChannels[]={0,2,6}; +disableChannels[]={1,2,6}; enableItemsDropping=0; +#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h" +onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf"; +loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa"; class Header { gameType = COOP; //DM, Team, Coop, ... diff --git a/MPMissions/DayZ_Epoch_1.Takistan/dynamic_vehicle.sqf b/MPMissions/DayZ_Epoch_1.Takistan/dynamic_vehicle.sqf new file mode 100644 index 000000000..0a3042a67 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/dynamic_vehicle.sqf @@ -0,0 +1,73 @@ +AllowedVehiclesList = [ + ["Old_moto_TK_Civ_EP1",10], + ["MMT_Civ",10], + ["Old_bike_TK_INS_EP1",10], + ["TT650_Ins",1], + ["TT650_Civ",1], + ["TT650_TK_CIV_EP1",1], + ["ATV_US_EP1",10], + ["hilux1_civil_3_open_EP1",5], + ["hilux1_civil_2_covered",2], + ["datsun1_civil_3_open",5], + ["Pickup_PK_TK_GUE_EP1",5], + ["Octavia_ACR",2], + ["VWGolf",2], + ["Lada1",1], + ["Lada2",1], + ["LadaLM",1], + ["Lada2_TK_CIV_EP1",2], + ["Skoda",1], + ["SkodaGreen",1], + ["SkodaRed",1], + ["SkodaBlue",1], + ["car_sedan",2], + ["car_hatchback",2], + ["policecar",1], + ["GLT_M300_LT",1], + ["GLT_M300_ST",1], + ["Volha_1_TK_CIV_EP1",2], + ["VolhaLimo_TK_CIV_EP1",2], + ["UAZ_Unarmed_TK_EP1",1], + ["UAZ_RU",1], + ["UAZ_INS",1], + ["Ikarus",3], + ["SUV_TK_CIV_EP1",2], + ["SUV_Green",1], + ["SUV_Yellow",1], + ["SUV_White",1], + ["SUV_Silver",1], + ["SUV_Red",1], + ["SUV_Pink",1], + ["SUV_Orange",1], + ["SUV_Charcoal",1], + ["SUV_Blue",1], + ["UH1H_DZ",2], + ["Mi17_Civilian_DZ",3], + ["Mi17_DZ",1], + ["LandRover_CZ_EP1",2], + ["HMMWV_Ambulance",2], + ["HMMWV_DES_EP1",1], + ["PBX",3], + ["Zodiac",2], + ["RHIB",2], + ["Fishing_Boat",2], + ["Smallboat_1",2], + ["Smallboat_2",2], + ["M113Ambul_UN_EP1",1], + ["KamazRefuel",1], + ["UralRefuel_TK_EP1",1], + ["MtvrRefuel_DES_EP1",1], + ["Ural_UN_EP1",2], + ["Ural_TK_CIV_EP1",2], + ["Ural_CDF",2], + ["Kamaz",2], + ["tractor",3], + ["CSJ_GyroP",5], + ["S1203_ambulance_EP1",1], + ["S1203_TK_CIV_EP1",2], + ["MH6J_DZ",1], + ["AH6X_DZ",1], + ["MTVR_DES_EP1",1], + ["LandRover_MG_TK_EP1",1], + ["M1030_US_DES_EP1",1] +]; \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 883dcee3c..663e8ae0f 100644 --- a/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -1,24 +1,31 @@ -startLoadingScreen ["","DayZ_loadingScreen"]; /* INITILIZATION */ +startLoadingScreen ["","RscDisplayLoadCustom"]; +cutText ["","BLACK OUT"]; enableSaving [false, false]; //REALLY IMPORTANT VALUES -dayZ_instance = 1; //The instance -hiveInUse = true; +dayZ_instance = 1; //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; + // AMP config spawnShoremode = 0; // Default = 1 (on shore) spawnArea= 1000; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 -MaxVehicleLimit = 50; // Default = 50 -MaxDynamicDebris = 100; // Default = 100 +MaxVehicleLimit = 200; // Default = 50 +MaxDynamicDebris = 400; // Default = 100 dayz_MapArea = 12000; // Default = 10000 -dayz_maxLocalZombies = 0; // Default = 40 +dayz_maxLocalZombies = 30; // Default = 40 +//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 @@ -26,6 +33,8 @@ 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"; @@ -38,22 +47,26 @@ waitUntil {time > 3}; if ((!isServer) && (player != player)) then { - waitUntil {player == player}; + waitUntil {player == player}; waitUntil {time > 3}; }; if (isServer) then { - //Run the server monitor - hiveInUse = true; - _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf"; + 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; - 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60]; + 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"; + _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; + _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; }; \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_1.Takistan/mission.sqf b/MPMissions/DayZ_Epoch_1.Takistan/mission.sqf new file mode 100644 index 000000000..84e7f7f3e --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/mission.sqf @@ -0,0 +1,1986 @@ +_vehicle_1 = objNull; +if (true) then +{ + _this = createVehicle ["ZavoraAnim", [9377.2295, 3312.1108], [], 0, "CAN_COLLIDE"]; + _vehicle_1 = _this; + _this setDir -88.705788; + _this setPos [9377.2295, 3312.1108]; +}; + +_vehicle_11 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9376.5977, 3314.7014, -0.032022446], [], 0, "CAN_COLLIDE"]; + _vehicle_11 = _this; + _this setDir -82.477379; + _this setPos [9376.5977, 3314.7014, -0.032022446]; +}; + +_vehicle_14 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9376.9395, 3317.2864, 0.00012207031], [], 0, "CAN_COLLIDE"]; + _vehicle_14 = _this; + _this setDir -82.477379; + _this setPos [9376.9395, 3317.2864, 0.00012207031]; +}; + +_vehicle_18 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9378.2578, 3322.1899], [], 0, "CAN_COLLIDE"]; + _vehicle_18 = _this; + _this setDir -73.287727; + _this setPos [9378.2578, 3322.1899]; +}; + +_vehicle_19 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9377.5117, 3319.6938, -0.04075902], [], 0, "CAN_COLLIDE"]; + _vehicle_19 = _this; + _this setDir -73.287727; + _this setPos [9377.5117, 3319.6938, -0.04075902]; +}; + +_vehicle_26 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9375.8223, 3293.4751, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_26 = _this; + _this setDir -93.785606; + _this setPos [9375.8223, 3293.4751, 6.1035156e-005]; +}; + +_vehicle_27 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9375.6523, 3296.0774, 0.034088135], [], 0, "CAN_COLLIDE"]; + _vehicle_27 = _this; + _this setDir -93.785606; + _this setPos [9375.6523, 3296.0774, 0.034088135]; +}; + +_vehicle_28 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9375.7432, 3298.5488, -0.003112793], [], 0, "CAN_COLLIDE"]; + _vehicle_28 = _this; + _this setDir -84.595947; + _this setPos [9375.7432, 3298.5488, -0.003112793]; +}; + +_vehicle_29 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [9375.9844, 3301.1431, 0.027832031], [], 0, "CAN_COLLIDE"]; + _vehicle_29 = _this; + _this setDir -84.595947; + _this setPos [9375.9844, 3301.1431, 0.027832031]; +}; + +_vehicle_34 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [9366.4453, 3310.3496, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_34 = _this; + _this setDir 88.123161; + _this setPos [9366.4453, 3310.3496, -6.1035156e-005]; +}; + +_vehicle_36 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [9349.8184, 3306.5066, -0.00015258789], [], 0, "CAN_COLLIDE"]; + _vehicle_36 = _this; + _this setDir 274.88586; + _this setPos [9349.8184, 3306.5066, -0.00015258789]; +}; + +_vehicle_40 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [9375.2939, 3303.6941, 0.00012207031], [], 0, "CAN_COLLIDE"]; + _vehicle_40 = _this; + _this setDir 274.10898; + _this setPos [9375.2939, 3303.6941, 0.00012207031]; +}; + +_vehicle_43 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Toilet", [9457.7568, 3337.4014, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_43 = _this; + _this setDir 392.11615; + _this setPos [9457.7568, 3337.4014, -3.0517578e-005]; +}; + +_vehicle_48 = objNull; +if (true) then +{ + _this = createVehicle ["Garbage_container", [9411.7656, 3327.1216, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_48 = _this; + _this setDir 268.01013; + _this setPos [9411.7656, 3327.1216, -6.1035156e-005]; +}; + +_vehicle_49 = objNull; +if (true) then +{ + _this = createVehicle ["Garbage_can", [9413.6182, 3326.1282, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_49 = _this; + _this setDir 3.0776455; + _this setPos [9413.6182, 3326.1282, -3.0517578e-005]; +}; + +_vehicle_52 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Market_stalls_01_EP1", [9410.4482, 3320.9568, -0.067228124], [], 0, "CAN_COLLIDE"]; + _vehicle_52 = _this; + _this setDir 93.258224; + _this setPos [9410.4482, 3320.9568, -0.067228124]; +}; + +_vehicle_54 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Misc_Well_C_EP1", [9422.7979, 3336.0676], [], 0, "CAN_COLLIDE"]; + _vehicle_54 = _this; + _this setPos [9422.7979, 3336.0676]; +}; + +_vehicle_56 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Canister_EP1", [9422.4658, 3337.1196, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_56 = _this; + _this setDir -45.595894; + _this setPos [9422.4658, 3337.1196, 6.1035156e-005]; +}; + +_vehicle_58 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Canister_EP1", [9423.75, 3335.6948, 0.00012207031], [], 0, "CAN_COLLIDE"]; + _vehicle_58 = _this; + _this setDir -59.910778; + _this setPos [9423.75, 3335.6948, 0.00012207031]; +}; + +_vehicle_60 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Canister_EP1", [9423.9287, 3336.373, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_60 = _this; + _this setDir 27.979448; + _this setPos [9423.9287, 3336.373, 3.0517578e-005]; +}; + +_vehicle_64 = objNull; +if (true) then +{ + _this = createVehicle ["Sign_1L_Border", [9375.752, 3302.5828], [], 0, "CAN_COLLIDE"]; + _vehicle_64 = _this; + _this setDir 96.057724; + _this setPos [9375.752, 3302.5828]; +}; + +_vehicle_65 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Wheel_cart_EP1", [9414.9521, 3330.8193, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_65 = _this; + _this setDir 228.13281; + _this setPos [9414.9521, 3330.8193, 3.0517578e-005]; +}; + +_this = createCenter civilian; +_center_1 = _this; + +_group_2 = createGroup _center_1; + +_unit_5 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Takistani03_EP1", [9409.832, 3328.823, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _unit_5 = _this; + _this setDir 633.34467; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_67 = objNull; +if (true) then +{ + _this = createVehicle ["ClutterCutter_EP1", [9405.0195, 3284.1743, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_67 = _this; + _this setPos [9405.0195, 3284.1743, 3.0517578e-005]; +}; + +_vehicle_69 = objNull; +if (true) then +{ + _this = createVehicle ["ClutterCutter_small_EP1", [9394.6797, 3289.2878, 0], [], 0, "CAN_COLLIDE"]; + _vehicle_69 = _this; + _this setPos [9394.6797, 3289.2878, 0]; +}; + +_unit_7 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Woman03_EP1", [9409.9043, 3317.147, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _unit_7 = _this; + _this setDir 269.65353; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (true) then {_group_2 selectLeader _this;}; +}; + +_vehicle_72 = objNull; +if (true) then +{ + _this = createVehicle ["Land_bouda1_ruins", [9391.8125, 3328.0518, -0.11402398], [], 0, "CAN_COLLIDE"]; + _vehicle_72 = _this; + _this setPos [9391.8125, 3328.0518, -0.11402398]; +}; + +_vehicle_73 = objNull; +if (true) then +{ + _this = createVehicle ["Land_bouda3_ruins", [9399.9805, 3326.4473, -0.2055155], [], 0, "CAN_COLLIDE"]; + _vehicle_73 = _this; + _this setPos [9399.9805, 3326.4473, -0.2055155]; +}; + +_vehicle_74 = objNull; +if (true) then +{ + _this = createVehicle ["Land_brana02nodoor_ruins", [9391.8994, 3333.2424, -0.12508643], [], 0, "CAN_COLLIDE"]; + _vehicle_74 = _this; + _this setPos [9391.8994, 3333.2424, -0.12508643]; +}; + +_unit_9 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Woman02_EP1", [9408.6309, 3313.9167], [], 0, "CAN_COLLIDE"]; + _unit_9 = _this; + _this setDir 265.03082; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_75 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9391.5449, 3284.0566, -0.18020795], [], 0, "CAN_COLLIDE"]; + _vehicle_75 = _this; + _this setDir 11.004239; + _this setPos [9391.5449, 3284.0566, -0.18020795]; +}; + +_vehicle_77 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9394.5068, 3283.5139, -0.27709433], [], 0, "CAN_COLLIDE"]; + _vehicle_77 = _this; + _this setDir 11.284316; + _this setPos [9394.5068, 3283.5139, -0.27709433]; +}; + +_vehicle_79 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9397.4316, 3282.8838, -0.30148685], [], 0, "CAN_COLLIDE"]; + _vehicle_79 = _this; + _this setDir 13.020566; + _this setPos [9397.4316, 3282.8838, -0.30148685]; +}; + +_vehicle_84 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9406.2959, 3281.1304, -0.36538512], [], 0, "CAN_COLLIDE"]; + _vehicle_84 = _this; + _this setDir 13.020566; + _this setPos [9406.2959, 3281.1304, -0.36538512]; +}; + +_vehicle_85 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9403.3711, 3281.7605, -0.29076654], [], 0, "CAN_COLLIDE"]; + _vehicle_85 = _this; + _this setDir 11.284316; + _this setPos [9403.3711, 3281.7605, -0.29076654]; +}; + +_vehicle_86 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9400.376, 3282.3149, -0.31039372], [], 0, "CAN_COLLIDE"]; + _vehicle_86 = _this; + _this setDir 11.004239; + _this setPos [9400.376, 3282.3149, -0.31039372]; +}; + +_vehicle_90 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9415.1895, 3279.365, -0.38628459], [], 0, "CAN_COLLIDE"]; + _vehicle_90 = _this; + _this setDir 13.020566; + _this setPos [9415.1895, 3279.365, -0.38628459]; +}; + +_vehicle_91 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9412.2646, 3279.9951, -0.47255892], [], 0, "CAN_COLLIDE"]; + _vehicle_91 = _this; + _this setDir 11.284316; + _this setPos [9412.2646, 3279.9951, -0.47255892]; +}; + +_vehicle_92 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9409.3027, 3280.5378, -0.42901888], [], 0, "CAN_COLLIDE"]; + _vehicle_92 = _this; + _this setDir 11.004239; + _this setPos [9409.3027, 3280.5378, -0.42901888]; +}; + +_vehicle_99 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9416.8223, 3280.8035, -0.27762082], [], 0, "CAN_COLLIDE"]; + _vehicle_99 = _this; + _this setDir 97.265701; + _this setPos [9416.8223, 3280.8035, -0.27762082]; +}; + +_vehicle_100 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9417.1514, 3283.7761, -0.26999143], [], 0, "CAN_COLLIDE"]; + _vehicle_100 = _this; + _this setDir 95.529465; + _this setPos [9417.1514, 3283.7761, -0.26999143]; +}; + +_vehicle_101 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9417.3936, 3286.7761, -0.25393918], [], 0, "CAN_COLLIDE"]; + _vehicle_101 = _this; + _this setDir 95.249397; + _this setPos [9417.3936, 3286.7761, -0.25393918]; +}; + +_vehicle_110 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9385.9873, 3286.0986, -0.30497736], [], 0, "CAN_COLLIDE"]; + _vehicle_110 = _this; + _this setDir 24.028791; + _this setPos [9385.9873, 3286.0986, -0.30497736]; +}; + +_vehicle_111 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9383.1934, 3287.3635, -0.26840273], [], 0, "CAN_COLLIDE"]; + _vehicle_111 = _this; + _this setDir 26.045122; + _this setPos [9383.1934, 3287.3635, -0.26840273]; +}; + +_vehicle_112 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9380.4258, 3288.656, -0.29698104], [], 0, "CAN_COLLIDE"]; + _vehicle_112 = _this; + _this setDir 24.30887; + _this setPos [9380.4258, 3288.656, -0.29698104]; +}; + +_vehicle_113 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9377.749, 3290.1528, -0.25702482], [], 0, "CAN_COLLIDE"]; + _vehicle_113 = _this; + _this setDir 32.929996; + _this setPos [9377.749, 3290.1528, -0.25702482]; +}; + +_vehicle_114 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9388.8477, 3284.8794, -0.23339844], [], 0, "CAN_COLLIDE"]; + _vehicle_114 = _this; + _this setDir 24.30887; + _this setPos [9388.8477, 3284.8794, -0.23339844]; +}; + +_vehicle_124 = objNull; +if (true) then +{ + _this = createVehicle ["FlagCarrierWhite_EP1", [9398.708, 3287.6577, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_124 = _this; + _this setDir -260.25677; + _this setPos [9398.708, 3287.6577, 9.1552734e-005]; +}; + +_vehicle_128 = objNull; +if (true) then +{ + _this = createVehicle ["Park_bench2_noRoad", [9382.9258, 3293.3162, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_128 = _this; + _this setDir 64.151039; + _this setPos [9382.9258, 3293.3162, -3.0517578e-005]; +}; + +_vehicle_132 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Ind_TankSmall2", [9401.0615, 3335.5154, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_132 = _this; + _this setDir 1.3549901; + _this setPos [9401.0615, 3335.5154, -6.1035156e-005]; +}; + +_unit_11 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Woman01_EP1", [9412.3633, 3321.0039, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_11 = _this; + _this setDir 282.46509; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_136 = objNull; +if (true) then +{ + _this = createVehicle ["Misc_Backpackheap_EP1", [9410.9727, 3320.7258, 0.0035711317], [], 0, "CAN_COLLIDE"]; + _vehicle_136 = _this; + _this setDir 35.559231; + _this setPos [9410.9727, 3320.7258, 0.0035711317]; +}; + +_this = createCenter west; +_center_2 = _this; + +_group_3 = createGroup _center_2; + +_vehicle_541 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [467.31519, 5572.9824, -0.11425885], [], 0, "CAN_COLLIDE"]; + _vehicle_541 = _this; + _this setDir 67.711899; + _this setPos [467.31519, 5572.9824, -0.11425885]; +}; + +_vehicle_544 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [461.30838, 5587.5259, 0.10692275], [], 0, "CAN_COLLIDE"]; + _vehicle_544 = _this; + _this setDir 67.711899; + _this setPos [461.30838, 5587.5259, 0.10692275]; +}; + +_vehicle_546 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [476.75058, 5547.7417, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_546 = _this; + _this setDir 70.322105; + _this setPos [476.75058, 5547.7417, -3.0517578e-005]; +}; + +_vehicle_549 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [479.70895, 5532.625, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_549 = _this; + _this setDir 88.200966; + _this setPos [479.70895, 5532.625, -3.0517578e-005]; +}; + +_vehicle_552 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [473.2265, 5522.5811, -0.046003677], [], 0, "CAN_COLLIDE"]; + _vehicle_552 = _this; + _this setDir 158.86345; + _this setPos [473.2265, 5522.5811, -0.046003677]; +}; + +_vehicle_555 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [458.34625, 5519.2271, -0.15997893], [], 0, "CAN_COLLIDE"]; + _vehicle_555 = _this; + _this setDir 176.99036; + _this setPos [458.34625, 5519.2271, -0.15997893]; +}; + +_vehicle_558 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier5x", [446.64297, 5518.2271, 0.11370456], [], 0, "CAN_COLLIDE"]; + _vehicle_558 = _this; + _this setPos [446.64297, 5518.2271, 0.11370456]; +}; + +_vehicle_563 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [449.84854, 5593.1582, 0.00012207031], [], 0, "CAN_COLLIDE"]; + _vehicle_563 = _this; + _this setDir -6.7352095; + _this setPos [449.84854, 5593.1582, 0.00012207031]; +}; + +_vehicle_566 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [434.91687, 5593.2358, -0.28351352], [], 0, "CAN_COLLIDE"]; + _vehicle_566 = _this; + _this setDir 8.6107798; + _this setPos [434.91687, 5593.2358, -0.28351352]; +}; + +_vehicle_569 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [419.52618, 5596.7983, -0.2930156], [], 0, "CAN_COLLIDE"]; + _vehicle_569 = _this; + _this setDir 14.015171; + _this setPos [419.52618, 5596.7983, -0.2930156]; +}; + +_vehicle_572 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [404.14587, 5597.9829, -0.097336046], [], 0, "CAN_COLLIDE"]; + _vehicle_572 = _this; + _this setDir -5.0293117; + _this setPos [404.14587, 5597.9829, -0.097336046]; +}; + +_vehicle_575 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [377.43738, 5583.6787, -0.10310728], [], 0, "CAN_COLLIDE"]; + _vehicle_575 = _this; + _this setDir -39.527809; + _this setPos [377.43738, 5583.6787, -0.10310728]; +}; + +_vehicle_579 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [428.78467, 5522.0796, -0.68215621], [], 0, "CAN_COLLIDE"]; + _vehicle_579 = _this; + _this setDir 195.39079; + _this setPos [428.78467, 5522.0796, -0.68215621]; +}; + +_vehicle_582 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [414.26059, 5527.4419, -0.40040857], [], 0, "CAN_COLLIDE"]; + _vehicle_582 = _this; + _this setDir 204.07973; + _this setPos [414.26059, 5527.4419, -0.40040857]; +}; + +_vehicle_585 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [401.69217, 5536.4824, -0.23996866], [], 0, "CAN_COLLIDE"]; + _vehicle_585 = _this; + _this setDir 224.41992; + _this setPos [401.69217, 5536.4824, -0.23996866]; +}; + +_vehicle_588 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [391.06473, 5547.7251, -0.030936833], [], 0, "CAN_COLLIDE"]; + _vehicle_588 = _this; + _this setDir 226.98743; + _this setPos [391.06473, 5547.7251, -0.030936833]; +}; + +_vehicle_591 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [381.51758, 5560.1904, -0.033338293], [], 0, "CAN_COLLIDE"]; + _vehicle_591 = _this; + _this setDir 236.88116; + _this setPos [381.51758, 5560.1904, -0.033338293]; +}; + +_vehicle_593 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [374.67487, 5574.4004, -0.11067762], [], 0, "CAN_COLLIDE"]; + _vehicle_593 = _this; + _this setDir 249.70583; + _this setPos [374.67487, 5574.4004, -0.11067762]; +}; + +_vehicle_595 = objNull; +if (true) then +{ + _this = createVehicle ["Concrete_Wall_EP1", [473.75073, 5556.4609, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_595 = _this; + _this setDir 69.341614; + _this setPos [473.75073, 5556.4609, -3.0517578e-005]; +}; + +_vehicle_596 = objNull; +if (true) then +{ + _this = createVehicle ["Hhedgehog_concrete", [478.05792, 5557.4321, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_596 = _this; + _this setDir 70.170258; + _this setPos [478.05792, 5557.4321, -3.0517578e-005]; +}; + +_vehicle_597 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [491.79523, 5570.2002, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_597 = _this; + _this setDir -167.72279; + _this setPos [491.79523, 5570.2002, 6.1035156e-005]; +}; + +_vehicle_599 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [481.54358, 5569.7275, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_599 = _this; + _this setDir 31.445446; + _this setPos [481.54358, 5569.7275, 6.1035156e-005]; +}; + +_vehicle_601 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [480.84738, 5571.27], [], 0, "CAN_COLLIDE"]; + _vehicle_601 = _this; + _this setDir -22.753965; + _this setPos [480.84738, 5571.27]; +}; + +_vehicle_605 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [475.89789, 5556.8271, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_605 = _this; + _this setDir 16.545176; + _this setPos [475.89789, 5556.8271, -9.1552734e-005]; +}; + +_vehicle_606 = objNull; +if (true) then +{ + _this = createVehicle ["Fence_corrugated_plate", [477.09686, 5539.4614, -0.61496592], [], 0, "CAN_COLLIDE"]; + _vehicle_606 = _this; + _this setDir 158.85382; + _this setPos [477.09686, 5539.4614, -0.61496592]; +}; + +_vehicle_608 = objNull; +if (true) then +{ + _this = createVehicle ["Fence_corrugated_plate", [473.35281, 5538.1504, -0.43689191], [], 0, "CAN_COLLIDE"]; + _vehicle_608 = _this; + _this setDir 158.85382; + _this setPos [473.35281, 5538.1504, -0.43689191]; +}; + +_vehicle_611 = objNull; +if (true) then +{ + _this = createVehicle ["Fence_corrugated_plate", [469.62384, 5536.7363, -0.44973016], [], 0, "CAN_COLLIDE"]; + _vehicle_611 = _this; + _this setDir 158.85382; + _this setPos [469.62384, 5536.7363, -0.44973016]; +}; + +_vehicle_614 = objNull; +if (true) then +{ + _this = createVehicle ["Fence_corrugated_plate", [467.75946, 5531.2495, -0.57173574], [], 0, "CAN_COLLIDE"]; + _vehicle_614 = _this; + _this setDir 77.439026; + _this setPos [467.75946, 5531.2495, -0.57173574]; +}; + +_vehicle_617 = objNull; +if (true) then +{ + _this = createVehicle ["Fence_corrugated_plate", [468.51788, 5527.355, -0.46186411], [], 0, "CAN_COLLIDE"]; + _vehicle_617 = _this; + _this setDir 77.439026; + _this setPos [468.51788, 5527.355, -0.46186411]; +}; + +_vehicle_619 = objNull; +if (true) then +{ + _this = createVehicle ["Fence_corrugated_plate", [469.27405, 5523.4663, -0.13531737], [], 0, "CAN_COLLIDE"]; + _vehicle_619 = _this; + _this setDir 77.439026; + _this setPos [469.27405, 5523.4663, -0.13531737]; +}; + +_vehicle_623 = objNull; +if (true) then +{ + _this = createVehicle ["UH1Wreck", [472.86752, 5530.7593, -0.13926697], [], 0, "CAN_COLLIDE"]; + _vehicle_623 = _this; + _this setPos [472.86752, 5530.7593, -0.13926697]; +}; + +_group_4 = createGroup _center_1; + +_unit_32 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["Woodlander2", [465.37912, 5534.7559, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_32 = _this; + _this setDir -3.8732703; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (true) then {_group_2 selectLeader _this;}; +}; + +_vehicle_626 = objNull; +if (true) then +{ + _this = createVehicle ["Barrels", [471.14029, 5524.6445, -0.022555966], [], 0, "CAN_COLLIDE"]; + _vehicle_626 = _this; + _this setDir -11.867036; + _this setPos [471.14029, 5524.6445, -0.022555966]; +}; + +_vehicle_628 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Toilet", [448.45313, 5521.2505], [], 0, "CAN_COLLIDE"]; + _vehicle_628 = _this; + _this setDir 179.40398; + _this setPos [448.45313, 5521.2505]; +}; + +_vehicle_630 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Toilet", [446.50516, 5521.2256, -0.00018310547], [], 0, "CAN_COLLIDE"]; + _vehicle_630 = _this; + _this setDir 179.40398; + _this setPos [446.50516, 5521.2256, -0.00018310547]; +}; + +_vehicle_632 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Toilet", [444.50015, 5521.3564, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_632 = _this; + _this setDir 179.40398; + _this setPos [444.50015, 5521.3564, -9.1552734e-005]; +}; + +_vehicle_634 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Misc_Well_L_EP1", [377.48596, 5578.4937, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_634 = _this; + _this setDir 151.31206; + _this setPos [377.48596, 5578.4937, 6.1035156e-005]; +}; + +_vehicle_637 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [435.38754, 5591.2817, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_637 = _this; + _this setDir 75.415329; + _this setPos [435.38754, 5591.2817, 6.1035156e-005]; +}; + +_vehicle_639 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [436.80533, 5585.6733], [], 0, "CAN_COLLIDE"]; + _vehicle_639 = _this; + _this setDir 75.415329; + _this setPos [436.80533, 5585.6733]; +}; + +_vehicle_648 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [438.26471, 5580.1245], [], 0, "CAN_COLLIDE"]; + _vehicle_648 = _this; + _this setDir 75.415329; + _this setPos [438.26471, 5580.1245]; +}; + +_vehicle_651 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [439.77438, 5574.5991, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_651 = _this; + _this setDir 75.415329; + _this setPos [439.77438, 5574.5991, -3.0517578e-005]; +}; + +_vehicle_653 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [441.25067, 5569.0562, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_653 = _this; + _this setDir 75.415329; + _this setPos [441.25067, 5569.0562, 6.1035156e-005]; +}; + +_vehicle_655 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [448.00772, 5547.5825, -0.07994803], [], 0, "CAN_COLLIDE"]; + _vehicle_655 = _this; + _this setDir 75.415329; + _this setPos [448.00772, 5547.5825, -0.07994803]; +}; + +_vehicle_657 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [449.97937, 5542.0229, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_657 = _this; + _this setDir 54.770618; + _this setPos [449.97937, 5542.0229, -3.0517578e-005]; +}; + +_vehicle_660 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [453.38403, 5537.2974], [], 0, "CAN_COLLIDE"]; + _vehicle_660 = _this; + _this setDir 54.770618; + _this setPos [453.38403, 5537.2974]; +}; + +_vehicle_662 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [458.63715, 5531.3252, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_662 = _this; + _this setDir 45.235657; + _this setPos [458.63715, 5531.3252, -3.0517578e-005]; +}; + +_vehicle_664 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [463.8385, 5526.502, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_664 = _this; + _this setDir 39.698677; + _this setPos [463.8385, 5526.502, 6.1035156e-005]; +}; + +_vehicle_666 = objNull; +if (true) then +{ + _this = createVehicle ["HeliHCivil", [450.67926, 5584.9604, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_666 = _this; + _this setPos [450.67926, 5584.9604, -3.0517578e-005]; +}; + +_vehicle_667 = objNull; +if (true) then +{ + _this = createVehicle ["HeliH", [455.12183, 5570.9292, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_667 = _this; + _this setPos [455.12183, 5570.9292, 3.0517578e-005]; +}; + +_vehicle_676 = objNull; +if (true) then +{ + _this = createVehicle ["HeliHCivil", [462.32736, 5545.147, 0], [], 0, "CAN_COLLIDE"]; + _vehicle_676 = _this; + _this setPos [462.32736, 5545.147, 0]; +}; + +_vehicle_679 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Market_stalls_02_EP1", [385.92462, 5569.4058, -0.067136191], [], 0, "CAN_COLLIDE"]; + _vehicle_679 = _this; + _this setDir 54.780922; + _this setPos [385.92462, 5569.4058, -0.067136191]; +}; + +_unit_35 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Takistani05_EP1", [385.81494, 5569.2104, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_35 = _this; + _this setDir 59.287182; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_unit_39 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["Dr_Annie_Baker_EP1", [384.03485, 5573.4668, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_39 = _this; + _this setDir 58.586422; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_680 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [414.61655, 5594.7588, -0.28160316], [], 0, "CAN_COLLIDE"]; + _vehicle_680 = _this; + _this setDir 15.426847; + _this setPos [414.61655, 5594.7588, -0.28160316]; +}; + +_vehicle_682 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [417.061, 5594.0615, -0.19003668], [], 0, "CAN_COLLIDE"]; + _vehicle_682 = _this; + _this setDir 15.426847; + _this setPos [417.061, 5594.0615, -0.19003668]; +}; + +_vehicle_684 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [419.56622, 5593.3799, -0.20842168], [], 0, "CAN_COLLIDE"]; + _vehicle_684 = _this; + _this setDir 375.98425; + _this setPos [419.56622, 5593.3799, -0.20842168]; +}; + +_vehicle_689 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [427.0097, 5591.2534, -0.25221762], [], 0, "CAN_COLLIDE"]; + _vehicle_689 = _this; + _this setDir 375.8924; + _this setPos [427.0097, 5591.2534, -0.25221762]; +}; + +_vehicle_690 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [424.50369, 5591.9351, -0.22017814], [], 0, "CAN_COLLIDE"]; + _vehicle_690 = _this; + _this setDir 15.335101; + _this setPos [424.50369, 5591.9351, -0.22017814]; +}; + +_vehicle_691 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [422.05771, 5592.6333, -0.19490954], [], 0, "CAN_COLLIDE"]; + _vehicle_691 = _this; + _this setDir 15.335101; + _this setPos [422.05771, 5592.6333, -0.19490954]; +}; + +_vehicle_696 = objNull; +if (true) then +{ + _this = createVehicle ["PowerGenerator_EP1", [412.89685, 5593.2773], [], 0, "CAN_COLLIDE"]; + _vehicle_696 = _this; + _this setDir 5.2551718; + _this setPos [412.89685, 5593.2773]; +}; + +_vehicle_703 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Large", [416.67548, 5592.4854, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_703 = _this; + _this setDir -76.959412; + _this setPos [416.67548, 5592.4854, 3.0517578e-005]; +}; + +_vehicle_704 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrate_NoInteractive_", [420.59286, 5591.8779], [], 0, "CAN_COLLIDE"]; + _vehicle_704 = _this; + _this setDir 11.417518; + _this setPos [420.59286, 5591.8779]; +}; + +_vehicle_705 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Small", [420.2493, 5590.7563, -0.014034155], [], 0, "CAN_COLLIDE"]; + _vehicle_705 = _this; + _this setDir -64.652412; + _this setPos [420.2493, 5590.7563, -0.014034155]; +}; + +_vehicle_706 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CamoNet_NATO_EP1", [420.8869, 5592.0044, -0.21952003], [], 0, "CAN_COLLIDE"]; + _vehicle_706 = _this; + _this setDir 11.876419; + _this setPos [420.8869, 5592.0044, -0.21952003]; +}; + +_vehicle_710 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Water_pipe_EP1", [384.74173, 5573.1787], [], 0, "CAN_COLLIDE"]; + _vehicle_710 = _this; + _this setPos [384.74173, 5573.1787]; +}; + +_vehicle_711 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [415.62619, 5590.9194, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_711 = _this; + _this setDir 193.3033; + _this setPos [415.62619, 5590.9194, 3.0517578e-005]; +}; + +_vehicle_713 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [425.7933, 5590.0083, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_713 = _this; + _this setDir 384.4429; + _this setPos [425.7933, 5590.0083, 3.0517578e-005]; +}; + +_vehicle_717 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrate_NoInteractive_", [425.18777, 5588.395], [], 0, "CAN_COLLIDE"]; + _vehicle_717 = _this; + _this setDir 120.40635; + _this setPos [425.18777, 5588.395]; +}; + +_vehicle_719 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [398.9899, 5596.3525, -0.31265378], [], 0, "CAN_COLLIDE"]; + _vehicle_719 = _this; + _this setDir 57.591171; + _this setPos [398.9899, 5596.3525, -0.31265378]; +}; + +_vehicle_721 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [401.98154, 5591.6226, -0.27672666], [], 0, "CAN_COLLIDE"]; + _vehicle_721 = _this; + _this setDir 57.646896; + _this setPos [401.98154, 5591.6226, -0.27672666]; +}; + +_vehicle_725 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [408.12848, 5582.1011, -0.1126957], [], 0, "CAN_COLLIDE"]; + _vehicle_725 = _this; + _this setDir 45.727673; + _this setPos [408.12848, 5582.1011, -0.1126957]; +}; + +_vehicle_726 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [404.94794, 5586.8364, -0.15294839], [], 0, "CAN_COLLIDE"]; + _vehicle_726 = _this; + _this setDir 57.591171; + _this setPos [404.94794, 5586.8364, -0.15294839]; +}; + +_unit_40 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["RU_Profiteer3", [417.94049, 5591.2446], [], 0, "CAN_COLLIDE"]; + _unit_40 = _this; + _this setDir 184.40666; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_unit_42 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["Profiteer1", [423.12558, 5590.04, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_42 = _this; + _this setDir 191.358; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_727 = objNull; +if (true) then +{ + _this = createVehicle ["Misc_Cargo1B_military", [410.61719, 5593.2192, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_727 = _this; + _this setDir 3.0761666; + _this setPos [410.61719, 5593.2192, -6.1035156e-005]; +}; + +_vehicle_728 = objNull; +if (true) then +{ + _this = createVehicle ["Land_GuardShed", [477.21384, 5569.1885, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_728 = _this; + _this setDir -109.54568; + _this setPos [477.21384, 5569.1885, -3.0517578e-005]; +}; + +_vehicle_731 = objNull; +if (true) then +{ + _this = createVehicle ["Concrete_Wall_EP1", [472.86475, 5558.9121, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_731 = _this; + _this setDir 251.48117; + _this setPos [472.86475, 5558.9121, 3.0517578e-005]; +}; + +_vehicle_733 = objNull; +if (true) then +{ + _this = createVehicle ["ZavoraAnim", [474.84076, 5567.3052, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_733 = _this; + _this setDir -108.65623; + _this setPos [474.84076, 5567.3052, 6.1035156e-005]; +}; + +_vehicle_740 = objNull; +if (true) then +{ + _this = createVehicle ["Hhedgehog_concrete", [392.2883, 5595.5415, 0.20264974], [], 0, "CAN_COLLIDE"]; + _vehicle_740 = _this; + _this setDir -34.052906; + _this setPos [392.2883, 5595.5415, 0.20264974]; +}; + +_vehicle_742 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [378.91821, 5595.0806, -0.00010440551], [], 0, "CAN_COLLIDE"]; + _vehicle_742 = _this; + _this setDir -72.777725; + _this setPos [378.91821, 5595.0806, -0.00010440551]; +}; + +_vehicle_743 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [377.64478, 5593.8403, -0.0028088728], [], 0, "CAN_COLLIDE"]; + _vehicle_743 = _this; + _this setDir -126.97714; + _this setPos [377.64478, 5593.8403, -0.0028088728]; +}; + +_vehicle_744 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [393.40479, 5593.5967, 0.024805665], [], 0, "CAN_COLLIDE"]; + _vehicle_744 = _this; + _this setDir -87.678001; + _this setPos [393.40479, 5593.5967, 0.024805665]; +}; + +_vehicle_745 = objNull; +if (true) then +{ + _this = createVehicle ["Land_GuardShed", [380.58249, 5590.9526, 0.18708599], [], 0, "CAN_COLLIDE"]; + _vehicle_745 = _this; + _this setDir -213.76889; + _this setPos [380.58249, 5590.9526, 0.18708599]; +}; + +_vehicle_754 = objNull; +if (true) then +{ + _this = createVehicle ["Base_WarfareBBarrier10xTall", [374.58142, 5592.9712], [], 0, "CAN_COLLIDE"]; + _vehicle_754 = _this; + _this setDir 236.88116; + _this setPos [374.58142, 5592.9712]; +}; + +_vehicle_757 = objNull; +if (true) then +{ + _this = createVehicle ["ZavoraAnim", [383.96402, 5589.8809, 9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_757 = _this; + _this setDir 144.38258; + _this setPos [383.96402, 5589.8809, 9.1552734e-005]; +}; + +_vehicle_760 = objNull; +if (true) then +{ + _this = createVehicle ["Hedgehog_EP1", [376.16486, 5605.0757], [], 0, "CAN_COLLIDE"]; + _vehicle_760 = _this; + _this setDir -72.777725; + _this setPos [376.16486, 5605.0757]; +}; + +_vehicle_763 = objNull; +if (true) then +{ + _this = createVehicle ["FlagCarrierUSArmy_EP1", [403.76385, 5594.1479], [], 0, "CAN_COLLIDE"]; + _vehicle_763 = _this; + _this setPos [403.76385, 5594.1479]; +}; + +_vehicle_764 = objNull; +if (true) then +{ + _this = createVehicle ["Garbage_container", [427.49854, 5588.3984, -0.092927903], [], 0, "CAN_COLLIDE"]; + _vehicle_764 = _this; + _this setDir 18.37372; + _this setPos [427.49854, 5588.3984, -0.092927903]; +}; + +_vehicle_765 = objNull; +if (true) then +{ + _this = createVehicle ["Land_bags_stack_EP1", [387.79004, 5566.6416, -0.020121928], [], 0, "CAN_COLLIDE"]; + _vehicle_765 = _this; + _this setPos [387.79004, 5566.6416, -0.020121928]; +}; + +_vehicle_782 = objNull; +if (true) then +{ + _this = createVehicle ["FoldTable", [413.34015, 5585.1191, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_782 = _this; + _this setDir -74.047806; + _this setPos [413.34015, 5585.1191, -3.0517578e-005]; +}; + +_unit_47 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["Functionary1", [412.35825, 5585.6499, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_47 = _this; + _this setDir 108.74825; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_784 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [411.36893, 5585.5518], [], 0, "CAN_COLLIDE"]; + _vehicle_784 = _this; + _this setDir -125.75441; + _this setPos [411.36893, 5585.5518]; +}; + +_vehicle_785 = objNull; +if (true) then +{ + _this = createVehicle ["SmallTable", [422.7948, 5589.3794], [], 0, "CAN_COLLIDE"]; + _vehicle_785 = _this; + _this setDir 12.210046; + _this setPos [422.7948, 5589.3794]; +}; + +_vehicle_786 = objNull; +if (true) then +{ + _this = createVehicle ["FoldTable", [418.04825, 5590.6543, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_786 = _this; + _this setDir 9.3565235; + _this setPos [418.04825, 5590.6543, 3.0517578e-005]; +}; + +_vehicle_787 = objNull; +if (true) then +{ + _this = createVehicle ["Misc_Backpackheap_EP1", [390.79089, 5563.2129], [], 0, "CAN_COLLIDE"]; + _vehicle_787 = _this; + _this setDir 74.592194; + _this setPos [390.79089, 5563.2129]; +}; + +_vehicle_789 = objNull; +if (true) then +{ + _this = createVehicle ["Misc_cargo_cont_net1", [380.51337, 5575.9312, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_789 = _this; + _this setDir -36.468002; + _this setPos [380.51337, 5575.9312, -3.0517578e-005]; +}; + +_vehicle_790 = objNull; +if (true) then +{ + _this = createVehicle ["LADAWreck", [466.71729, 5529.4595, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_790 = _this; + _this setDir 164.9642; + _this setPos [466.71729, 5529.4595, 6.1035156e-005]; +}; + +_vehicle_791 = objNull; +if (true) then +{ + _this = createVehicle ["Sign_1L_Border", [367.89807, 5607.002, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_791 = _this; + _this setDir 146.30278; + _this setPos [367.89807, 5607.002, -3.0517578e-005]; +}; + +_vehicle_793 = objNull; +if (true) then +{ + _this = createVehicle ["Sign_1L_Border", [379.54453, 5614.0146], [], 0, "CAN_COLLIDE"]; + _vehicle_793 = _this; + _this setDir 142.90076; + _this setPos [379.54453, 5614.0146]; +}; + +_vehicle_795 = objNull; +if (true) then +{ + _this = createVehicle ["Sign_1L_Border", [490.2674, 5574.2583], [], 0, "CAN_COLLIDE"]; + _vehicle_795 = _this; + _this setDir 247.68358; + _this setPos [490.2674, 5574.2583]; +}; + +_vehicle_798 = objNull; +if (true) then +{ + _this = createVehicle ["Sign_1L_Border", [495.36984, 5561.9443, 0], [], 0, "CAN_COLLIDE"]; + _vehicle_798 = _this; + _this setDir 247.68358; + _this setPos [495.36984, 5561.9443, 0]; +}; + +_vehicle_801 = objNull; +if (true) then +{ + _this = createVehicle ["UralWreck", [462.3002, 5533.7866, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_801 = _this; + _this setDir 315.18945; + _this setPos [462.3002, 5533.7866, -9.1552734e-005]; +}; + +_vehicle_803 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [383.4057, 5586.7954, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_803 = _this; + _this setDir 52.81205; + _this setPos [383.4057, 5586.7954, -6.1035156e-005]; +}; + +_vehicle_806 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [386.90225, 5582.2612, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_806 = _this; + _this setDir 52.81205; + _this setPos [386.90225, 5582.2612, -9.1552734e-005]; +}; + +_vehicle_808 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [390.36646, 5577.7026], [], 0, "CAN_COLLIDE"]; + _vehicle_808 = _this; + _this setDir 51.49057; + _this setPos [390.36646, 5577.7026]; +}; + +_vehicle_811 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [393.98856, 5573.2617, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_811 = _this; + _this setDir 51.49057; + _this setPos [393.98856, 5573.2617, -3.0517578e-005]; +}; + +_vehicle_814 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [7873.6284, 5580.3813], [], 0, "CAN_COLLIDE"]; + _vehicle_814 = _this; + _this setDir -77.903244; + _this setPos [7873.6284, 5580.3813]; +}; + +_vehicle_817 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock", [7861.0435, 5586.8188, -0.00015258789], [], 0, "CAN_COLLIDE"]; + _vehicle_817 = _this; + _this setDir -77.903244; + _this setPos [7861.0435, 5586.8188, -0.00015258789]; +}; + +_vehicle_820 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7858.8667, 5577.2134, -0.13993473], [], 0, "CAN_COLLIDE"]; + _vehicle_820 = _this; + _this setDir -74.889816; + _this setPos [7858.8667, 5577.2134, -0.13993473]; +}; + +_vehicle_822 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7857.0024, 5569.3721, -0.11070921], [], 0, "CAN_COLLIDE"]; + _vehicle_822 = _this; + _this setDir -74.889816; + _this setPos [7857.0024, 5569.3721, -0.11070921]; +}; + +_vehicle_824 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7853.1372, 5563.2227, -0.41806766], [], 0, "CAN_COLLIDE"]; + _vehicle_824 = _this; + _this setDir -30.254017; + _this setPos [7853.1372, 5563.2227, -0.41806766]; +}; + +_vehicle_831 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7845.2275, 5562.8281, -0.20573841], [], 0, "CAN_COLLIDE"]; + _vehicle_831 = _this; + _this setDir 12.555671; + _this setPos [7845.2275, 5562.8281, -0.20573841]; +}; + +_vehicle_834 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7836.9375, 5564.2861, -0.20287354], [], 0, "CAN_COLLIDE"]; + _vehicle_834 = _this; + _this setDir 12.555671; + _this setPos [7836.9375, 5564.2861, -0.20287354]; +}; + +_vehicle_836 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7829.1475, 5566.1279, -0.32924452], [], 0, "CAN_COLLIDE"]; + _vehicle_836 = _this; + _this setDir 18.938559; + _this setPos [7829.1475, 5566.1279, -0.32924452]; +}; + +_vehicle_838 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7820.9741, 5568.0752, -0.2365133], [], 0, "CAN_COLLIDE"]; + _vehicle_838 = _this; + _this setDir 12.555671; + _this setPos [7820.9741, 5568.0752, -0.2365133]; +}; + +_vehicle_840 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7812.6733, 5569.8306, -0.31008413], [], 0, "CAN_COLLIDE"]; + _vehicle_840 = _this; + _this setDir 12.555671; + _this setPos [7812.6733, 5569.8306, -0.31008413]; +}; + +_vehicle_843 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7804.6787, 5571.8853, -0.24015936], [], 0, "CAN_COLLIDE"]; + _vehicle_843 = _this; + _this setDir 18.337181; + _this setPos [7804.6787, 5571.8853, -0.24015936]; +}; + +_vehicle_846 = objNull; +if (true) then +{ + _this = createVehicle ["Fort_RazorWire", [7799.6284, 5577.5479, -0.18118812], [], 0, "CAN_COLLIDE"]; + _vehicle_846 = _this; + _this setDir -74.891418; + _this setPos [7799.6284, 5577.5479, -0.18118812]; +}; + +_vehicle_849 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7862.4771, 5593.6445, -0.21123199], [], 0, "CAN_COLLIDE"]; + _vehicle_849 = _this; + _this setDir -74.889816; + _this setPos [7862.4771, 5593.6445, -0.21123199]; +}; + +_vehicle_852 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7862.5776, 5601.4902, -0.28219095], [], 0, "CAN_COLLIDE"]; + _vehicle_852 = _this; + _this setDir -100.71717; + _this setPos [7862.5776, 5601.4902, -0.28219095]; +}; + +_vehicle_855 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7858.0537, 5608.418, -0.26169652], [], 0, "CAN_COLLIDE"]; + _vehicle_855 = _this; + _this setDir -141.08026; + _this setPos [7858.0537, 5608.418, -0.26169652]; +}; + +_vehicle_858 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7851.4312, 5613.333, -0.2458685], [], 0, "CAN_COLLIDE"]; + _vehicle_858 = _this; + _this setDir -141.08026; + _this setPos [7851.4312, 5613.333, -0.2458685]; +}; + +_vehicle_861 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7844.0874, 5617.6611, -0.2823652], [], 0, "CAN_COLLIDE"]; + _vehicle_861 = _this; + _this setDir -153.21941; + _this setPos [7844.0874, 5617.6611, -0.2823652]; +}; + +_vehicle_864 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7836.0068, 5620.292, -0.33543342], [], 0, "CAN_COLLIDE"]; + _vehicle_864 = _this; + _this setDir -166.34833; + _this setPos [7836.0068, 5620.292, -0.33543342]; +}; + +_vehicle_867 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7827.9497, 5619.5391, -0.36756286], [], 0, "CAN_COLLIDE"]; + _vehicle_867 = _this; + _this setDir -200.12737; + _this setPos [7827.9497, 5619.5391, -0.36756286]; +}; + +_vehicle_870 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7820.7842, 5615.4233, -0.2629841], [], 0, "CAN_COLLIDE"]; + _vehicle_870 = _this; + _this setDir -213.22206; + _this setPos [7820.7842, 5615.4233, -0.2629841]; +}; + +_vehicle_873 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7814.209, 5609.9785, -0.19501312], [], 0, "CAN_COLLIDE"]; + _vehicle_873 = _this; + _this setDir -221.72583; + _this setPos [7814.209, 5609.9785, -0.19501312]; +}; + +_vehicle_876 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier_large", [7809.7944, 5603.2695, -0.20860085], [], 0, "CAN_COLLIDE"]; + _vehicle_876 = _this; + _this setDir -252.18604; + _this setPos [7809.7944, 5603.2695, -0.20860085]; +}; + +_vehicle_878 = objNull; +if (true) then +{ + _this = createVehicle ["FoldTable", [7831.624, 5608.6172, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_878 = _this; + _this setDir 6.5718408; + _this setPos [7831.624, 5608.6172, -3.0517578e-005]; +}; + +_vehicle_879 = objNull; +if (true) then +{ + _this = createVehicle ["FoldChair", [7831.9224, 5610.2715, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_879 = _this; + _this setDir 33.231548; + _this setPos [7831.9224, 5610.2715, 3.0517578e-005]; +}; + +_vehicle_880 = objNull; +if (true) then +{ + _this = createVehicle ["LADAWreck", [7829.2314, 5610.3999, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_880 = _this; + _this setDir 22.409195; + _this setPos [7829.2314, 5610.3999, -6.1035156e-005]; +}; + +_vehicle_884 = objNull; +if (true) then +{ + _this = createVehicle ["SKODAWreck", [7833.75, 5617.1235, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_884 = _this; + _this setDir 95.829956; + _this setPos [7833.75, 5617.1235, -3.0517578e-005]; +}; + +_vehicle_885 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CamoNet_NATO_EP1", [7832.729, 5610.9907, -0.069302559], [], 0, "CAN_COLLIDE"]; + _vehicle_885 = _this; + _this setPos [7832.729, 5610.9907, -0.069302559]; +}; + +_unit_52 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["RU_Profiteer2", [7830.3003, 5609.5566, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_52 = _this; + _this setDir 180.2108; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_886 = objNull; +if (true) then +{ + _this = createVehicle ["Land_bags_EP1", [7834.6499, 5611.0288, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_886 = _this; + _this setDir 70.801575; + _this setPos [7834.6499, 5611.0288, 6.1035156e-005]; +}; + +_vehicle_887 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Toilet", [7857.5464, 5604, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_887 = _this; + _this setDir 40.104221; + _this setPos [7857.5464, 5604, -9.1552734e-005]; +}; + +_vehicle_888 = objNull; +if (true) then +{ + _this = createVehicle ["FlagCarrierWhite_EP1", [7823.6431, 5611.5093, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_888 = _this; + _this setPos [7823.6431, 5611.5093, -3.0517578e-005]; +}; + +_vehicle_889 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Barrel_water", [7835.6968, 5611.0073, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_889 = _this; + _this setPos [7835.6968, 5611.0073, -3.0517578e-005]; +}; + +_vehicle_890 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Crates_stack_EP1", [7833.8726, 5609.5723, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_890 = _this; + _this setDir 192.86385; + _this setPos [7833.8726, 5609.5723, 6.1035156e-005]; +}; + +_unit_53 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["RU_Damsel4", [7836.1768, 5609.1206, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _unit_53 = _this; + _this setDir -158.59094; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_891 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9409.8379, 3292.6917, -0.28053623], [], 0, "CAN_COLLIDE"]; + _vehicle_891 = _this; + _this setDir 96.702187; + _this setPos [9409.8379, 3292.6917, -0.28053623]; +}; + +_vehicle_893 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9409.4678, 3289.677, -0.18589659], [], 0, "CAN_COLLIDE"]; + _vehicle_893 = _this; + _this setDir 96.702187; + _this setPos [9409.4678, 3289.677, -0.18589659]; +}; + +_vehicle_895 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9409.1055, 3286.6311, -0.13804854], [], 0, "CAN_COLLIDE"]; + _vehicle_895 = _this; + _this setDir 96.702187; + _this setPos [9409.1055, 3286.6311, -0.13804854]; +}; + +_vehicle_898 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9407.1641, 3285.7546, -0.10308859], [], 0, "CAN_COLLIDE"]; + _vehicle_898 = _this; + _this setDir 183.47427; + _this setPos [9407.1641, 3285.7546, -0.10308859]; +}; + +_vehicle_901 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9404.1846, 3286.0825, -0.13678694], [], 0, "CAN_COLLIDE"]; + _vehicle_901 = _this; + _this setDir 183.47427; + _this setPos [9404.1846, 3286.0825, -0.13678694]; +}; + +_vehicle_903 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9401.5859, 3286.3369, -0.089291818], [], 0, "CAN_COLLIDE"]; + _vehicle_903 = _this; + _this setDir 183.47427; + _this setPos [9401.5859, 3286.3369, -0.089291818]; +}; + +_vehicle_905 = objNull; +if (true) then +{ + _this = createVehicle ["Land_fort_bagfence_long", [9398.5869, 3286.6848, -0.11281232], [], 0, "CAN_COLLIDE"]; + _vehicle_905 = _this; + _this setDir 185.85864; + _this setPos [9398.5869, 3286.6848, -0.11281232]; +}; + +_vehicle_907 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrate_NoInteractive_", [9408.3428, 3287.0872, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_907 = _this; + _this setDir 99.120888; + _this setPos [9408.3428, 3287.0872, -9.1552734e-005]; +}; + +_vehicle_908 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Medium", [9408.3682, 3288.2065, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_908 = _this; + _this setDir 6.8249683; + _this setPos [9408.3682, 3288.2065, 3.0517578e-005]; +}; + +_vehicle_909 = objNull; +if (true) then +{ + _this = createVehicle ["AmmoCrates_NoInteractive_Small", [9407.1924, 3286.884, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_909 = _this; + _this setDir 2.6372471; + _this setPos [9407.1924, 3286.884, -6.1035156e-005]; +}; + +_unit_55 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Takistani06_EP1", [9407.9082, 3290.2896, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _unit_55 = _this; + _this setDir -24.172441; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_unit_56 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["TK_CIV_Takistani04_EP1", [9405.5713, 3288.0291, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _unit_56 = _this; + _this setDir -33.293148; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +_vehicle_911 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [9435.2549, 3298.7444, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_911 = _this; + _this setDir 91.095497; + _this setPos [9435.2549, 3298.7444, -9.1552734e-005]; +}; + +_vehicle_913 = objNull; +if (true) then +{ + _this = createVehicle ["Land_CncBlock_D", [9423.9414, 3305.77, 0], [], 0, "CAN_COLLIDE"]; + _vehicle_913 = _this; + _this setDir 88.123161; + _this setPos [9423.9414, 3305.77, 0]; +}; + +_vehicle_915 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9419.5479, 3314.7319, -0.11571757], [], 0, "CAN_COLLIDE"]; + _vehicle_915 = _this; + _this setDir 94.513664; + _this setPos [9419.5479, 3314.7319, -0.11571757]; +}; + +_vehicle_917 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9419.8418, 3320.4458, -0.052384831], [], 0, "CAN_COLLIDE"]; + _vehicle_917 = _this; + _this setDir 94.513664; + _this setPos [9419.8418, 3320.4458, -0.052384831]; +}; + +_vehicle_919 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9420.1855, 3326.1504, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_919 = _this; + _this setDir 94.513664; + _this setPos [9420.1855, 3326.1504, -9.1552734e-005]; +}; + +_vehicle_921 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9420.6348, 3331.7749], [], 0, "CAN_COLLIDE"]; + _vehicle_921 = _this; + _this setDir 94.513664; + _this setPos [9420.6348, 3331.7749]; +}; + +_vehicle_927 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9417.2734, 3296.1641, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_927 = _this; + _this setDir 96.762405; + _this setPos [9417.2734, 3296.1641, -3.0517578e-005]; +}; + +_vehicle_928 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9416.6045, 3290.5608, -0.036224365], [], 0, "CAN_COLLIDE"]; + _vehicle_928 = _this; + _this setDir 96.762405; + _this setPos [9416.6045, 3290.5608, -0.036224365]; +}; + +_vehicle_929 = objNull; +if (true) then +{ + _this = createVehicle ["Land_HBarrier5", [9416.04, 3284.8745, -0.053924561], [], 0, "CAN_COLLIDE"]; + _vehicle_929 = _this; + _this setDir 96.762405; + _this setPos [9416.04, 3284.8745, -0.053924561]; +}; + +_vehicle_930 = objNull; +if (true) then +{ + _this = createVehicle ["HeliHCivil", [9396.0107, 3316.1897, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_930 = _this; + _this setPos [9396.0107, 3316.1897, 3.0517578e-005]; +}; + +_vehicle_932 = objNull; +if (true) then +{ + _this = createVehicle ["VaultStorageLocked", [410.13074, 5585.0913, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_932 = _this; + _this setDir -77.248299; + _this setPos [410.13074, 5585.0913, 3.0517578e-005]; +}; + +_vehicle_934 = objNull; +if (true) then +{ + _this = createVehicle ["VaultStorageLocked", [410.38199, 5586.9399, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_934 = _this; + _this setDir -77.248299; + _this setPos [410.38199, 5586.9399, 3.0517578e-005]; +}; + +_vehicle_936 = objNull; +if (true) then +{ + _this = createVehicle ["Land_Campfire", [9386.2363, 3294.6636, 6.1035156e-005], [], 0, "CAN_COLLIDE"]; + _vehicle_936 = _this; + _this setPos [9386.2363, 3294.6636, 6.1035156e-005]; +}; + +_unit_57 = objNull; +if (true) then +{ + _this = _group_2 createUnit ["RU_Sportswoman5", [392.39215, 5563.3765, 0.92615491], [], 0, "CAN_COLLIDE"]; + _unit_57 = _this; + _this setDir 44.32386; + _this setVehicleInit "this allowDammage false;"; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour "CARELESS"; + _this setUnitAbility 0.60000002; + if (false) then {_group_2 selectLeader _this;}; +}; + +processInitCommands; \ No newline at end of file diff --git a/MPMissions/DayZ_Epoch_1.Takistan/mission.sqm b/MPMissions/DayZ_Epoch_1.Takistan/mission.sqm index dc14b26be..cb5aebdd5 100644 --- a/MPMissions/DayZ_Epoch_1.Takistan/mission.sqm +++ b/MPMissions/DayZ_Epoch_1.Takistan/mission.sqm @@ -13,7 +13,17 @@ class Mission "ca_modules_functions", "warfarebuildings", "ind_tank", - "camisc_e" + "camisc_e", + "glt_m300t", + "sigisolda", + "suv_col", + "csj_gyroac", + "cawheeled_acr_octavia", + "CAWheeled_E_ATV", + "CAWheeled_E_LandRover", + "cawheeled_acr_t810", + "cawheeled_acr_hmmwv", + "camisc_acr_pbx" }; addOnsAuto[]= { diff --git a/MPMissions/DayZ_Epoch_1.Takistan/server_traders.sqf b/MPMissions/DayZ_Epoch_1.Takistan/server_traders.sqf new file mode 100644 index 000000000..fcc3cfac2 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/server_traders.sqf @@ -0,0 +1,125 @@ +// DayZ Epoch TRADERS +serverTraders = [ + "Functionary1", + "RU_Profiteer3", + "Profiteer1", + "RU_Sportswoman5", + "TK_CIV_Takistani05_EP1", + "Dr_Annie_Baker_EP1", + "Woodlander2", + "TK_CIV_Takistani03_EP1", + "TK_CIV_Takistani06_EP1", + "TK_CIV_Takistani04_EP1", + "TK_CIV_Woman03_EP1", + "TK_CIV_Woman02_EP1", + "RU_Profiteer2", + "RU_Damsel4" +]; + +// Metals Traders +menu_Functionary1 = [ + [["Vaults",100411]], + [ + + ["ItemTinBar","ItemAluminumBar",1,2,"buy","Aluminum","Tin",108], + ["ItemAluminumBar","ItemTinBar",2,1,"buy","Tin","Aluminum",107], + + ["ItemCopperBar","ItemTinBar",1,2,"buy","Tin","Copper",106], + ["ItemTinBar","ItemCopperBar",2,1,"buy","Copper","Tin",105], + + ["ItemSilverBar","ItemCopperBar10oz",1,1,"buy","10oz Copper","Silver",104], + ["ItemCopperBar10oz","ItemSilverBar",1,1,"buy","Silver","10oz Copper",103], + + ["ItemGoldBar","ItemSilverBar10oz",1,3,"buy","10oz Silver","Gold",102], + ["ItemSilverBar10oz","ItemGoldBar",3,1,"buy","Gold","10oz Silver",101] + + ], + "neutral" +]; + +// High end Weapons +menu_RU_Profiteer3 = [ + [["Assault Rifle",100014],["Machine Gun",100015],["Sniper Rifle",100016],["Explosives",100023]], + [], + "neutral" +]; +// High end ammo +menu_Profiteer1 = [ + [["Assault Rifle Ammo",100004],["Machine Gun Ammo",100005],["Sniper Rifle Ammo",100006]], + [], + "neutral" +]; +// Can Traders +menu_RU_Sportswoman5 = [ + [["Food and Drinks",100051],["Backpacks",100052],["Toolbelt Items",100053],["Clothes",100054]], + [ + ["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101] + ], + "friendly" +]; +// Parts Traders +menu_TK_CIV_Takistani05_EP1 = [ + [["Vehicle Parts",100021],["Building Supplies",100022]], + [], + "friendly" +]; +// Doctors +menu_Dr_Annie_Baker_EP1 = [ + [["Medical Supplies",100031],["Chem-lites/Flares",100032],["Smoke Grenades",100033]], + [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]], + "friendly" +]; +// Auto Traders +menu_Woodlander2 = [ + [["Trucks Armed",100422],["UAZ",100046],["Helicopter Armed",100444],["Military Armed",100455],["Fuel Trucks",100047],["Heavy Armor Unarmed",100048]], + [], + "friendly" +]; +// START Camp #2 + +// Car Parts +menu_TK_CIV_Takistani03_EP1 = [ + [["Vehicle Parts",2121],["Building Supplies",2222]], + [], + "friendly" +]; +// Weapons Trader +menu_TK_CIV_Takistani06_EP1 = [ + [["Sidearm",100011],["Rifles",100012],["Shotguns and Crossbows",100013]], + [], + "friendly" +]; +// Ammo Trader +menu_TK_CIV_Takistani04_EP1 = [ + [["Sidearm Ammo",100001],["Rifle Ammo",100002],["Shotgun and Crossbow Ammo",100003]], + [], + "friendly" +]; +menu_TK_CIV_Woman03_EP1 = [ + [["Food and Drinks",1515151],["Backpacks",1525252],["Toolbelt Items",1535353],["Clothes",1545454]], + [ + ["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101] + ], + "friendly" +]; +menu_TK_CIV_Woman02_EP1 = [ + [["Medical Supplies",103131],["Chem-lites/Flares",103232],["Smoke Grenades",103333]], + [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]], + "friendly" +]; + +// START Camp #3 + +// LOW end Auto Traders +menu_RU_Profiteer2 = [ + [["Cars",100041],["Trucks Unarmed",100042],["SUV",100466],["Buses and Vans",100467],["Bikes and ATV",100043],["Helicopter Unarmed",100044],["Military Unarmed",100045]], + [], + "friendly" +]; +menu_RU_Damsel4 = [ + [["Food and Drinks",105151],["Backpacks",105252],["Toolbelt Items",105353],["Clothes",105454]], + [ + ["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101] + ], + "friendly" +]; diff --git a/MPMissions/DayZ_Epoch_1.Takistan/stringtable.csv b/MPMissions/DayZ_Epoch_1.Takistan/stringtable.csv new file mode 100644 index 000000000..cc2b013c5 --- /dev/null +++ b/MPMissions/DayZ_Epoch_1.Takistan/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" +