mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-25 19:26:08 +03:00
Organize files a bit and removed non source pbo's
This commit is contained in:
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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
|
||||
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@authors team-r3f.org
|
||||
@version 1.00
|
||||
@date 20101006
|
||||
*****************************************************************************/
|
||||
|
||||
#define R3F_REALISM_USE_WEIGHT
|
||||
#define R3F_REALISM_USE_TIRED
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@authors team-r3f.org
|
||||
@version 1.00
|
||||
@date 20101006
|
||||
*****************************************************************************/
|
||||
|
||||
#include "R3F_Weight\R3F_WEIGHT_Stringtable.csv"
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 11 and column 10.
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@authors team-r3f.org
|
||||
@version 1.02
|
||||
@date 20101011
|
||||
*****************************************************************************/
|
||||
|
||||
#include "R3F_TIRED_Configuration.cfg"
|
||||
|
||||
private ["_level", "_n", "_s"];
|
||||
|
||||
//_voil = [] call R3F_TIRED_FNCT_MkVoile;
|
||||
//[_voil,1] call R3F_TIRED_FNCT_Voile_Noir;
|
||||
|
||||
_n = 0;
|
||||
_posATL = 0;
|
||||
|
||||
#ifdef R3F_TIRED_CSV_EXPORT
|
||||
_s = format["""Duree"",""Distance From"",""Distance To"",""Vitesse"",""Fatigue"",""Black Level"",""poids"",""Counter"""];
|
||||
_s call FNC_PrintToRPT;
|
||||
#endif
|
||||
|
||||
R3F_TIRED_Accumulator = 0;
|
||||
sleep 1;
|
||||
_level = 1;
|
||||
|
||||
while {true} do {
|
||||
|
||||
R3F_TIRED_POIDS_TOTAL_PLAYER= R3F_Weight + R3F_TIRED_WEIGHT_PLAYER_EMPTY;
|
||||
|
||||
if (R3F_weight < R3F_TIRED_WEIGHT_LEVEL3 )then {
|
||||
if (r3f_weight < R3F_TIRED_WEIGHT_LEVEL2) then {
|
||||
if (r3f_weight < R3F_TIRED_WEIGHT_LEVEL1 ) then {
|
||||
R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO1;
|
||||
} else {
|
||||
R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO2;
|
||||
};
|
||||
} else {
|
||||
R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO3;
|
||||
};
|
||||
} else {
|
||||
R3F_TIRED_Ratio_Overweight = R3F_TIRED_WEIGHT_RATIO4;
|
||||
};
|
||||
|
||||
if (alive player) then {
|
||||
switch (toArray (animationState player) select 5) do {
|
||||
case 112: {
|
||||
R3F_TIRED_Ratio_Position = R3F_TIRED_DOWN_LEVEL;
|
||||
};
|
||||
case 107:{
|
||||
R3F_TIRED_Ratio_Position=R3F_TIRED_KNEE_LEVEL;
|
||||
};
|
||||
case 101:{
|
||||
R3F_TIRED_Ratio_Position = R3F_TIRED_UP_LEVEL;
|
||||
};
|
||||
};
|
||||
|
||||
R3F_TIRED_vitesse_de_mon_joueur = [0,0,0] distance velocity player;
|
||||
R3F_TIRED_coeff_mon_elevation_en_z = 0 max ((velocity player select 2) / R3F_TIRED_WEIGHT_CLIMB_FACTOR);
|
||||
|
||||
_posATL = (getPosATL player) select 2;
|
||||
|
||||
|
||||
if((vehicle player == player) && (_posATL < 100)) then {
|
||||
R3F_TIRED_Accumulator = R3F_TIRED_Accumulator
|
||||
+ (R3F_TIRED_POIDS_TOTAL_PLAYER * R3F_TIRED_vitesse_de_mon_joueur * R3F_TIRED_Ratio_Position * R3F_TIRED_WEIGHT_SPEED_RATIO*R3F_TIRED_Ratio_Overweight)
|
||||
+ (R3F_TIRED_POIDS_TOTAL_PLAYER * R3F_TIRED_coeff_mon_elevation_en_z * R3F_TIRED_WEIGHT_LEVEL2);
|
||||
|
||||
};
|
||||
|
||||
R3F_TIRED_Accumulator = 0 max (R3F_TIRED_Accumulator - R3F_TIRED_Ratio_Recovery);
|
||||
|
||||
_level = ((R3F_TIRED_Accumulator / R3F_TIRED_BLACKOUT_LEVEL) * 100);
|
||||
_level = 0 max (1 - (_level / 100));
|
||||
|
||||
#ifdef R3F_TIRED_DEBUG
|
||||
hintsilent format["Fatique : %1/%2\nBlack level : %3\nPoids total : %4\n Poids armement : %5",
|
||||
R3F_TIRED_Accumulator,
|
||||
R3F_TIRED_BLACKOUT_LEVEL,
|
||||
_level,
|
||||
R3F_TIRED_POIDS_TOTAL_PLAYER,
|
||||
R3F_Weight];
|
||||
#endif
|
||||
|
||||
[_level] call R3F_TIRED_FNCT_Voile_Noir;
|
||||
|
||||
if (R3F_TIRED_Accumulator > R3F_TIRED_BLACKOUT_LEVEL and scriptDone R3F_TIRED_Handle_Blackout_Effect and scriptDone R3F_TIRED_Handle_Blur_Effect) then {
|
||||
R3F_TIRED_Handle_Blackout_Effect = [] spawn R3F_TIRED_FNCT_DoBlackVanish;
|
||||
};
|
||||
} else {
|
||||
R3F_TIRED_Accumulator = 0;
|
||||
};
|
||||
|
||||
if (R3F_TIRED_GLOBAL_TIRING
|
||||
&& R3F_TIRED_vitesse_de_mon_joueur > 4
|
||||
&& R3F_TIRED_Ratio_Recovery > R3F_TIRED_RATIO_RECOVERING
|
||||
) then {
|
||||
R3F_TIRED_Counter_Time= R3F_TIRED_Counter_Time + 1;
|
||||
};
|
||||
|
||||
|
||||
#ifdef R3F_TIRED_CSV_EXPORT
|
||||
_s = format["%1,%2,%3,%4,%5,%6,%7,%8",
|
||||
_n,
|
||||
(player distance flag_start),
|
||||
(player distance flag_end),
|
||||
R3F_TIRED_vitesse_de_mon_joueur,
|
||||
R3F_TIRED_Accumulator,
|
||||
_level,
|
||||
R3F_Weight,
|
||||
R3F_TIRED_Counter_Time];
|
||||
|
||||
|
||||
_s call FNC_PrintToRPT;
|
||||
#endif
|
||||
|
||||
if ((R3F_TIRED_Counter_Time > R3F_TIRED_TIME_RECOVERING)) then {
|
||||
R3F_TIRED_Ratio_Recovery = R3F_TIRED_Ratio_Recovery - 1;
|
||||
R3F_TIRED_Counter_Time = 0;
|
||||
};
|
||||
|
||||
sleep 1;
|
||||
_n = _n + 1;
|
||||
};
|
||||
|
||||
//[_voil] call R3F_TIRED_FNCT_Effect_Off;
|
||||
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/****************************************************************************
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
@authors team-r3f.org
|
||||
@version 1.00
|
||||
@date 20101006
|
||||
*****************************************************************************/
|
||||
|
||||
#include "R3F_TIRED_Configuration.cfg"
|
||||
|
||||
FNC_PrintToRPT = {
|
||||
diag_log text _this;
|
||||
};
|
||||
|
||||
R3F_TIRED_FNCT_Voile_Noir = {
|
||||
_level = _this select 0;
|
||||
if(_level < R3F_TIRED_SHORTNESS_THRESHOLD ) then{
|
||||
playSound "heartbeat_1";
|
||||
addCamShake [2, 1, 25];
|
||||
};
|
||||
|
||||
};
|
||||
R3F_TIRED_FNCT_WarnBeforeBlackout = {
|
||||
[player,0.1] call fnc_usec_damageUnconscious;
|
||||
cutText ["You are over burdened.", "PLAIN DOWN"];
|
||||
};
|
||||
R3F_TIRED_FNCT_DoBlackVanish = {
|
||||
[player,0.1] call fnc_usec_damageUnconscious;
|
||||
cutText ["You are over burdened.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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";
|
||||
@@ -0,0 +1,3 @@
|
||||
|
||||
R3F_VERSION_TIRED, "1.02", "1.02"
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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 ;
|
||||
};
|
||||
};
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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"
|
||||
|
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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;
|
||||
};
|
||||
|
||||
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@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";
|
||||
@@ -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
|
||||
|
||||
|
||||
147
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/description.ext
Normal file
147
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/description.ext
Normal file
@@ -0,0 +1,147 @@
|
||||
respawn = "BASE";
|
||||
respawndelay = 5;
|
||||
onLoadMission= "DayZ Epoch Shapur";
|
||||
OnLoadIntro = "Welcome to DayZ Epoch Shapur";
|
||||
OnLoadIntroTime = False;
|
||||
OnLoadMissionTime = False;
|
||||
disabledAI = true;
|
||||
disableChannels[]={0,1,2,6};
|
||||
enableItemsDropping = 0;
|
||||
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, ...
|
||||
minPlayers = 1; //min # of players the mission supports
|
||||
maxPlayers = 100; //Max # of players the mission supports
|
||||
};
|
||||
|
||||
aiKills = 1;
|
||||
diagRadio = 1;
|
||||
diagHit = 1;
|
||||
|
||||
class RscText
|
||||
{
|
||||
type = 0;
|
||||
idc = -1;
|
||||
x = 0;
|
||||
y = 0;
|
||||
h = 0.037;
|
||||
w = 0.3;
|
||||
style = 0x100;
|
||||
font = Zeppelin32;
|
||||
SizeEx = 0.03921;
|
||||
colorText[] = {1,1,1,1};
|
||||
colorBackground[] = {0, 0, 0, 0};
|
||||
linespacing = 1;
|
||||
};
|
||||
class RscPicture
|
||||
{
|
||||
access=0;
|
||||
type=0;
|
||||
idc=-1;
|
||||
style=48;
|
||||
colorBackground[]={0,0,0,0};
|
||||
colorText[]={1,1,1,1};
|
||||
font="TahomaB";
|
||||
sizeEx=0;
|
||||
lineSpacing=0;
|
||||
text="";
|
||||
};
|
||||
class RscLoadingText : RscText
|
||||
{
|
||||
style = 2;
|
||||
x = 0.323532;
|
||||
y = 0.666672;
|
||||
w = 0.352944;
|
||||
h = 0.039216;
|
||||
sizeEx = 0.03921;
|
||||
colorText[] = {0.543,0.5742,0.4102,1.0};
|
||||
};
|
||||
class RscProgress
|
||||
{
|
||||
x = 0.344;
|
||||
y = 0.619;
|
||||
w = 0.313726;
|
||||
h = 0.0261438;
|
||||
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
|
||||
colorFrame[] = {0,0,0,0};
|
||||
colorBar[] = {1,1,1,1};
|
||||
};
|
||||
class RscProgressNotFreeze
|
||||
{
|
||||
idc = -1;
|
||||
type = 45;
|
||||
style = 0;
|
||||
x = 0.022059;
|
||||
y = 0.911772;
|
||||
w = 0.029412;
|
||||
h = 0.039216;
|
||||
texture = "#(argb,8,8,3)color(0,0,0,0)";
|
||||
};
|
||||
//
|
||||
// the loading screen itself
|
||||
//
|
||||
class DayZ_loadingScreen
|
||||
{
|
||||
idd = -1;
|
||||
duration = 10e10;
|
||||
fadein = 0;
|
||||
fadeout = 0;
|
||||
name = "loading screen";
|
||||
class controlsBackground
|
||||
{
|
||||
class blackBG : RscText
|
||||
{
|
||||
x = safezoneX;
|
||||
y = safezoneY;
|
||||
w = safezoneW;
|
||||
h = safezoneH;
|
||||
text = "";
|
||||
colorText[] = {0,0,0,0};
|
||||
colorBackground[] = {0,0,0,1};
|
||||
};
|
||||
/*
|
||||
class nicePic : RscPicture
|
||||
{
|
||||
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
|
||||
x = safezoneX + safezoneW/2 - 0.25;
|
||||
y = safezoneY + safezoneH/2 - 0.2;
|
||||
w = 0.5;
|
||||
h = 0.4;
|
||||
text = "img\nicePic.paa";
|
||||
};
|
||||
*/
|
||||
};
|
||||
class controls
|
||||
{
|
||||
class Title1 : RscLoadingText
|
||||
{
|
||||
text = "$STR_LOADING"; // "Loading" text in the middle of the screen
|
||||
};
|
||||
class CA_Progress : RscProgress // progress bar, has to have idc 104
|
||||
{
|
||||
idc = 104;
|
||||
type = 8; // CT_PROGRESS
|
||||
style = 0; // ST_SINGLE
|
||||
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
|
||||
};
|
||||
class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
|
||||
{
|
||||
idc = 103;
|
||||
};
|
||||
class Name2: RscText // the text on the top-left
|
||||
{
|
||||
idc = 101;
|
||||
x = 0.05;
|
||||
y = 0.029412;
|
||||
w = 0.9;
|
||||
h = 0.04902;
|
||||
text = "";
|
||||
sizeEx = 0.05;
|
||||
colorText[] = {0.543,0.5742,0.4102,1.0};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,101 @@
|
||||
AllowedVehiclesList = [
|
||||
["AH6X_DZ",5],
|
||||
["AN2_DZ",3],
|
||||
["ArmoredSUV_PMC_DZ",1],
|
||||
["ATV_CZ_EP1",5],
|
||||
["ATV_US_EP1",5],
|
||||
["C130J_US_EP1",1],
|
||||
["car_hatchback",5],
|
||||
["car_sedan",5],
|
||||
["CH_47F_EP1_DZ",2],
|
||||
["CSJ_GyroC",2],
|
||||
["CSJ_GyroCover",2],
|
||||
["CSJ_GyroP",2],
|
||||
["datsun1_civil_1_open",3],
|
||||
["datsun1_civil_2_covered",3],
|
||||
["datsun1_civil_3_open",3],
|
||||
["GAZ_Vodnik",2],
|
||||
["GAZ_Vodnik_MedEvac",1],
|
||||
["GLT_M300_LT",5],
|
||||
["GLT_M300_ST",5],
|
||||
["hilux1_civil_1_open",5],
|
||||
["hilux1_civil_2_covered",5],
|
||||
["hilux1_civil_3_open_EP1",5],
|
||||
["HMMWV_Ambulance",2],
|
||||
["HMMWV_Ambulance_CZ_DES_EP1",2],
|
||||
["HMMWV_DES_EP1",5],
|
||||
["HMMWV_DZ",5],
|
||||
["HMMWV_M1035_DES_EP1",2],
|
||||
["HMMWV_M1151_M2_CZ_DES_EP1",2],
|
||||
["HMMWV_M998A2_SOV_DES_EP1",2],
|
||||
["Ikarus",6],
|
||||
["Ikarus_TK_CIV_EP1",6],
|
||||
["Kamaz",2],
|
||||
["KamazRefuel_DZ",1],
|
||||
["Lada1",5],
|
||||
["Lada1_TK_CIV_EP1",5],
|
||||
["Lada2",5],
|
||||
["Lada2_TK_CIV_EP1",5],
|
||||
["LadaLM",2],
|
||||
["LandRover_CZ_EP1",5],
|
||||
["LandRover_MG_TK_EP1",3],
|
||||
["LandRover_Special_CZ_EP1",1],
|
||||
["LandRover_TK_CIV_EP1",5],
|
||||
["M1030_US_DES_EP1",5],
|
||||
["MH6J_DZ",5],
|
||||
["Mi17_Civilian_DZ",5],
|
||||
["Mi17_DZ",4],
|
||||
["MMT_Civ",10],
|
||||
["MtvrRefuel_DES_EP1_DZ",1],
|
||||
["MTVR_DES_EP1",2],
|
||||
["MV22_DZ",1],
|
||||
["Offroad_DSHKM_Gue",5],
|
||||
["Old_bike_TK_INS_EP1",7],
|
||||
["Old_moto_TK_Civ_EP1",5],
|
||||
["Pickup_PK_GUE",5],
|
||||
["Pickup_PK_INS",5],
|
||||
["Pickup_PK_TK_GUE_EP1",5],
|
||||
["policecar",4],
|
||||
["S1203_ambulance_EP1",2],
|
||||
["S1203_TK_CIV_EP1",6],
|
||||
["Skoda",5],
|
||||
["SkodaBlue",5],
|
||||
["SkodaGreen",5],
|
||||
["SkodaRed",5],
|
||||
["SUV_Blue",1],
|
||||
["SUV_Camo",2],
|
||||
["SUV_Charcoal",1],
|
||||
["SUV_Green",1],
|
||||
["SUV_Orange",1],
|
||||
["SUV_Pink",1],
|
||||
["SUV_Red",1],
|
||||
["SUV_Silver",1],
|
||||
["SUV_TK_CIV_EP1",1],
|
||||
["SUV_White",1],
|
||||
["SUV_Yellow",1],
|
||||
["tractor",5],
|
||||
["TT650_Civ",6],
|
||||
["TT650_Ins",6],
|
||||
["TT650_TK_CIV_EP1",6],
|
||||
["UAZ_CDF",5],
|
||||
["UAZ_INS",5],
|
||||
["UAZ_MG_TK_EP1",5],
|
||||
["UAZ_RU",5],
|
||||
["UAZ_Unarmed_TK_CIV_EP1",5],
|
||||
["UAZ_Unarmed_TK_EP1",5],
|
||||
["UAZ_Unarmed_UN_EP1",5],
|
||||
["UH1H_DZ",3],
|
||||
["UH1Y_DZ",1],
|
||||
["UH60M_EP1_DZ",2],
|
||||
["UralRefuel_TK_EP1_DZ",1],
|
||||
["Ural_CDF",2],
|
||||
["Ural_TK_CIV_EP1",2],
|
||||
["Ural_UN_EP1",2],
|
||||
["V3S_Open_TK_CIV_EP1",2],
|
||||
["V3S_Open_TK_EP1",2],
|
||||
["V3S_Refuel_TK_GUE_EP1_DZ",1],
|
||||
["VolhaLimo_TK_CIV_EP1",2],
|
||||
["Volha_1_TK_CIV_EP1",5],
|
||||
["Volha_2_TK_CIV_EP1",5],
|
||||
["VWGolf",5]
|
||||
];
|
||||
72
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf
Normal file
72
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
INITILIZATION
|
||||
*/
|
||||
startLoadingScreen ["","RscDisplayLoadCustom"];
|
||||
cutText ["","BLACK OUT"];
|
||||
enableSaving [false, false];
|
||||
|
||||
//REALLY IMPORTANT VALUES
|
||||
dayZ_instance = 3; //The instance
|
||||
dayzHiveRequest = [];
|
||||
initialized = false;
|
||||
dayz_previousID = 0;
|
||||
|
||||
//disable greeting menu
|
||||
player setVariable ["BIS_noCoreConversations", true];
|
||||
//disable radio messages to be heard and shown in the left lower corner of the screen
|
||||
enableRadio false;
|
||||
|
||||
// DayZ Epoch config
|
||||
spawnShoremode = 0; // Default = 1 (on shore)
|
||||
spawnArea= 250; // Default = 1500
|
||||
MaxHeliCrashes= 1; // Default = 5
|
||||
MaxVehicleLimit = 50; // Default = 50
|
||||
MaxDynamicDebris = 50; // Default = 100
|
||||
dayz_MapArea = 2000; // Default = 10000
|
||||
dayz_maxLocalZombies = 40; // 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
|
||||
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";
|
||||
|
||||
if ((!isServer) && (isNull player) ) then
|
||||
{
|
||||
waitUntil {!isNull player};
|
||||
waitUntil {time > 3};
|
||||
};
|
||||
|
||||
if ((!isServer) && (player != player)) then
|
||||
{
|
||||
waitUntil {player == player};
|
||||
waitUntil {time > 3};
|
||||
};
|
||||
|
||||
if (isServer) then {
|
||||
call compile preprocessFileLineNumbers "dynamic_vehicle.sqf"; //Compile vehicle configs
|
||||
|
||||
// Add trader citys
|
||||
_nil = [] execVM "mission.sqf";
|
||||
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
|
||||
};
|
||||
|
||||
if (!isDedicated) then {
|
||||
//Conduct map operations
|
||||
0 fadeSound 0;
|
||||
waitUntil {!isNil "dayz_loadScreenMsg"};
|
||||
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
|
||||
|
||||
//Run the player monitor
|
||||
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
|
||||
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
|
||||
_void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
|
||||
};
|
||||
541
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqf
Normal file
541
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqf
Normal file
@@ -0,0 +1,541 @@
|
||||
_vehicle_14 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Hhedgehog_concreteBig", [511.73267, 1114.7292, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_14 = _this;
|
||||
_this setDir 55.911896;
|
||||
_this setPos [511.73267, 1114.7292, -1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_18 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_fort_rampart", [483.47153, 1123.3865, 0.024181601], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_18 = _this;
|
||||
_this setDir 119.36551;
|
||||
_this setPos [483.47153, 1123.3865, 0.024181601];
|
||||
};
|
||||
|
||||
_vehicle_23 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_HBarrier5", [471.1268, 1086.1162, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_23 = _this;
|
||||
_this setDir 37.859943;
|
||||
_this setPos [471.1268, 1086.1162, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_34 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_bags_EP1", [474.22168, 1086.6316, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_34 = _this;
|
||||
_this setPos [474.22168, 1086.6316, 2.0980835e-005];
|
||||
};
|
||||
|
||||
_vehicle_38 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_HBarrier5", [468.43466, 1101.286, 0.00012207031], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_38 = _this;
|
||||
_this setDir 103.10722;
|
||||
_this setPos [468.43466, 1101.286, 0.00012207031];
|
||||
};
|
||||
|
||||
_vehicle_40 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Ind_BoardsPack2", [508.3562, 1088.1545, 6.6757202e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_40 = _this;
|
||||
_this setDir -116.49545;
|
||||
_this setPos [508.3562, 1088.1545, 6.6757202e-005];
|
||||
};
|
||||
|
||||
_vehicle_43 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_covering_hut_big_EP1", [475.39441, 1087.0691, -0.32856521], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_43 = _this;
|
||||
_this setDir 221.54459;
|
||||
_this setPos [475.39441, 1087.0691, -0.32856521];
|
||||
};
|
||||
|
||||
_vehicle_45 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_covering_hut_big_EP1", [471.29294, 1097.9921, -0.32730356], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_45 = _this;
|
||||
_this setDir 278.23465;
|
||||
_this setPos [471.29294, 1097.9921, -0.32730356];
|
||||
};
|
||||
|
||||
_vehicle_47 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Barrels", [498.25867, 1086.307, 6.2942505e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_47 = _this;
|
||||
_this setDir -12.955707;
|
||||
_this setPos [498.25867, 1086.307, 6.2942505e-005];
|
||||
};
|
||||
|
||||
_vehicle_52 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Misc_Coil_EP1", [513.80334, 1095.3474, 0.00010871887], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_52 = _this;
|
||||
_this setPos [513.80334, 1095.3474, 0.00010871887];
|
||||
};
|
||||
|
||||
_vehicle_54 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Toilet", [484.94586, 1121.8016, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_54 = _this;
|
||||
_this setDir -67.642929;
|
||||
_this setPos [484.94586, 1121.8016, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_56 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Toilet", [485.63959, 1123.0752, 0.00011444092], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_56 = _this;
|
||||
_this setDir -51.612335;
|
||||
_this setPos [485.63959, 1123.0752, 0.00011444092];
|
||||
};
|
||||
|
||||
_vehicle_63 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Garbage_can", [470.28525, 1100.3337, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_63 = _this;
|
||||
_this setPos [470.28525, 1100.3337, 5.7220459e-006];
|
||||
};
|
||||
|
||||
_vehicle_84 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_GuardShed", [510.89642, 1099.217, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_84 = _this;
|
||||
_this setDir 88.352386;
|
||||
_this setPos [510.89642, 1099.217, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_98 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_covering_hut_EP1", [495.60559, 1085.8639, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_98 = _this;
|
||||
_this setDir -20.487799;
|
||||
_this setPos [495.60559, 1085.8639, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_102 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Fence_corrugated_plate", [515.89197, 1093.318], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_102 = _this;
|
||||
_this setDir -60.471748;
|
||||
_this setPos [515.89197, 1093.318];
|
||||
};
|
||||
|
||||
_vehicle_104 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Fence_corrugated_plate", [513.56256, 1090.1208, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_104 = _this;
|
||||
_this setDir -49.275043;
|
||||
_this setPos [513.56256, 1090.1208, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_107 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Fence_corrugated_plate", [510.62265, 1087.3895, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_107 = _this;
|
||||
_this setDir -38.36425;
|
||||
_this setPos [510.62265, 1087.3895, -1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_109 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Misc_ConcPipeline_EP1", [511.71506, 1091.6676, -0.32553408], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_109 = _this;
|
||||
_this setDir 38.456047;
|
||||
_this setPos [511.71506, 1091.6676, -0.32553408];
|
||||
};
|
||||
|
||||
_vehicle_115 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Misc_cargo_cont_small_EP1", [512.4303, 1107.9641, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_115 = _this;
|
||||
_this setPos [512.4303, 1107.9641, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_116 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Misc_Backpackheap", [474.34268, 1085.4969, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_116 = _this;
|
||||
_this setPos [474.34268, 1085.4969, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_120 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Concrete_Wall_EP1", [513.5119, 1099.2961, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_120 = _this;
|
||||
_this setDir -90.839798;
|
||||
_this setPos [513.5119, 1099.2961, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_135 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [508.49933, 1096.7793, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_135 = _this;
|
||||
_this setPos [508.49933, 1096.7793, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_139 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["ShootingRange_ACR", [464.41138, 1088.8826], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_139 = _this;
|
||||
_this setDir 163.60194;
|
||||
_this setPos [464.41138, 1088.8826];
|
||||
};
|
||||
|
||||
_vehicle_143 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_transport_crates_EP1", [470.33801, 1098.2615, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_143 = _this;
|
||||
_this setDir 17.62133;
|
||||
_this setPos [470.33801, 1098.2615, 9.5367432e-006];
|
||||
};
|
||||
|
||||
_vehicle_149 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_HBarrier5", [465.18674, 1095.3278, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_149 = _this;
|
||||
_this setDir 150.351;
|
||||
_this setPos [465.18674, 1095.3278, 2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_157 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetPopup_ACR", [330.98611, 1041.3842, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_157 = _this;
|
||||
_this setDir -107.06186;
|
||||
_this setPos [330.98611, 1041.3842, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_160 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_HBarrier5", [468.33167, 1086.3636, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_160 = _this;
|
||||
_this setDir 172.56075;
|
||||
_this setPos [468.33167, 1086.3636, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_166 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetPopup_ACR", [385.03134, 1062.3904, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_166 = _this;
|
||||
_this setDir -107.06186;
|
||||
_this setPos [385.03134, 1062.3904, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_170 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Ins_WarfareBContructionSite1", [471.99814, 1103.5121, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_170 = _this;
|
||||
_this setDir 230.80898;
|
||||
_this setPos [471.99814, 1103.5121, 2.2888184e-005];
|
||||
};
|
||||
|
||||
_vehicle_172 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Bunker_PMC", [507.10074, 1125.8267, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_172 = _this;
|
||||
_this setDir 38.256611;
|
||||
_this setPos [507.10074, 1125.8267, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_175 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Misc_Well_C_EP1", [488.85464, 1104.715, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_175 = _this;
|
||||
_this setPos [488.85464, 1104.715, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_180 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [486.41, 1115.1449, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_180 = _this;
|
||||
_this setPos [486.41, 1115.1449, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_182 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Campfire", [480.60989, 1095.2598, 1.335144e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_182 = _this;
|
||||
_this setPos [480.60989, 1095.2598, 1.335144e-005];
|
||||
};
|
||||
|
||||
_vehicle_184 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [506.37302, 1117.0841, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_184 = _this;
|
||||
_this setPos [506.37302, 1117.0841, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_189 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["LADAWreck", [485.03888, 1081.0292, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_189 = _this;
|
||||
_this setDir -87.829948;
|
||||
_this setPos [485.03888, 1081.0292, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_198 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["ACRE_RadioBox", [470.888, 1112.5718, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_198 = _this;
|
||||
_this setDir 144.19466;
|
||||
_this setPos [470.888, 1112.5718, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_199 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["ACRE_OE_303", [469.99954, 1110.0946, 9.5367432e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_199 = _this;
|
||||
_this setDir 35.181255;
|
||||
_this setPos [469.99954, 1110.0946, 9.5367432e-006];
|
||||
};
|
||||
|
||||
_vehicle_201 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_coneLight", [487.48459, 1080.0214, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_201 = _this;
|
||||
_this setPos [487.48459, 1080.0214, -1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_203 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_coneLight", [494.25458, 1080.4753, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_203 = _this;
|
||||
_this setPos [494.25458, 1080.4753, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_210 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [500.00592, 1088.0131, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_210 = _this;
|
||||
_this setPos [500.00592, 1088.0131, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_212 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [481.16757, 1084.3453, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_212 = _this;
|
||||
_this setPos [481.16757, 1084.3453, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_214 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [476.11716, 1104.422, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_214 = _this;
|
||||
_this setPos [476.11716, 1104.422, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_218 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel", [469.40225, 1070.2404, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_218 = _this;
|
||||
_this setPos [469.40225, 1070.2404, 5.7220459e-006];
|
||||
};
|
||||
|
||||
_vehicle_221 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["AmmoCrate_NoInteractive_", [466.73804, 1087.6807, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_221 = _this;
|
||||
_this setPos [466.73804, 1087.6807, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_222 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["AmmoCrates_NoInteractive_Large", [462.87369, 1092.1409, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_222 = _this;
|
||||
_this setDir 149.10333;
|
||||
_this setPos [462.87369, 1092.1409, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_224 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Gunrack1", [470.996, 1099.6862, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_224 = _this;
|
||||
_this setDir -77.387787;
|
||||
_this setPos [470.996, 1099.6862, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_226 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["GunrackTK_EP1", [469.74106, 1096.9974, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_226 = _this;
|
||||
_this setPos [469.74106, 1096.9974, -3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_231 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["AmmoCrates_NoInteractive_Medium", [463.27432, 1090.8173, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_231 = _this;
|
||||
_this setPos [463.27432, 1090.8173, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_234 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["SmallTable", [465.03403, 1092.0284, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_234 = _this;
|
||||
_this setDir 74.425827;
|
||||
_this setPos [465.03403, 1092.0284, -5.7220459e-006];
|
||||
};
|
||||
|
||||
_vehicle_237 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["FoldTable", [464.0036, 1088.788, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_237 = _this;
|
||||
_this setDir 73.23188;
|
||||
_this setPos [464.0036, 1088.788, 1.7166138e-005];
|
||||
};
|
||||
|
||||
_vehicle_239 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetPopup_ACR", [267.32697, 1015.8035, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_239 = _this;
|
||||
_this setDir -107.06186;
|
||||
_this setPos [267.32697, 1015.8035, 1.1444092e-005];
|
||||
};
|
||||
|
||||
_vehicle_241 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetPopUpTarget", [405.04437, 1061.2441, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_241 = _this;
|
||||
_this setDir 49.455299;
|
||||
_this setPos [405.04437, 1061.2441, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_243 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetEpopup", [389.25909, 1060.4641, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_243 = _this;
|
||||
_this setDir 62.035564;
|
||||
_this setPos [389.25909, 1060.4641, 3.8146973e-006];
|
||||
};
|
||||
|
||||
_vehicle_245 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetEpopup", [384.80383, 1070.8552, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_245 = _this;
|
||||
_this setDir 62.035564;
|
||||
_this setPos [384.80383, 1070.8552, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_247 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetEpopup", [264.39713, 1021.6332, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_247 = _this;
|
||||
_this setDir 62.035564;
|
||||
_this setPos [264.39713, 1021.6332, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_249 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetEpopup", [302.25775, 1020.6349, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_249 = _this;
|
||||
_this setDir 62.035564;
|
||||
_this setPos [302.25775, 1020.6349, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_251 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetEpopup", [347.94974, 1054.9, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_251 = _this;
|
||||
_this setDir 62.035564;
|
||||
_this setPos [347.94974, 1054.9, 1.9073486e-006];
|
||||
};
|
||||
|
||||
_vehicle_254 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["TargetPopUpTarget", [294.57285, 1030.7554, 0.00033950806], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_254 = _this;
|
||||
_this setDir 67.41069;
|
||||
_this setPos [294.57285, 1030.7554, 0.00033950806];
|
||||
};
|
||||
|
||||
_vehicle_255 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["BMP2Wreck", [472.93182, 1069.161, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_255 = _this;
|
||||
_this setDir 54.173702;
|
||||
_this setPos [472.93182, 1069.161, -7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_257 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Misc_palletsfoiled_heap", [496.07706, 1082.6115, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_257 = _this;
|
||||
_this setDir 62.620384;
|
||||
_this setPos [496.07706, 1082.6115, 7.6293945e-006];
|
||||
};
|
||||
|
||||
_vehicle_258 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Info_Board_EP1", [505.83868, 1119.9965], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_258 = _this;
|
||||
_this setDir 40.265949;
|
||||
_this setVehicleInit "this allowDamage false;";
|
||||
_this setPos [505.83868, 1119.9965];
|
||||
};
|
||||
|
||||
processInitCommands;
|
||||
1414
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqm
Normal file
1414
Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/mission.sqm
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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 <http://www.gnu.org/licenses/>.
|
||||
@authors team-r3f.org
|
||||
@version 1.00
|
||||
@date 20101006
|
||||
*****************************************************************************/
|
||||
|
||||
Language, English, French
|
||||
|
||||
#include "R3F_Realism\R3F_stringtable.csv"
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 13 and column 10.
|
Reference in New Issue
Block a user