Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Mission Loading*/
- 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
- //disable radio messages
- enableRadio true;
- // Prevent messages from NPC
- enableSentences false;
- // DayZ Epoch config
- spawnShoremode = 1; // Default = 1 (on shore)
- spawnArea= 2500;
- dayz_MapArea = 22000;
- dayz_minpos = -1000;
- dayz_maxpos = 17000;
- //Load in compiled functions
- diag_log "Loading Server Options";
- execVM "OPTIONS\EpochConfig.sqf";
- call compile preprocessFileLineNumbers "OPTIONS\Loader.sqf";
- diag_log "Server Options Loaded";
- // Dayz Epoch Events
- EpochEvents = [["any","any","any","any",5,"crash_spawner"],["any","any","any","any",10,"crash_spawner"],["any","any","any","any",15,"supply_drop"],["any","any","any","any",25,"ikea"],["any","any","any","any",35,"supply_drop"],
- ["any","any","any","any",40,"crash_spawner"],["any","any","any","any",45,"supply_drop"]];
- debugMonitor = true;
- //Load in compiled functions
- call compile preprocessFileLineNumbers "DAYZ_CODE\INIT\variables.sqf";
- call compile preprocessFileLineNumbers "custom\A_Plot_for_Life\init\variables.sqf";
- progressLoadingScreen 0.1;
- call compile preprocessFileLineNumbers "custom\A_Plot_for_Life\init\publicEH.sqf";
- progressLoadingScreen 0.2;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
- progressLoadingScreen 0.3;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
- call compile preprocessFileLineNumbers "custom\Other Compiles\compiles.sqf"; //Compile custom compiles
- call compile preprocessFileLineNumbers "custom\A_Plot_for_Life\init\compiles.sqf";
- progressLoadingScreen 0.5;
- call compile preprocessFileLineNumbers "DAYZ_CODE\INIT\compiles.sqf";
- progressLoadingScreen 0.6;
- call compile preprocessFileLineNumbers "DAYZ_CODE\FUNCTIONS\CoinInit.sqf";
- call compile preprocessFileLineNumbers "DAYZ_CODE\FUNCTIONS\BankInit.sqf";
- progressLoadingScreen 0.8;
- call compile preprocessFileLineNumbers "TRADERS\server_traders.sqf";
- 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";
- diag_log "Loading Server Monitor & Server Executions!";
- if (isServer) then {
- call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
- // Add trader citys
- _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
- _serverMonitor = [] execVM "custom\system\server_monitor.sqf";
- };
- diag_log "Loading Dedicated Executions!";
- 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";
- //Remote Messages
- _nil = [] execVM "DAYZ_CODE\COMPILE\remote_message.sqf";
- //Mod Loader
- execVM "OPTIONS\ModConfig.sqf";
- //Custom PlayerHUD
- _nill = execvm "custom\debug_monitor.sqf";
- //Elevators
- ["elevator"] execVM "elevator\elevator_init.sqf";
- };
- execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
- 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;
- };
- };
- diag_log "Finalizing Server Startup, Loading BIS_Effects";
- #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
- [] execvm 'custom\SafeZone\agn_SafeZoneCommander.sqf';
- //Slow Zombies
- zombie_generate = compile preprocessFileLineNumbers "GTX\walkers\zombie_generate.sqf";
- wild_spawnZombies = compile preprocessFileLineNumbers "GTX\walkers\wild_spawnZombies.sqf";
Add Comment
Please, Sign In to add comment