Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- 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;
- //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;
- // May prevent "how are you civillian?" messages FROM NPC
- enableSentences FALSE;
- // DayZ Epoch config
- spawnShoremode = 1; // DEFAULT = 1 (ON shore)
- spawnArea= 1500; // DEFAULT = 1500
- MaxVehicleLimit = 1000; // DEFAULT = 50
- MaxDynamicDebris = 500; // DEFAULT = 100
- dayz_MapArea = 14000; // DEFAULT = 10000
- dayz_maxLocalZombies = 30; // DEFAULT = 30
- dayz_fullMoonNights = TRUE;
- DZE_vehicleAmmo = 1;
- DZE_R3F_WEIGHT = FALSE;
- dayz_paraSpawn = FALSE;
- dayz_minpos = -1;
- dayz_maxpos = 16000;
- dayz_sellDistance_vehicle = 50;
- dayz_sellDistance_boat = 50;
- dayz_sellDistance_air = 50;
- dayz_maxAnimals = 5; // DEFAULT: 8
- dayz_tameDogs = TRUE;
- DynamicVehicleDamageLow = 50; // DEFAULT: 0
- DynamicVehicleDamageHigh = 100; // DEFAULT: 100
- DynamicVehicleFuelLow = 25;
- DynamicVehicleFuelHigh = 100;
- DZE_requireplot = 0;
- dayz_fullMoonNights = TRUE;
- DZE_GodModeBase = TRUE;
- DZE_BuildingLimit = 1000;
- DZE_MissionLootTable = TRUE;
- DZE_BuildOnRoads = FALSE; // DEFAULT: FALSE
- DefaultMagazines = [
- "ItemBandage",
- "ItemBandage",
- "17Rnd_9x19_glock17",
- "17Rnd_9x19_glock17",
- "ItemMorphine",
- "ItemPainkiller",
- "FoodRabbitCooked",
- "FoodRabbitCooked",
- "ItemSodaCoke",
- "ItemSodaCoke"
- ];
- DefaultWeapons = [
- "glock17_EP1",
- "ItemCompass",
- "ItemMap",
- "ItemMachete"
- ];
- DefaultBackpack = "DZ_Assault_Pack_EP1";
- DefaultBackpackWeapon = "";
- EpochEvents = [
- ["any","any","any","any",0,"crash_spawner"],
- ["any","any","any","any",5,"crash_spawner"],
- ["any","any","any","any",10,"crash_spawner"],
- ["any","any","any","any",15,"crash_spawner"],
- ["any","any","any","any",20,"crash_spawner"],
- ["any","any","any","any",25,"crash_spawner"],
- ["any","any","any","any",30,"crash_spawner"],
- ["any","any","any","any",35,"crash_spawner"],
- ["any","any","any","any",40,"crash_spawner"],
- ["any","any","any","any",10,"crash_spawner"],
- ["any","any","any","any",45,"crash_spawner"],
- ["any","any","any","any",50,"crash_spawner"],
- ["any","any","any","any",55,"crash_spawner"],
- ["any","any","any","any",0,"supply_drop"],
- ["any","any","any","any",5,"supply_drop"],
- ["any","any","any","any",10,"supply_drop"],
- ["any","any","any","any",15,"supply_drop"],
- ["any","any","any","any",20,"supply_drop"],
- ["any","any","any","any",25,"supply_drop"],
- ["any","any","any","any",30,"supply_drop"],
- ["any","any","any","any",35,"supply_drop"],
- ["any","any","any","any",40,"supply_drop"],
- ["any","any","any","any",45,"supply_drop"],
- ["any","any","any","any",50,"supply_drop"],
- ["any","any","any","any",55,"supply_drop"]
- ];
- //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 "compiles.sqf";
- 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) 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";
- };
- endLoadingScreen; // WORK around FOR 2nd Log IN hang
- IF (!isDedicated) THEN {
- [] execVM "TradeFromVehicle\init.sqf";
- [] execVM "hotkeys.sqf";
- //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
- [] execVM "admintools\AdminList.sqf";
- IF ( !((getPlayerUID player) IN AdminList) && !((getPlayerUID player) IN ModList) && !((getPlayerUID player) IN tempList)) THEN
- {
- [] execVM "\z\addons\dayz_code\system\antihack.sqf";
- };
- // Epoch Admin Tools
- [] execVM "admintools\AdminList.sqf";
- //Lights
- //[FALSE,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
- };
- #include "\z\addons\dayz_code\system\REsec.sqf"
- //START Dynamic Weather
- execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
- #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
- endLoadingScreen; // WORK around FOR 2nd Log IN hang
- //buildings
- [] execVM "buildings\balotar1.sqf";
- [] execVM "buildings\basebor.sqf";
- [] execVM "buildings\basedichina.sqf";
- [] execVM "buildings\basenovy.sqf";
- [] execVM "buildings\camp_rocket.sqf";
- [] execVM "buildings\cqz.sqf";
- [] execVM "buildings\fortstary.sqf";
- [] execVM "buildings\neaf.sqf";
- [] execVM "buildings\nwafbase.sqf";
- [] execVM "buildings\nwaffull.sqf";
- [] execVM "buildings\tikhaya.sqf";
- [] execVM "buildings\zeleno.sqf";
- [] execVM "buildings\excelsior.sqf";
- [] execVM "buildings\skalistybase.sqf";
- //actionmenu
- [] execVM "ActionMenu\actionmenu_activate.sqf";
- //admintools
- [] execVM "admintools\Activate.sqf";
- //debug stuff
- //HotKey(F8)
- waituntil {!IsNull (findDisplay 46)};
- _SpecKeyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", loadFile "hotkeys.sqf"];
- //Debug Monitor
- [] execVM "custom_monitor.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement