Panthera mission files

This commit is contained in:
vbawol
2013-05-06 14:30:03 -05:00
parent 7355d18cb0
commit cc8d0b5b38
22 changed files with 4491 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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
[_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;

View File

@@ -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

View File

@@ -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 <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_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;
};
};

View File

@@ -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";

View File

@@ -0,0 +1,3 @@

R3F_VERSION_TIRED, "1.02", "1.02"
1 R3F_VERSION_TIRED 1.02 1.02

File diff suppressed because it is too large Load Diff

View File

@@ -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 ;
};
};

View File

@@ -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

View File

@@ -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"
1 /****************************************************************************
2 Copyright (C) 2010 Team ~R3F~
3 This program is free software under the terms of the GNU General Public License version 3.
4 You should have received a copy of the GNU General Public License
5 along with this program. If not see <http://www.gnu.org/licenses/>.
6 @authors team-r3f.org
7 @version 1.00
8 @date 20101006
9 *****************************************************************************/
10 R3F_VERSION_WEIGHTED 1.04 1.04
11 STR_R3F_WEIGHT_InGearBox %1 | Weight carried : %2 lb %1 | Poids transporté : %2 Kg
12 STR_R3F_WEIGHT_English lb Kg

View File

@@ -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;
};

View File

@@ -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";

View File

@@ -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

View File

@@ -0,0 +1,148 @@
respawn = "BASE";
respawndelay = 5;
onLoadMission="DayZ_Epoch Panthera";
OnLoadIntro = "Welcome to Panthera Island";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
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, ...
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};
};
};
};

View File

@@ -0,0 +1,100 @@
AllowedVehiclesList = [
["AH6X_DZ",5],
["AN2_DZ",1],
["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",1],
["CSJ_GyroC",5],
["CSJ_GyroCover",5],
["CSJ_GyroP",5],
["datsun1_civil_1_open",5],
["datsun1_civil_2_covered",5],
["datsun1_civil_3_open",5],
["Fishing_Boat",5],
["GLT_M300_LT",2],
["GLT_M300_ST",2],
["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",1],
["HMMWV_M1151_M2_CZ_DES_EP1",1],
["HMMWV_M998A2_SOV_DES_EP1",1],
["Ikarus",1],
["Ikarus_TK_CIV_EP1",1],
["Kamaz",5],
["KamazRefuel_DZ",1],
["Lada1",5],
["Lada1_TK_CIV_EP1",5],
["Lada2",5],
["Lada2_TK_CIV_EP1",5],
["LadaLM",5],
["LandRover_CZ_EP1",1],
["LandRover_MG_TK_EP1",1],
["LandRover_Special_CZ_EP1",1],
["LandRover_TK_CIV_EP1",1],
["M1030_US_DES_EP1",5],
["MH6J_DZ",1],
["Mi17_Civilian_DZ",2],
["Mi17_DZ",1],
["MMT_Civ",10],
["MtvrRefuel_DES_EP1_DZ",1],
["MTVR_DES_EP1",5],
["Offroad_DSHKM_Gue",5],
["Old_bike_TK_INS_EP1",5],
["Old_moto_TK_Civ_EP1",5],
["PBX",5],
["Pickup_PK_GUE",5],
["Pickup_PK_INS",5],
["Pickup_PK_TK_GUE_EP1",5],
["policecar",1],
["RHIB",5],
["S1203_ambulance_EP1",5],
["S1203_TK_CIV_EP1",5],
["Skoda",5],
["SkodaBlue",5],
["SkodaGreen",5],
["SkodaRed",5],
["Smallboat_1",5],
["Smallboat_2",5],
["SUV_Blue",1],
["SUV_Charcoal",1],
["SUV_Green",1],
["SUV_Orange",1],
["SUV_Pink",1],
["SUV_Red",1],
["SUV_Silver",1],
["SUV_TK_CIV_EP1",1],
["SUV_White",1],
["SUV_Yellow",1],
["tractor",1],
["TT650_Civ",5],
["TT650_Ins",5],
["TT650_TK_CIV_EP1",5],
["UAZ_CDF",2],
["UAZ_INS",2],
["UAZ_RU",2],
["UAZ_Unarmed_TK_CIV_EP1",2],
["UAZ_Unarmed_TK_EP1",2],
["UAZ_Unarmed_UN_EP1",2],
["UH1H_DZ",1],
["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",5],
["V3S_Refuel_TK_GUE_EP1",1],
["VolhaLimo_TK_CIV_EP1",2],
["Volha_1_TK_CIV_EP1",3],
["Volha_2_TK_CIV_EP1",3],
["VWGolf",4],
["Zodiac",5]
];

View File

@@ -0,0 +1,81 @@
/*
INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 16; //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio false;
// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500
MaxVehicleLimit = 300; // Default = 50
MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 10000; // Default = 10000
// new stuff
dayz_paraSpawn = false;
spawnMarkerCount = 10; // Default: 4
dayz_maxAnimals = 8; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100
DZEdebug = true;
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
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";
};

View File

@@ -0,0 +1,556 @@
_this = createCenter west;
_center_0 = _this;
_group_0 = createGroup _center_0;
_this = createCenter civilian;
_center_1 = _this;
_group_1 = createGroup _center_1;
_vehicle_22 = objNull;
if (true) then
{
_this = createVehicle ["HeliHEmpty", [594.25812, 8935.4941, -1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_22 = _this;
_this setPos [594.25812, 8935.4941, -1.9073486e-006];
};
_this = createCenter resistance;
_center_2 = _this;
_group_2 = createGroup _center_2;
_unit_63 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Soldier_Pilot", [543.11591, 8938.4941, 0.11634689], [], 0, "CAN_COLLIDE"];
_unit_63 = _this;
_this setDir 108.94255;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_65 = objNull;
if (true) then
{
_this = _group_2 createUnit ["UN_CDF_Soldier_MG_EP1", [2832.325, 8023.3774, 0.11357399], [], 0, "CAN_COLLIDE"];
_unit_65 = _this;
_this setDir -131.58987;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_25 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [2831.4177, 8022.6206, 0.15148999], [], 0, "CAN_COLLIDE"];
_vehicle_25 = _this;
_this setDir 39.406651;
_this setPos [2831.4177, 8022.6206, 0.15148999];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_26 = objNull;
if (true) then
{
_this = createVehicle ["Misc_cargo_cont_net1", [2835.425, 8023.3193, 0.071667306], [], 0, "CAN_COLLIDE"];
_vehicle_26 = _this;
_this setDir -54.977657;
_this setPos [2835.425, 8023.3193, 0.071667306];
};
_vehicle_28 = objNull;
if (true) then
{
_this = createVehicle ["Misc_cargo_cont_net1", [2833.5068, 8024.4727, 0.072472528], [], 0, "CAN_COLLIDE"];
_vehicle_28 = _this;
_this setDir -43.586216;
_this setPos [2833.5068, 8024.4727, 0.072472528];
};
_vehicle_30 = objNull;
if (true) then
{
_this = createVehicle ["Misc_cargo_cont_net1", [2834.0081, 8021.9819, 0.079588138], [], 0, "CAN_COLLIDE"];
_vehicle_30 = _this;
_this setDir -36.030712;
_this setPos [2834.0081, 8021.9819, 0.079588138];
};
_unit_67 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Woodlander3", [8681.8027, 3145.0779, 2.8371811e-005], [], 0, "CAN_COLLIDE"];
_unit_67 = _this;
_this setDir 89.712273;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_32 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [8682.7588, 3144.9507, -2.3841858e-007], [], 0, "CAN_COLLIDE"];
_vehicle_32 = _this;
_this setDir 93.772865;
_this setPos [8682.7588, 3144.9507, -2.3841858e-007];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_33 = objNull;
if (true) then
{
_this = createVehicle ["Land_tires_EP1", [8681.375, 3143.1555, 9.059906e-006], [], 0, "CAN_COLLIDE"];
_vehicle_33 = _this;
_this setDir 183.30055;
_this setPos [8681.375, 3143.1555, 9.059906e-006];
};
_vehicle_34 = objNull;
if (true) then
{
_this = createVehicle ["VaultStorageLocked", [8681.4189, 3146.6782, 1.4543533e-005], [], 0, "CAN_COLLIDE"];
_vehicle_34 = _this;
_this setDir -85.670563;
_this setPos [8681.4189, 3146.6782, 1.4543533e-005];
};
_unit_69 = objNull;
if (true) then
{
_this = _group_1 createUnit ["Damsel5", [8681.4404, 3139.7356, 0.00013637543], [], 0, "CAN_COLLIDE"];
_unit_69 = _this;
_this setDir 101.61608;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_36 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [8682.2109, 3139.7153, -0.00018525124], [], 0, "CAN_COLLIDE"];
_vehicle_36 = _this;
_this setDir 93.772865;
_this setPos [8682.2109, 3139.7153, -0.00018525124];
};
_vehicle_38 = objNull;
if (true) then
{
_this = createVehicle ["Land_bags_EP1", [8681.0635, 3138.0845, 8.5830688e-006], [], 0, "CAN_COLLIDE"];
_vehicle_38 = _this;
_this setDir 13.43499;
_this setPos [8681.0635, 3138.0845, 8.5830688e-006];
};
_vehicle_39 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap_EP1", [8681.2725, 3141.811], [], 0, "CAN_COLLIDE"];
_vehicle_39 = _this;
_this setPos [8681.2725, 3141.811];
};
_unit_78 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Soldier_Sab", [1909.8895, 3622.9905, 0.89042556], [], 0, "CAN_COLLIDE"];
_unit_78 = _this;
_this setDir -176.86101;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_40 = objNull;
if (true) then
{
_this = createVehicle ["C130J_wreck_EP1", [1913.585, 3622.0823, -0.21721387], [], 0, "CAN_COLLIDE"];
_vehicle_40 = _this;
_this setDir -190.43407;
_this setPos [1913.585, 3622.0823, -0.21721387];
};
_vehicle_41 = objNull;
if (true) then
{
_this = createVehicle ["HeliHEmpty", [1874.6018, 3562.0923, -4.7683716e-007], [], 0, "CAN_COLLIDE"];
_vehicle_41 = _this;
_this setPos [1874.6018, 3562.0923, -4.7683716e-007];
};
_unit_83 = objNull;
if (true) then
{
_this = _group_2 createUnit ["Tanny_PMC", [2337.4709, 5237.0854, 3.1079786], [], 0, "CAN_COLLIDE"];
_unit_83 = _this;
_this setDir 120.79683;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_88 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Commander", [3982.6201, 6139.3389, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_unit_88 = _this;
_this setDir 75.922546;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_91 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Woodlander1", [3982.1863, 6141.291, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
_unit_91 = _this;
_this setDir 98.994049;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_43 = objNull;
if (true) then
{
_this = createVehicle ["AmmoCrates_NoInteractive_Large", [3982.6479, 6137.7866, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_vehicle_43 = _this;
_this setDir 47.296623;
_this setPos [3982.6479, 6137.7866, 3.8146973e-006];
};
_vehicle_44 = objNull;
if (true) then
{
_this = createVehicle ["AmmoCrates_NoInteractive_Small", [3981.2024, 6138.5249, 5.3405762e-005], [], 0, "CAN_COLLIDE"];
_vehicle_44 = _this;
_this setDir -91.175629;
_this setPos [3981.2024, 6138.5249, 5.3405762e-005];
};
_vehicle_45 = objNull;
if (true) then
{
_this = createVehicle ["AmmoCrate_NoInteractive_", [3980.717, 6140.6123, -4.196167e-005], [], 0, "CAN_COLLIDE"];
_vehicle_45 = _this;
_this setDir -75.093681;
_this setPos [3980.717, 6140.6123, -4.196167e-005];
};
_vehicle_46 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fire_barrel", [3984.0913, 6147.2495, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
_vehicle_46 = _this;
_this setDir -46.105625;
_this setPos [3984.0913, 6147.2495, -2.2888184e-005];
};
_vehicle_48 = objNull;
if (true) then
{
_this = createVehicle ["Land_CamoNet_EAST", [3983.8074, 6140.5, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_48 = _this;
_this setDir -110.48308;
_this setPos [3983.8074, 6140.5, -1.5258789e-005];
};
_vehicle_49 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [3983.5408, 6139.4087, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_vehicle_49 = _this;
_this setDir 79.01667;
_this setPos [3983.5408, 6139.4087, 3.0517578e-005];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_51 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [3983.1147, 6141.4097, 8.7738037e-005], [], 0, "CAN_COLLIDE"];
_vehicle_51 = _this;
_this setDir 79.01667;
_this setPos [3983.1147, 6141.4097, 8.7738037e-005];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_62 = objNull;
if (true) then
{
_this = createVehicle ["ClutterCutter_EP1", [9051.9014, 4062.7161, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
_vehicle_62 = _this;
_this setPos [9051.9014, 4062.7161, 7.6293945e-006];
};
_unit_102 = objNull;
if (true) then
{
_this = _group_0 createUnit ["BAF_Pilot_MTP", [9046.5566, 4056.2429, 6.6757202e-006], [], 0, "CAN_COLLIDE"];
_unit_102 = _this;
_this setDir 41.582272;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_63 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [9047.4131, 4057.229, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_63 = _this;
_this setDir 41.133785;
_this setPos [9047.4131, 4057.229, -1.5258789e-005];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_68 = objNull;
if (true) then
{
_this = createVehicle ["TK_GUE_WarfareBAircraftFactory_EP1", [9047.7295, 4055.4709, -0.31283149], [], 0, "CAN_COLLIDE"];
_vehicle_68 = _this;
_this setDir 132.63834;
_this setPos [9047.7295, 4055.4709, -0.31283149];
};
_vehicle_69 = objNull;
if (true) then
{
_this = createVehicle ["HeliHEmpty", [9115.0938, 4073.1077, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
_vehicle_69 = _this;
_this setPos [9115.0938, 4073.1077, -5.7220459e-006];
};
_unit_107 = objNull;
if (true) then
{
_this = _group_2 createUnit ["UN_CDF_Soldier_AAT_EP1", [7224.3716, 730.62354, -4.6730042e-005], [], 0, "CAN_COLLIDE"];
_unit_107 = _this;
_this setDir -51.914528;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_71 = objNull;
if (true) then
{
_this = createVehicle ["Misc_cargo_cont_net1", [7225.8159, 729.15967, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_71 = _this;
_this setDir 41.511929;
_this setPos [7225.8159, 729.15967, -9.5367432e-007];
};
_vehicle_81 = objNull;
if (true) then
{
_this = createVehicle ["BMP2_HQ_TK_unfolded_EP1", [5629.6938, 5047.5347, -0.28514138], [], 0, "CAN_COLLIDE"];
_vehicle_81 = _this;
_this setDir 161.61578;
_this setPos [5629.6938, 5047.5347, -0.28514138];
};
_vehicle_82 = objNull;
if (true) then
{
_this = createVehicle ["ClutterCutter_EP1", [5633.3926, 5046.6572, -0.55039978], [], 0, "CAN_COLLIDE"];
_vehicle_82 = _this;
_this setDir 43.172794;
_this setPos [5633.3926, 5046.6572, -0.55039978];
};
_unit_125 = objNull;
if (true) then
{
_this = _group_0 createUnit ["BAF_Soldier_AMG_W", [5633.9551, 5047.2637, -0.79090881], [], 0, "CAN_COLLIDE"];
_unit_125 = _this;
_this setDir 156.74988;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_87 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [5633.8457, 5046.1138, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_87 = _this;
_this setDir -11.691458;
_this setPos [5633.8457, 5046.1138, 1.5258789e-005];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_89 = objNull;
if (true) then
{
_this = createVehicle ["Land_bags_EP1", [4419.5322, 1631.51, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_89 = _this;
_this setDir 46.275173;
_this setPos [4419.5322, 1631.51, 1.9073486e-006];
};
_vehicle_90 = objNull;
if (true) then
{
_this = createVehicle ["Land_tires_EP1", [4427.7837, 1628.4592, -5.7220459e-006], [], 0, "CAN_COLLIDE"];
_vehicle_90 = _this;
_this setDir 23.986969;
_this setPos [4427.7837, 1628.4592, -5.7220459e-006];
};
_vehicle_91 = objNull;
if (true) then
{
_this = createVehicle ["Misc_Backpackheap_EP1", [4422.3594, 1630.8168, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
_vehicle_91 = _this;
_this setDir 64.795776;
_this setPos [4422.3594, 1630.8168, -7.6293945e-006];
};
_unit_133 = objNull;
if (true) then
{
_this = _group_1 createUnit ["Citizen2_EP1", [4425.9014, 1629.2626, 3.4332275e-005], [], 0, "CAN_COLLIDE"];
_unit_133 = _this;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_134 = objNull;
if (true) then
{
_this = _group_1 createUnit ["RU_Farmwife1", [4421.1494, 1631.6565], [], 0, "CAN_COLLIDE"];
_unit_134 = _this;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_93 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [4426.2944, 1629.8995, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
_vehicle_93 = _this;
_this setDir 21.153505;
_this setPos [4426.2944, 1629.8995, 1.1444092e-005];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_95 = objNull;
if (true) then
{
_this = createVehicle ["FoldTable", [4421.3999, 1632.3695, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_vehicle_95 = _this;
_this setDir 21.153505;
_this setPos [4421.3999, 1632.3695, 1.7166138e-005];
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
};
_vehicle_100 = objNull;
if (true) then
{
_this = createVehicle ["TK_WarfareBLightFactory_EP1", [7944.4624, 4807.0933, -0.31774208], [], 0, "CAN_COLLIDE"];
_vehicle_100 = _this;
_this setDir -180.23752;
_this setPos [7944.4624, 4807.0933, -0.31774208];
};
_vehicle_101 = objNull;
if (true) then
{
_this = createVehicle ["HeliHEmpty", [7973.8721, 4823.9058, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
_vehicle_101 = _this;
_this setPos [7973.8721, 4823.9058, 1.5258789e-005];
};
_unit_138 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Soldier_3", [7942.6382, 4805.4185, 8.1062317e-006], [], 0, "CAN_COLLIDE"];
_unit_138 = _this;
_this setDir 27.865156;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_103 = objNull;
if (true) then
{
_this = createVehicle ["US_WarfareBLightFactory_base_EP1", [2915.4509, 3326.8347, -0.29626316], [], 0, "CAN_COLLIDE"];
_vehicle_103 = _this;
_this setDir 100.41417;
_this setPos [2915.4509, 3326.8347, -0.29626316];
};
_unit_142 = objNull;
if (true) then
{
_this = _group_0 createUnit ["CZ_Special_Forces_MG_DES_EP1", [2917.9412, 3327.5701, -3.3378601e-006], [], 0, "CAN_COLLIDE"];
_unit_142 = _this;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_vehicle_105 = objNull;
if (true) then
{
_this = createVehicle ["HeliHEmpty", [2923.4763, 3357.9795, -1.8596649e-005], [], 0, "CAN_COLLIDE"];
_vehicle_105 = _this;
_this setPos [2923.4763, 3357.9795, -1.8596649e-005];
};
_unit_143 = objNull;
if (true) then
{
_this = _group_0 createUnit ["US_Soldier_Medic_EP1", [2913.1702, 3328.3713, 2.5272369e-005], [], 0, "CAN_COLLIDE"];
_unit_143 = _this;
_this setDir -26.258764;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_146 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Soldier_Medic", [3981.9768, 6143.9092, -7.6293945e-006], [], 0, "CAN_COLLIDE"];
_unit_146 = _this;
_this setDir 93.519081;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_150 = objNull;
if (true) then
{
_this = _group_0 createUnit ["BAF_Soldier_AAA_DDPM", [5633.1147, 5046.8662, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_unit_150 = _this;
_this setDir 155.8688;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
_unit_159 = objNull;
if (true) then
{
_this = _group_2 createUnit ["GUE_Soldier_1", [8947.5498, 4749.1328, 1.7938112], [], 0, "CAN_COLLIDE"];
_unit_159 = _this;
_this setDir -33.86211;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
_this setUnitAbility 0.60000002;
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
};
processInitCommands;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,116 @@
// DayZ Epoch TRADERS for 16
serverTraders = ["GUE_Soldier_Pilot","UN_CDF_Soldier_MG_EP1","GUE_Soldier_Medic","GUE_Woodlander1","GUE_Commander","Tanny_PMC","BAF_Soldier_AMG_W","BAF_Soldier_AAA_DDPM","GUE_Soldier_3","GUE_Soldier_1","BAF_Pilot_MTP","GUE_Soldier_Sab","US_Soldier_Medic_EP1","CZ_Special_Forces_MG_DES_EP1","Damsel5","GUE_Woodlander3","UN_CDF_Soldier_AAT_EP1","RU_Farmwife1","Citizen2_EP1"];
// AWOL's Airfield
menu_GUE_Soldier_Pilot = [
[["Airplanes",389],["Armed Chopper",449],["Helicopter Unarmed",450]],
[],
"friendly"
];
// West's Wholesaler
menu_UN_CDF_Soldier_MG_EP1 = [
[["Wholesale Crates",390]],
[],
"neutral"
];
// Neutral Medic
menu_GUE_Soldier_Medic = [
[["Medical Supplies",391],["Chem lights/Flares",443]],
[],
"neutral"
];
// Stavz Ammo
menu_GUE_Woodlander1 = [
[["LMG Ammo",392],["Pistol Ammo",393],["Rifle Ammo",394],["Shotgun/Xbow Ammo",395],["Sniper Ammo",396]],
[],
"neutral"
];
// Stevhn's Weapons
menu_GUE_Commander = [
[["Light Machine Guns",397],["Pistols",398],["Assault Rifles",399],["Shotguns/Crossbow",400],["Sniper Rifles",401]],
[],
"neutral"
];
// Trevors Hero Supplies.
menu_Tanny_PMC = [
[["Ammunition",402],["Weapons",403],["Clothes",404],["Vehicles",405],["Safes",406]],
[],
"friendly"
];
// Roberts Ammo
menu_BAF_Soldier_AMG_W = [
[["LMG Ammo",407],["Pistol Ammo",408],["Rifle Ammo",409],["SMG Ammo",410],["Sniper Ammo",411]],
[],
"friendly"
];
// Drakes Weapons
menu_BAF_Soldier_AAA_DDPM = [
[["Light Machine Guns",412],["Pistols",413],["Assault Rifles",414],["Sub Machine Guns",415],["Sniper Rifles",416]],
[],
"friendly"
];
// Brians Vehicles
menu_GUE_Soldier_3 = [
[["Bus/Van/Bikes",417],["ATV/Motorcycles ",418],["Cars",419],["Trucks Armed",420],["UAZ",421]],
[],
"neutral"
];
// Sam's Boats
menu_GUE_Soldier_1 = [
[["Boats Unarmed",422],["Boats Armed",423]],
[],
"neutral"
];
// Darren's Hero Vehicles
menu_BAF_Pilot_MTP = [
[["Vehicles",424],["Attack Choppers",425]],
[],
"friendly"
];
// Green's Air Vehicles
menu_GUE_Soldier_Sab = [
[["Airplanes",426],["Helicopter Unarmed",451]],
[],
"neutral"
];
// Perry's Medical
menu_US_Soldier_Medic_EP1 = [
[["Medical Supplies",427],["Chem lights/Flares",430]],
[],
"friendly"
];
// Kypex's Vehicles
menu_CZ_Special_Forces_MG_DES_EP1 = [
[["Cars",428],["Fuel Trucks",429],["SUV",431],["URAL's",432],["Armored Vehicles",433],["Land Rovers",434]],
[],
"friendly"
];
// Melly's General Supplies
menu_Damsel5 = [
[["Food/Drinks",435],["Backpacks",436],["Clothes",437]],
[],
"friendly"
];
// Jim's Repair/Building Supplies
menu_GUE_Woodlander3 = [
[["Vehicle Parts",438],["Building Supplies",439],["Toolbelt Items",440]],
[],
"friendly"
];
// South West Wholesaler
menu_UN_CDF_Soldier_AAT_EP1 = [
[["Wholesale Crates",441]],
[],
"neutral"
];
// Bertha's General Supplies
menu_RU_Farmwife1 = [
[["Food/Drinks",442],["Backpacks",444],["Clothes",445]],
[],
"neutral"
];
// Rocky's Parts/Building Supplies
menu_Citizen2_EP1 = [
[["Vehicle Parts",446],["Building Supplies",447],["Toolbelt Items",448]],
[],
"neutral"
];

View File

@@ -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.