update mission files for 0.997

This commit is contained in:
vbawol
2013-03-19 15:27:36 -05:00
parent f7c56d8619
commit 345f5a7da4
36 changed files with 10045 additions and 404 deletions

View File

@@ -5,7 +5,7 @@ OnLoadIntro = "Welcome to Takistan";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={1,2,6};
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"

View File

@@ -45,11 +45,11 @@ AllowedVehiclesList = [
["UH1H_DZ",2],
["Mi17_Civilian_DZ",3],
["Mi17_DZ",1],
["CH_47F_EP1",1],
["CH_47F_EP1_DZ",1],
["LandRover_CZ_EP1",2],
["HMMWV_Ambulance",2],
["HMMWV_DES_EP1",1],
["M113Ambul_UN_EP1",1],
["M113Ambul_TK_EP1_DZ",1],
["KamazRefuel",1],
["UralRefuel_TK_EP1",1],
["MtvrRefuel_DES_EP1",1],

View File

@@ -23,7 +23,7 @@ MaxHeliCrashes= 5; // Default = 5
MaxVehicleLimit = 250; // Default = 50
MaxDynamicDebris = 400; // Default = 100
dayz_MapArea = 12000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 40
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)

View File

@@ -1,141 +1,111 @@
// DayZ Epoch TRADERS
serverTraders = [
"Functionary1",
"RU_Profiteer3",
"Profiteer1",
"RU_Sportswoman5",
"TK_CIV_Takistani05_EP1",
"Dr_Annie_Baker_EP1",
"Woodlander2",
"TK_CIV_Takistani02_EP1",
"TK_CIV_Takistani03_EP1",
"TK_CIV_Takistani06_EP1",
"TK_CIV_Takistani04_EP1",
"TK_CIV_Woman03_EP1",
"TK_CIV_Woman02_EP1",
"RU_Profiteer2",
"RU_Damsel4",
"RU_Woodlander3",
"RU_Citizen4",
"RU_Pilot"
];
// Metals Traders
// DayZ Epoch TRADERS for 1
serverTraders = ["Functionary1","RU_Profiteer3","Profiteer1","RU_Sportswoman5","TK_CIV_Takistani05_EP1","Dr_Annie_Baker_EP1","Woodlander2","TK_CIV_Takistani03_EP1","TK_CIV_Takistani06_EP1","TK_CIV_Takistani04_EP1","TK_CIV_Woman03_EP1","TK_CIV_Woman02_EP1","RU_Profiteer2","TK_CIV_Takistani02_EP1","RU_Damsel4","RU_Woodlander3","RU_Citizen4","RU_Pilot"];
// START PER TRADER CONFIG
// Hero Traders
menu_Functionary1 = [
[["Clothes",100411]],
[["Clothes",130],["Weapons",131],["Vehicles",132]],
[],
"hero"
"friendly"
];
// High end Weapons
// High End Weapons - Khush
menu_RU_Profiteer3 = [
[["Assault Rifle",100014],["Machine Gun",100015],["Sniper Rifle",100016],["Explosives",100023]],
[["Assault Rifle",133],["Machine Gun",134],["Sniper Rifle",135],["Explosives",136]],
[],
"neutral"
];
// High end ammo
// High End Ammo - Khush
menu_Profiteer1 = [
[["Assault Rifle Ammo",100004],["Machine Gun Ammo",100005],["Sniper Rifle Ammo",100006]],
[["Assault Rifle Ammo",137],["Machine Gun Ammo",138],["Sniper Rifle Ammo",139]],
[],
"neutral"
];
// Can Traders
// Can Trader - Khush
menu_RU_Sportswoman5 = [
[["Food and Drinks",100051],["Backpacks",100052],["Toolbelt Items",100053],["Clothes",100054]],
[
["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]
],
[["Food and Drinks",140],["Backpacks",141],["Toolbelt Items",142],["Clothes",143]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Parts Traders
// Parts Trader - Khush
menu_TK_CIV_Takistani05_EP1 = [
[["Vehicle Parts",100021],["Building Supplies",100022]],
[["Vehicle Parts",144],["Building Supplies",145]],
[],
"friendly"
];
// Doctors
// Doctor - Khush
menu_Dr_Annie_Baker_EP1 = [
[["Medical Supplies",100031],["Chem-lites/Flares",100032],["Smoke Grenades",100033]],
[["Medical Supplies",146],["Chem-lites/Flares",147],["Smoke Grenades",148]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"friendly"
];
// Auto Traders
// Auto Trader - Khush
menu_Woodlander2 = [
[["Trucks Armed",100422],["UAZ",100046],["Helicopter Armed",100444],["Military Armed",100455],["Fuel Trucks",100047],["Heavy Armor Unarmed",100048]],
[["Trucks Armed",149],["UAZ",150],["Helicopter Armed",151],["Military Armed",152],["Fuel Trucks",153],["Heavy Armor Unarmed",154]],
[],
"friendly"
];
// START Camp #2
// Car Parts
// Car Parts - Nur
menu_TK_CIV_Takistani03_EP1 = [
[["Vehicle Parts",102121],["Building Supplies",102222]],
[["Vehicle Parts",155],["Building Supplies",156]],
[],
"friendly"
];
// Weapons Trader
// Weapons Trader - Nur
menu_TK_CIV_Takistani06_EP1 = [
[["Sidearm",100011],["Rifles",100012],["Shotguns and Crossbows",100013]],
[["Sidearm",157],["Rifles",158],["Shotguns and Crossbows",159]],
[],
"friendly"
];
// Ammo Trader
// Ammo Trader - Nur
menu_TK_CIV_Takistani04_EP1 = [
[["Sidearm Ammo",100001],["Rifle Ammo",100002],["Shotgun and Crossbow Ammo",100003]],
[["Sidearm Ammo",160],["Rifle Ammo",161],["Shotgun and Crossbow Ammo",162]],
[],
"friendly"
];
// Can Trader - Nur
menu_TK_CIV_Woman03_EP1 = [
[["Food and Drinks",100055],["Backpacks",100056],["Toolbelt Items",100057],["Clothes",100058]],
[
["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]
],
[["Food and Drinks",163],["Backpacks",164],["Toolbelt Items",165],["Clothes",166]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Doctor - Nur
menu_TK_CIV_Woman02_EP1 = [
[["Medical Supplies",103131],["Chem-lites/Flares",103232],["Smoke Grenades",103333]],
[["Medical Supplies",167],["Chem-lites/Flares",168],["Smoke Grenades",169]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"friendly"
];
// START Camp #3
// LOW end Auto Traders
// Auto Trader - Garm
menu_RU_Profiteer2 = [
[["Cars",100041],["Trucks Unarmed",100042],["SUV",100466],["Buses and Vans",100467],["Bikes and ATV",100043],["Helicopter Unarmed",100044],["Military Unarmed",100045]],
[["Cars",170],["Trucks Unarmed",171],["SUV",172],["Buses and Vans",173],["Bikes and ATV",174],["Helicopter Unarmed",175],["Military Unarmed",176]],
[],
"friendly"
];
// Car Parts
// Car Parts - Garm
menu_TK_CIV_Takistani02_EP1 = [
[["Vehicle Parts",2122],["Building Supplies",2223]],
[["Vehicle Parts",177],["Building Supplies",178]],
[],
"friendly"
];
// Can Trader - Garm
menu_RU_Damsel4 = [
[["Food and Drinks",105151],["Backpacks",105252],["Toolbelt Items",105353],["Clothes",105454]],
[
["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]
],
[["Food and Drinks",179],["Backpacks",180],["Toolbelt Items",181],["Clothes",182]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Wholsalers
// Wholesaler - South
menu_RU_Woodlander3 = [
[["Wholesale",998]],
[["Wholesale",183]],
[],
"neutral"
];
// Wholesaler - North
menu_RU_Citizen4 = [
[["Wholesale",9998]],
[["Wholesale",184]],
[],
"neutral"
];
// Air plane Dealers
// Airplane Dealer
menu_RU_Pilot = [
[["Wholesale",1002]],
[["Airplanes",185]],
[],
"neutral"
];
];

View File

@@ -5,7 +5,7 @@ OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={1,2,6};
disableChannels[]={0,1,2,6};
enableItemsDropping = 0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"

View File

@@ -56,7 +56,7 @@ AllowedVehiclesList = [
["Fishing_Boat",2],
["Smallboat_1",2],
["Smallboat_2",2],
["M113Ambul_UN_EP1",1],
["M113Ambul_UN_EP1_DZ",1],
["KamazRefuel",1],
["UralRefuel_TK_EP1",1],
["MtvrRefuel_DES_EP1",1],

View File

@@ -1,148 +1,117 @@
// DayZ Epoch TRADERS
serverTraders = [
"TK_CIV_Takistani04_EP1",
"CIV_EuroMan01_EP1",
"Rocker4",
"Woodlander3",
"Woodlander1",
"RU_WorkWoman1",
"RU_WorkWoman5",
"CIV_EuroMan02_EP1",
"RU_Citizen3",
"Worker3",
"Profiteer4",
"Dr_Hladik_EP1",
"Doctor",
"RU_Functionary1",
"RU_Villager3",
"RU_Citizen4",
"RU_Citizen1",
"Pilot_EP1",
"Rita_Ensler_EP1"
];
// Weapons Traders
// DayZ Epoch TRADERS for 11
serverTraders = ["CIV_EuroMan01_EP1","Rocker4","Woodlander3","Woodlander1","RU_WorkWoman1","RU_WorkWoman5","Rita_Ensler_EP1","CIV_EuroMan02_EP1","RU_Citizen3","Pilot_EP1","Worker3","Profiteer4","Dr_Hladik_EP1","Doctor","RU_Functionary1","RU_Villager3","TK_CIV_Takistani04_EP1","RU_Citizen4","RU_Citizen1"];
// START PER TRADER CONFIG
// Weapons Trader - Bash
menu_CIV_EuroMan01_EP1 = [
[["Sidearm",11],["Rifles",12],["Shotguns and Crossbows",13]],
[["Sidearm",1],["Rifles",2],["Shotguns and Crossbows",3]],
[],
"friendly"
];
// Weapons Trader - Klen
menu_Rocker4 = [
[["Sidearm",1111],["Rifles",1212],["Shotguns and Crossbows",1313]],
[["Sidearm",4],["Rifles",5],["Shotguns and Crossbows",6]],
[],
"friendly"
];
// Parts Traders
// Parts Trader - Bash
menu_Woodlander3 = [
[["Vehicle Parts",21],["Building Supplies",22]],
[["Vehicle Parts",7],["Building Supplies",8]],
[],
"friendly"
];
// Parts Trader - Klen
menu_Woodlander1 = [
[["Vehicle Parts",2121],["Building Supplies",2222]],
[["Vehicle Parts",11],["Building Supplies",12]],
[],
"friendly"
];
// Can Traders
// Can Trader - Klen
menu_RU_WorkWoman1 = [
[["Food and Drinks",51],["Backpacks",52],["Toolbelt Items",53],["Clothes",54]],
[
["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]
],
[["Food and Drinks",13],["Backpacks",14],["Toolbelt Items",15],["Clothes",16]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Can Trader - Bash
menu_RU_WorkWoman5 = [
[["Food and Drinks",5151],["Backpacks",5252],["Toolbelt Items",5353],["Clothes",5454]],
[
["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]
],
[["Food and Drinks",17],["Backpacks",18],["Toolbelt Items",19],["Clothes",20]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Can Trader - Stary
menu_Rita_Ensler_EP1 = [
[["Food and Drinks",515151],["Backpacks",525252],["Toolbelt Items",535353],["Clothes",545454]],
[
["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]
],
"friendly"
[["Food and Drinks",21],["Backpacks",22],["Toolbelt Items",23],["Clothes",24]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"neutral"
];
// Ammo Traders
// Ammo Trader - Bash
menu_CIV_EuroMan02_EP1 = [
[["Sidearm Ammo",1],["Rifle Ammo",2],["Shotgun and Crossbow Ammo",3]],
[["Sidearm Ammo",25],["Rifle Ammo",26],["Shotgun and Crossbow Ammo",27]],
[],
"friendly"
];
// Ammo Trader - Klen
menu_RU_Citizen3 = [
[["Sidearm Ammo",1001],["Rifle Ammo",2002],["Shotgun and Crossbow Ammo",3003]],
[["Sidearm Ammo",28],["Rifle Ammo",29],["Shotgun and Crossbow Ammo",30]],
[],
"friendly"
];
// ,["Assault Rifle Ammo",4004],["Machine Gun Ammo",5005],["Sniper Rifle Ammo",6006]
// Ammo Trader - Stary
menu_Pilot_EP1 = [
[["Assault Rifle Ammo",4],["Machine Gun Ammo",5],["Sniper Rifle Ammo",6]],
[["Assault Rifle Ammo",31],["Machine Gun Ammo",32],["Sniper Rifle Ammo",33]],
[],
"neutral"
];
// Auto Traders
// Auto Trader - Bash
menu_Worker3 = [
[["Cars",41],["Trucks Unarmed",42],["SUV",466],["Buses and Vans",467],["Bikes and ATV",43],["Helicopter Unarmed",44],["Military Unarmed",45]],
[["Cars",34],["Trucks Unarmed",35],["SUV",36],["Buses and Vans",37],["Bikes and ATV",38],["Helicopter Unarmed",39],["Military Unarmed",40]],
[],
"friendly"
];
// Auto Trader - Klen
menu_Profiteer4 = [
[["Trucks Armed",422],["UAZ",46],["Helicopter Armed",444],["Military Armed",455],["Fuel Trucks",47],["Heavy Armor Unarmed",48]],
[["Trucks Armed",41],["UAZ",42],["Helicopter Armed",43],["Military Armed",44],["Fuel Trucks",45],["Heavy Armor Unarmed",46]],
[],
"friendly"
];
// Doctors
// Doctor - Bash
menu_Dr_Hladik_EP1 = [
[["Medical Supplies",31],["Chem-lites/Flares",32],["Smoke Grenades",33]],
[["Medical Supplies",47],["Chem-lites/Flares",48],["Smoke Grenades",49]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"friendly"
];
// Doctor - Klen
menu_Doctor = [
[["Medical Supplies",3131],["Chem-lites/Flares",3232],["Smoke Grenades",3333]],
[["Medical Supplies",50],["Chem-lites/Flares",51],["Smoke Grenades",52]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"friendly"
];
// Metals Traders
// Hero Traders
menu_RU_Functionary1 = [
[["Clothes",411]],
[["Clothes",53]],
[],
"hero"
"friendly"
];
// Boat Traders
// Boat Trader
menu_RU_Villager3 = [
[["Boats Unarmed",49],["Boats Armed",499],["Wholesale",99]],
[["Boats Unarmed",54],["Boats Armed",55],["Wholesale",56]],
[],
"neutral"
];
// High End Weapons
menu_TK_CIV_Takistani04_EP1 = [
[["Assault Rifle",14],["Machine Gun",15],["Sniper Rifle",16],["Explosives",23]],
[["Assault Rifle",57],["Machine Gun",58],["Sniper Rifle",59],["Explosives",60]],
[],
"neutral"
];
// Wholesaler - Solnichniy
menu_RU_Citizen4 = [
[["Wholesale",999]],
[["Wholesale",61]],
[],
"neutral"
];
// Wholesaler - Balota
menu_RU_Citizen1 = [
[["Wholesale",9999]],
[["Wholesale",62]],
[],
"neutral"
];
// Unused
// ["ItemOilBarrel","ItemGoldBar",1,3,"buy","Gold Bars","Oil Barrel",100]
// ["friendly"] must have more than -2000 humanity,
// ["neutral"] can have any ammount of humanity
// ["hostile"] must have lower than -2000
// OLD ["Wholesale",999]
];

View File

@@ -0,0 +1,63 @@
/*
=====================================================================================================================
Get Loot Pos - by VBAWOL
Version: 1.0
Date: 10.19.2012
Parameter: nul = [] execVM "Make_lootPos.sqf";
=====================================================================================================================
*/
private ["_target","_type","_pos","_ppos","_veh","_worldPos"];
if (count _this > 2) then
{
_doSave = (_this select 3) select 0;
if (_doSave == "save") then {
_target = nearestObject [player, "HouseBase"];
if (_target isKindOf "All") then {
if (!(isNil ("_target"))) then {
_type = typeOf _target;
_pos = getPosATL _target;
_ppos = _target worldToModel (getPosATL player);
_worldPos = _target modelToWorld _ppos;
diag_log text format ["%1 : %2", _type,_ppos];
_veh = createVehicle ["Sign_arrow_down_EP1", _worldPos, [], 0, "CAN_COLLIDE"];
_veh setPos _worldPos;
} else {
diag_log text format ["Target nil: %1", _target];
};
} else {
diag_log text format ["Failed to get target: %1", _target];
};
} else {
diag_log text format ["Save not passed: %1", _doSave];
};
} else {
s_aveact = -1;
_sleep = 1;
sleep 60;
While {true} do {
if (s_aveact < 0) then {
s_aveact = player addAction ["Save to arma2.rpt", "Make_lootPos.sqf", ["save"], 99, false, true, "",""];
};
sleep _sleep;
};
};

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 Taviana";
OnLoadIntro = "Welcome to Taviana";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,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,72 @@
AllowedVehiclesList = [
["Old_moto_TK_Civ_EP1",10],
["MMT_Civ",10],
["Old_bike_TK_INS_EP1",10],
["TT650_Ins",1],
["TT650_Civ",1],
["TT650_TK_CIV_EP1",1],
["ATV_US_EP1",10],
["hilux1_civil_3_open_EP1",5],
["hilux1_civil_2_covered",2],
["datsun1_civil_3_open",5],
["Pickup_PK_TK_GUE_EP1",5],
["VWGolf",2],
["Lada1",1],
["Lada2",1],
["LadaLM",1],
["Lada2_TK_CIV_EP1",2],
["Skoda",1],
["SkodaGreen",1],
["SkodaRed",1],
["SkodaBlue",1],
["car_sedan",2],
["car_hatchback",2],
["policecar",1],
["GLT_M300_LT",1],
["GLT_M300_ST",1],
["Volha_1_TK_CIV_EP1",2],
["VolhaLimo_TK_CIV_EP1",2],
["UAZ_Unarmed_TK_EP1",1],
["UAZ_RU",1],
["UAZ_INS",1],
["Ikarus",3],
["SUV_TK_CIV_EP1",2],
["SUV_Green",1],
["SUV_Yellow",1],
["SUV_White",1],
["SUV_Silver",1],
["SUV_Red",1],
["SUV_Pink",1],
["SUV_Orange",1],
["SUV_Charcoal",1],
["SUV_Blue",1],
["UH1H_DZ",2],
["Mi17_Civilian_DZ",3],
["Mi17_DZ",1],
["LandRover_CZ_EP1",2],
["HMMWV_Ambulance",2],
["HMMWV_DES_EP1",1],
["PBX",3],
["Zodiac",2],
["RHIB",2],
["Fishing_Boat",2],
["Smallboat_1",2],
["Smallboat_2",2],
["M113Ambul_UN_EP1",1],
["KamazRefuel",1],
["UralRefuel_TK_EP1",1],
["MtvrRefuel_DES_EP1",1],
["Ural_UN_EP1",2],
["Ural_TK_CIV_EP1",2],
["Ural_CDF",2],
["Kamaz",2],
["tractor",3],
["CSJ_GyroP",5],
["S1203_ambulance_EP1",1],
["S1203_TK_CIV_EP1",2],
["MH6J_DZ",1],
["AH6X_DZ",1],
["MTVR_DES_EP1",1],
["LandRover_MG_TK_EP1",1],
["M1030_US_DES_EP1",1]
];

View File

@@ -0,0 +1,74 @@
/*
INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 13; //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;
// Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea = 1500; // Default = 1500
MaxHeliCrashes= 5; // Default = 5
MaxVehicleLimit = 250; // Default = 50
MaxDynamicDebris = 250; // Default = 100
dayz_MapArea = 12000; // 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";
nul = [] execVM "Make_lootPos.sqf";
};

File diff suppressed because it is too large Load Diff

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.

View File

@@ -1,96 +0,0 @@
/*%FSM<COMPILE "D:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, stdin">*/
/*%FSM<HEAD>*/
/*
item0[] = {"init",0,250,-52.011097,-242.579758,37.988903,-192.579758,0.000000,"init"};
item1[] = {"true",8,218,-42.857147,-180.166443,47.142853,-130.166443,0.000000,"true"};
item2[] = {"Broadcast",2,250,-37.031898,-113.592247,52.968117,-63.592247,0.000000,"Broadcast"};
item3[] = {"isRetard",4,218,-85.298180,-33.703201,4.701797,16.296804,0.000000,"isRetard"};
item4[] = {"I_has_small_dick",2,250,-27.045757,58.668503,62.954262,108.668503,0.000000,"I has small dick"};
item5[] = {"isOwned",4,218,43.689316,-30.790573,133.689301,19.209412,0.000000,"isOwned"};
link0[] = {0,1};
link1[] = {1,2};
link2[] = {2,3};
link3[] = {3,4};
link4[] = {4,5};
link5[] = {5,2};
globals[] = {0.000000,0,0,0,16777215,640,480,1,8,6316128,1,-306.241333,293.758667,267.741943,-346.774170,372,381,1};
window[] = {0,-1,-1,-1,-1,576,50,812,50,1,390};
*//*%FSM</HEAD>*/
class FSM
{
fsmName = "stdin";
class States
{
/*%FSM<STATE "init">*/
class init
{
name = "init";
init = /*%FSM<STATEINIT""">*/""/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "true">*/
class true
{
priority = 0.000000;
to="Broadcast";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/""/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};
/*%FSM</STATE>*/
/*%FSM<STATE "Broadcast">*/
class Broadcast
{
name = "Broadcast";
init = /*%FSM<STATEINIT""">*/""/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "isRetard">*/
class isRetard
{
priority = 0.000000;
to="I_has_small_dick";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(dialog&&isNull(findDisplay 106)&&isNull(findDisplay 6902))||(!isNil(""nil"")&&alive(player))"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};
/*%FSM</STATE>*/
/*%FSM<STATE "I_has_small_dick">*/
class I_has_small_dick
{
name = "I_has_small_dick";
init = /*%FSM<STATEINIT""">*/"closeDialog 0;" \n
"player enableSimulation false;" \n
"_tinypenis = format[""AntiCheat: Incredibly small penis detected for %1 with UID %2"",name player,getPlayerUID player];" \n
"player setVariable [""cheat"",_tinypenis,true];"/*%FSM</STATEINIT""">*/;
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "isOwned">*/
class isOwned
{
priority = 0.000000;
to="Broadcast";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"!dialog&&!alive(player)"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};
/*%FSM</STATE>*/
};
initState="init";
finalStates[] =
{
};
};
/*%FSM</COMPILE>*/

View File

@@ -5,7 +5,7 @@ OnLoadIntro = "Welcome to Dingor Island";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
disableChannels[]={0,1,2,6};
enableItemsDropping=0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"

View File

@@ -10,7 +10,6 @@ AllowedVehiclesList = [
["hilux1_civil_2_covered",2],
["datsun1_civil_3_open",5],
["Pickup_PK_TK_GUE_EP1",5],
["Octavia_ACR",2],
["VWGolf",2],
["Lada1",1],
["Lada2",1],

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,165 @@
// DayZ Epoch TRADERS for 6
serverTraders = ["RU_Worker1","Dr_Annie_Baker_EP1","CIV_EuroWoman01_EP1","ibr_lingorman2s","Worker2","TK_CIV_Woman03_EP1","ibr_lingorman3s","ibr_lingorman5s","ibr_lingorman4s","ibr_lingorman2","Citizen2_EP1","Worker1","RU_Madam3","Pilot","CIV_EuroMan02_EP1","CIV_EuroMan01_EP1","ibr_lingorman7s","Damsel3","Rocker4","Worker4","ibr_lingorman7","ibr_lingorman5","Citizen3_EP1","ibr_lingorman6","ibr_lingorman6s","TK_CIV_Woman02_EP1","Pilot_EP1"];
// START PER TRADER CONFIG
// Whiskey's Parts Shop
menu_RU_Worker1 = [
[["Vehicle Parts",63],["Building Supplies",64]],
[],
"neutral"
];
// Melly's Medical
menu_Dr_Annie_Baker_EP1 = [
[["Medical Supplies",65],["Clothes",66],["Chem lights/Flairs",67],["Smoke Grenades",68]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"friendly"
];
// Alejandria's General Supplies
menu_CIV_EuroWoman01_EP1 = [
[["Food/Drink",70],["Backpacks",72],["Clothes",73],["Toolbelt Items",74]],
[],
"friendly"
];
// Blivion's Wholesale Items
menu_ibr_lingorman2s = [
[["Wholesale Crates",69]],
[],
"neutral"
];
// Axle's Repair Shop
menu_Worker2 = [
[["Vehicle Parts",76],["Building Supplies",77],["Demolition Supplies",78]],
[],
"friendly"
];
// Stella's General Goods
menu_TK_CIV_Woman03_EP1 = [
[["Food/Drink",79],["Backpacks",80],["Clothes",81],["Toolbelt Items",82]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Clive's Wholesale
menu_ibr_lingorman3s = [
[["Wholesale Crates",84]],
[],
"neutral"
];
// Big Bob's Boats
menu_ibr_lingorman5s = [
[["Fishing boats",85],["PBX",86]],
[],
"neutral"
];
// Juan's Tour Boats
menu_ibr_lingorman4s = [
[["Tour boats",87],["PBX",88]],
[],
"friendly"
];
// Jd'z Armed Boats
menu_ibr_lingorman2 = [
[["Armed Boats",89]],
[],
"friendly"
];
// Green's Quality Cars
menu_Citizen2_EP1 = [
[["Tracked Vehicles",90],["Armed Vehicles",91],["Fuel Trucks",92],["Armored Vehicles",93],["SUV's",120]],
[],
"friendly"
];
// Lyle's Parts
menu_Worker1 = [
[["Vehicle Parts",94],["Building Supplies",95]],
[],
"friendly"
];
// Bag Lady Gina
menu_RU_Madam3 = [
[["Food/Drink",96],["Backpacks",97],["Toolbelt Items",98],["Clothes",99]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"neutral"
];
// Chip's Choppers
menu_Pilot = [
[["Armed Choppers",100],["Unarmed Choppers",101]],
[],
"friendly"
];
// Jim's Ammo
menu_CIV_EuroMan02_EP1 = [
[["Pistol Ammo",102],["Assault Ammo",103],["Heavy Ammo",104],["Sniper Ammo",105]],
[],
"friendly"
];
// Joe's Weapons
menu_CIV_EuroMan01_EP1 = [
[["Pistols",106],["Assault Rifles",107],["Heavy Machine Guns",108],["Sniper Rifles",109]],
[],
"friendly"
];
// Rodger's 4x4
menu_ibr_lingorman7s = [
[["Offroad Trucks",110]],
[],
"friendly"
];
// Tina's Tarts
menu_Damsel3 = [
[["Food/Drinks",111],["Clothes",112]],
[["ItemCopperBar","TrashJackDaniels",1,1,"buy","Empty Wiskey Bottle","Copper Bar",101]],
"friendly"
];
// Sly's Moto
menu_Rocker4 = [
[["ATV's",113],["Dirt Bikes",114]],
[],
"friendly"
];
// Jim's Used Cars
menu_Worker4 = [
[["Trucks Armed",115],["Trucks Unarmed",116],["Cars",117],["Waggons",118],["Bus",119]],
[],
"neutral"
];
// Chucks Weapons
menu_ibr_lingorman7 = [
[["Pistols",121],["Assault Rifles",122],["Sniper Rifles",123]],
[],
"neutral"
];
// Buck's Shot
menu_ibr_lingorman5 = [
[["Pistol Ammo",124],["Assault Ammo",125],["Sniper Ammo",126]],
[],
"neutral"
];
// Santo's Wholesale
menu_Citizen3_EP1 = [
[["Wholesale Crates",127]],
[],
"neutral"
];
// Tire Guy
menu_ibr_lingorman6 = [
[["Vehicle Parts",128]],
[],
"friendly"
];
// Raul's Parts
menu_ibr_lingorman6s = [
[["Vehicle Parts",129]],
[],
"friendly"
];
// Samish Shop
menu_TK_CIV_Woman02_EP1 = [
[["Food/Drinks",188],["Backpacks",189],["Toolbelt Items",190],["Clothes",191]],
[],
"neutral"
];
// AWOL's Planes
menu_Pilot_EP1 = [
[["Cargo Planes",192]],
[],
"friendly"
];