Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Mission Initialization
- startLoadingScreen ["", "RscDisplayLoadCustom"];
- cutText ["", "BLACK OUT"];
- enableSaving [false, false];
- // Variable Initialization
- dayZ_instance = 18;
- dayZ_serverName = "PAZSAS.COM"; // server name (country code + server number)
- hiveInUse = true;
- dayzHiveRequest = [];
- initialized = false;
- dayz_previousID = 0;
- [] execVM "custom\rustlerscript.sqf";
- [] execVM "buildings\excbridge.sqf";
- [] execVM "buildings\island.sqf";
- [] execVM "custom\rustlersafetp.sqf";
- [] execVM "buildings\clanbases.sqf";
- [] execVM "buildings\roadblocks.sqf";
- [] execVM "buildings\aibase.sqf";
- [] execVM "buildings\airports.sqf";
- [] execVM "custom\nametags.sqf";
- [] execVM "carradio\initCarRadio.sqf";
- [] execVM "addons\R3F_ARTY_AND_LOG\init.sqf";
- // Fred's Wardrobe
- [] execVM "wardrobe\wardrobe_activate.sqf";
- //domedrizzt
- [[1233.19, 8756,0],100] execVM "custom\SAR_nuke_zeds.sqf";
- //domeumbrella
- [[917.819, 10767.7,0],130] execVM "custom\SAR_nuke_zeds.sqf";
- //domeavt
- [[12835.3, 14084.7,0],100] execVM "custom\SAR_nuke_zeds.sqf";
- //domeblackchurch
- [[14489, 13355,0],100] execVM "custom\SAR_nuke_zeds.sqf";
- //domehero
- [[10086.4, 13454.7,0],100] execVM "custom\SAR_nuke_zeds.sqf";
- //domebandit
- [[9576.21, 8259.08,0],100] execVM "custom\SAR_nuke_zeds.sqf";
- // Settings
- player setVariable ["BIS_noCoreConversations", true]; // Disable greeting menu
- //enableRadio false; // Disable global chat radio messages
- // Compile and call important functions
- call compile preprocessFileLineNumbers "custom\variables.sqf";
- progressLoadingScreen 0.1;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
- progressLoadingScreen 0.2;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
- progressLoadingScreen 0.4;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
- call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles
- progressLoadingScreen 1.0;
- // Set Tonemapping
- "Filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4];
- setToneMapping "Filmic";
- // Fred's Wardrobe
- wardrobe = compile preprocessFileLineNumbers "wardrobe\wardrobe_main.sqf";
- BIS_Effects_startEvent = {
- switch (_this select 0) do {
- case "AirDestruction": {
- [_this select 1] spawn BIS_Effects_AirDestruction;
- };
- case "AirDestructionStage2": {
- [_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
- };
- case "Burn": {
- [_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
- };
- };
- };
- "BIS_effects_gepv" addPublicVariableEventHandler {
- (_this select 1) call BIS_Effects_startEvent;
- };
- if ((!isServer) && (isNull player) ) then
- {
- waitUntil {!isNull player};
- waitUntil {time > 3};
- };
- if ((!isServer) && (player != player)) then
- {
- waitUntil {player == player};
- waitUntil {time > 3};
- };
- // Run the server monitor
- 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 {
- _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
- // "PVDZ_sec_atp" addPublicVariableEventHandler { diag_log format["%1", _this select 1];};
- _factions = [] execVM "scripts\set_unit_faction.sqf";
- //road barrier west
- _aispawn = [[3397.45,8317.7,0],10,5,1,4,1,7,10,0,600] execVM "scripts\add_unit_server.sqf";
- //road barrier east
- _aispawn = [[7489.52,7559.17,0],10,5,1,4,1,7,10,0,600] execVM "scripts\add_unit_server.sqf";
- //Tradezone 1
- _aispawn = [[6707.63,3449.08,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Tradezone 2
- _aispawn = [[6669.99,3430.03,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Tradezone 3
- _aispawn = [[6583.98,3449.95,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Tradezone 4
- _aispawn = [[6568.02,3415.12,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Tradezone 5
- _aispawn = [[6612.02,3410.5,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Tradezone 6
- _aispawn = [[6626.63,3450.39,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Tradezone 7
- _aispawn = [[6629.34,3450.45,0],1,1,1,0,2,1,3,1,60] execVM "scripts\add_unit_server.sqf";
- //Amelias Story 1
- _aispawn = [[10130,2193.31,0],1,1,1,1,2,1,3,2,60] execVM "scripts\add_unit_server.sqf";
- //aibase
- _aispawn = [[6891.22,11432.9,0],20,5,1,4,1,9,10,0,300] execVM "scripts\add_unit_server.sqf";
- //aibase2
- _aispawn = [[6855.37,11446.2,0],20,5,1,4,1,9,10,0,300] execVM "scripts\add_unit_server.sqf";
- //aibase3
- _aispawn = [[6922.19,11465.5,0],20,5,1,4,1,9,10,0,300] execVM "scripts\add_unit_server.sqf";
- //aibase4
- _aispawn = [[6902.4,11373,0],20,5,1,4,1,9,10,0,300] execVM "scripts\add_unit_server.sqf";
- //ROAMING NPC
- _aispawn = [[7622.51,7912.7,0],5000,20,1,4,1,3,5,0,600] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7625.51,7915.7,0],5000,20,1,4,1,3,5,0,600] execVM "scripts\add_unit_server.sqf";
- //Bus Service
- [] execVM "busroute\bus_driver.sqf";
- //street lights
- axe_server_lampObjs = compile preprocessFileLineNumbers "lights\fnc_returnLampWS.sqf";
- "axeLampObjects" addPublicVariableEventHandler {_id = (_this select 1) spawn axe_server_lampObjs};
- //===================piXel 15-02-2013===========
- dogOwner = [];
- //=========================end==================
- };
- // Run the player monitor
- 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";
- //[] execVM "DamiMods\Adminz\functions.sqf";
- // [] execVM "\z\addons\dayz_code\system\antihack.sqf";
- //StreetLights
- [] execVM "lights\street_lights.sqf";
- [] execVM "lights\tower_lights.sqf";
- [] execVM "addin\plrInit.sqf";
- };
- // Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it
- if (!isNil "dayZ_serverName") then {
- [] spawn {
- waitUntil {(!isNull Player) and (alive Player) and (player == player)};
- waituntil {!(isNull (findDisplay 46))};
- 5 cutRsc ["wm_disp","PLAIN"];
- ((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
- #include "gcam\gcam_config.hpp"
- #include "gcam\gcam_functions.sqf"
- #ifdef GCAM
- waitUntil { alive Player };
- waituntil { !(IsNull (findDisplay 46)) };
- if (serverCommandAvailable "#kick") then { (findDisplay 46) displayAddEventHandler ["keyDown", "_this call fnc_keyDown"]; };
- #endif
- };
- #include "\z\addons\dayz_code\system\REsec.sqf"
- // DayZ of Glory Mod By Sporkulus
- Use_spork = true; //turn this false to disable sporks whole mod.
- AdminList = ["107620678"]; //add admin uids here
- [] execvm "@DayZofDuty\dod\settings.sqf";
- [] execvm "@DayZofDuty\dod\Level_addons.sqf";
- [Use_spork,AdminList] execvm "@DayZofDuty\dod\debug.sqf";
- [Use_spork] execvm "@DayZofDuty\dod\Debug2.sqf";
- [Use_spork] execvm "@DayZofDuty\dod\debug3.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement