mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 02:46:29 +03:00
updated Shapur and Chenarus missions to 0.5
This commit is contained in:
@@ -1,17 +1,25 @@
|
||||
startLoadingScreen ["","DayZ_loadingScreen"];
|
||||
/*
|
||||
INITILIZATION
|
||||
*/
|
||||
startLoadingScreen ["","RscDisplayLoadCustom"];
|
||||
cutText ["","BLACK OUT"];
|
||||
enableSaving [false, false];
|
||||
|
||||
//REALLY IMPORTANT VALUES
|
||||
dayZ_hivePipe1 = "\\.\pipe\dayz"; //The named pipe
|
||||
dayZ_instance = 11; //The instance
|
||||
hiveInUse = true;
|
||||
dayzHiveRequest = [];
|
||||
initialized = false;
|
||||
dayz_previousID = 0;
|
||||
|
||||
// AMP config
|
||||
//disable greeting menu
|
||||
player setVariable ["BIS_noCoreConversations", true];
|
||||
//disable radio messages to be heard and shown in the left lower corner of the screen
|
||||
enableRadio false;
|
||||
|
||||
|
||||
// DayZ Epoch config
|
||||
spawnShoremode = 1; // Default = 1 (on shore)
|
||||
spawnArea= 1500; // Default = 1500
|
||||
MaxHeliCrashes= 5; // Default = 5
|
||||
@@ -20,6 +28,18 @@ MaxDynamicDebris = 200; // Default = 100
|
||||
dayz_MapArea = 12000; // Default = 10000
|
||||
dayz_maxLocalZombies = 40; // Default = 40
|
||||
|
||||
// DayZ Epoch TRADERS
|
||||
weapon_trader = 'Functionary1';
|
||||
parts_trader = 'Profiteer2';
|
||||
can_trader = 'Woodlander4';
|
||||
ammo_trader = 'RU_Citizen2';
|
||||
auto_trader = 'TK_CIV_Worker01_EP1';
|
||||
auto_trader_2 = 'Worker4';
|
||||
mad_sci = 'RU_Doctor';
|
||||
metals_trader = 'RU_Citizen4';
|
||||
boat_trader = 'Villager3';
|
||||
|
||||
//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
|
||||
@@ -44,22 +64,93 @@ if ((!isServer) && (player != player)) then
|
||||
};
|
||||
|
||||
if (isServer) then {
|
||||
//Run the server monitor
|
||||
|
||||
// TODO: Still Needs major overhaul current method is not ideal
|
||||
AllowedVehiclesList = [ "Old_moto_TK_Civ_EP1",
|
||||
"MMT_Civ",
|
||||
"ATV_US_EP1",
|
||||
"hilux1_civil_3_open_EP1",
|
||||
"datsun1_civil_3_open",
|
||||
"Pickup_PK_TK_GUE_EP1",
|
||||
"Lada1",
|
||||
"Skoda",
|
||||
"car_sedan",
|
||||
"Volha_1_TK_CIV_EP1",
|
||||
"UAZ_Unarmed_TK_EP1",
|
||||
"Ikarus",
|
||||
"SUV_TK_CIV_EP1",
|
||||
"UH1H_DZ",
|
||||
"Mi17_Civilian",
|
||||
"LandRover_CZ_EP1",
|
||||
"HMMWV_Ambulance",
|
||||
"ArmoredSUV_PMC",
|
||||
"PBX",
|
||||
"RHIB",
|
||||
"M113Ambul_UN_EP1",
|
||||
"KamazRefuel",
|
||||
"CSJ_GyroP"];
|
||||
|
||||
AllowedVehiclesChance = [ 0.25, // "Old_moto_TK_Civ_EP1",
|
||||
0.55, // "MMT_Civ"
|
||||
0.45, // "ATV_US_EP1",
|
||||
0.55, // "hilux1_civil_3_open_EP1",
|
||||
0.25, // "datsun1_civil_3_open",
|
||||
0.40, // "Pickup_PK_TK_GUE_EP1",
|
||||
0.25, // "Lada1",
|
||||
0.25, // "Skoda",
|
||||
0.2, // "car_sedan",
|
||||
0.2, // "Volha_1_TK_CIV_EP1",
|
||||
0.15, // "UAZ_Unarmed_TK_EP1"
|
||||
0.01, // "Ikarus"
|
||||
0.1, // "SUV_TK_CIV_EP1"
|
||||
0.05, // "UH1H_DZ"
|
||||
0.09, // "Mi17_Civilian"
|
||||
0.11, // "LandRover_CZ_EP1"
|
||||
0.11, // "HMMWV_Ambulance"
|
||||
0.05, // "ArmoredSUV_PMC"
|
||||
0.15, // "PBX"
|
||||
0.01, // "RHIB"
|
||||
0.01, // "M113Ambul_UN_EP1"
|
||||
0.01, // "KamazRefuel"
|
||||
0.1]; // "CSJ_GyroP"
|
||||
|
||||
AllowedVehiclesLimit = [ 2, // "Old_moto_TK_Civ_EP1",
|
||||
5, // "MMT_Civ"
|
||||
2, // "ATV_US_EP1",
|
||||
2, // "hilux1_civil_3_open_EP1",
|
||||
2, // "datsun1_civil_3_open",
|
||||
1, // "Pickup_PK_TK_GUE_EP1",
|
||||
2, // "Lada1",
|
||||
2, // "Skoda",
|
||||
2, // "car_sedan",
|
||||
2, // "Volha_1_TK_CIV_EP1",
|
||||
2, // "UAZ_Unarmed_TK_EP1"
|
||||
1, // "Ikarus"
|
||||
1, // "SUV_TK_CIV_EP1"
|
||||
1, // "UH1H_DZ"
|
||||
1, // "Mi17_Civilian"
|
||||
2, // "LandRover_CZ_EP1"
|
||||
2, // "HMMWV_Ambulance"
|
||||
1, // "ArmoredSUV_PMC"
|
||||
2, // "PBX"
|
||||
1, // "RHIB"
|
||||
1, // "M113Ambul_UN_EP1"
|
||||
1, // "KamazRefuel"
|
||||
3]; // "CSJ_GyroP"
|
||||
|
||||
hiveInUse = true;
|
||||
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
|
||||
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
|
||||
// Add trader citys
|
||||
_nil = [] execVM "mission.sqf";
|
||||
};
|
||||
|
||||
if (!isDedicated) then {
|
||||
//Conduct map operations
|
||||
0 fadeSound 0;
|
||||
0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
|
||||
waitUntil {!isNil "dayz_loadScreenMsg"};
|
||||
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
|
||||
|
||||
//Run the player monitor
|
||||
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
|
||||
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
|
||||
|
||||
// Create burn effect for each helicopter wreck
|
||||
{
|
||||
nul = [_x, 2, time, false, false] spawn BIS_Effects_Burn;
|
||||
} forEach allMissionObjects "UH1Wreck_DZ";
|
||||
};
|
||||
Reference in New Issue
Block a user