/*
For DayZ Epoch
Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 11; //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
DZE_R3F_WEIGHT = false;
//disable greeting menu a
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
enableRadio true;
// May prevent "how are you civillian?" messages from NPC
enableSentences true;
// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500
MaxVehicleLimit = 50; // Default = 50
MaxDynamicDebris = 90; // Default = 100
DynamicVehicleDamageHigh = 100;
DynamicVehicleDamageLow = 10; // Default: 0
DynamicVehicleFuelLow = 0;
DynamicVehicleFuelHigh = 100;
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 20; // Default = 30
DZE_BuildingLimit = 300;
DZE_ForceNameTagsInTrader = true;
DZE_HumanityTargetDistance = 25;
DZE_FriendlySaving = true;
//---Self BB--------
DZE_selfTransfuse = true;
DZE_selfTransfuse_Values = [6000, 10, 600];
//-----Death Messages------
DZE_DeathMsgGlobal = true;
DZE_DeathMsgSide = true;
DZE_DeathMsgTitleText = true;
DZE_PlayerZed = false; //--------Spawn as Zombie
DZE_MissionLootTable = true; //------ High Loot
//Customize fresh spawn loadout
DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag"];
DefaultWeapons = ["ItemMap"];
DefaultBackpack = "";
DefaultBackpackItems = [""];
DZE_defaultSkin = [["Male skin1","Male skin2"],["Female skin1","Female skin2"]];
MaxAmmoBoxes = 5; // Max Ammo boxes
MaxMineVeins = 30; // Max Ore Veins
dayz_paraSpawn = false;
DZE_LootSpawnTimer = 10;
DZE_vehicleAmmo = 1;
DZE_BackpackGuard = false;
OldHeliCrash = true;
dayz_minpos = -1;
dayz_maxpos = 16000;
//----Sell Distance --------
dayz_sellDistance_vehicle = 20;
dayz_sellDistance_boat = 40;
dayz_sellDistance_air = 50;
dayz_maxAnimals = 5; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100
DZE_BuildOnRoads = false; // Default: False
DZE_AllowCargoCheck = true;
DZEdebug = false;
EpochEvents = [["any","any","any","any",10,"Treasure"],
["any","any","any","any",20,"supply_drop"],
["any","any","any","any",15,"Supplyitems"],
["any","any","any","any",35,"Military"],
["any","any","any","any",50,"Military"],
["any","any","any","any",45,"Construction"],
["any","any","any","any",30,"Treasure"],
["any","any","any","any",25,"FlyBy"]
];
dayz_fullMoonNights = true;
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
call compile preprocessFileLineNumbers "custom\variables.sqf";
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.3;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 0.4;
fnc_usec_selfActions = compile preprocessFileLineNumbers "compile\fn_selfActions.sqf";
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "custom\player_murderMenu.sqf";
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
progressLoadingScreen 0.6;
call compile preprocessFileLineNumbers "admintools\AdminList.sqf"; // Epoch admin Tools variables/UIDs
progressLoadingScreen 0.7;
call compile preprocessFileLineNumbers "custom\compiles.sqf";
progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
if (isServer) then {
call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
//Compile vehicle configs
// Add trader citys
_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
if (!isDedicated) then {
[] execVM "compile\Server_WelcomeCredits.sqf"; //---------------WELCOME MESSAGE----------------
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
execVM "service_point\service_point.sqf";
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
// Epoch Admin Tools
if ( !((getPlayerUID player) in AdminList) && !((getPlayerUID player) in ModList)) then
{
[] execVM "admintools\antihack\antihack.sqf"; // Epoch Antihack with bypass
};
//Lights
//[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
execVM "custom\kill_msg.sqf";
if (isNil 'debugMonitor') then
{
debugMonitor = true;
_nill = execvm "custom\debug_monitor.sqf";
};
};
//Start Dynamic Weather
execVM "custom\DynamicWeatherEffects.sqf";
#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
[] execVM "extras\TestBuildings.sqf"; // Building adding Test
[] execVM "extras\customvybor.sqf"; // Custom Vybor
[] execVM "extras\Balotacustom.sqf"; // Custom balota
[] execVM "extras\capg.sqf"; // Custom Cap Golovo
[] execVM "extras\Bor.sqf"; // Custom Bor Base
[] execVM "extras\Msta.sqf"; // My custom
[] execVM "safezone.sqf";
[] execVM "admintools\Activate.sqf"; // Epoch admin tools
//Tow and lift
[] execVM "R3F_ARTY_AND_LOG\init.sqf";
//custom laodout
[] ExecVM "custom\loadouts.sqf";
//block side
[] execVM "custom\player_onSide.sqf"
Comments
0 B
|👍
/👎