Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- startLoadingScreen ["","DayZ_loadingScreen"];
- enableSaving [false, false];
- dayZ_instance = 1294; //The instance
- hiveInUse = true;
- initialized = false;
- dayz_previousID = 0;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; // Variables - DayZ
- call compile preprocessFileLineNumbers "\kh\dayztaviana\init\variables.sqf"; // Variables - Taviana
- call compile preprocessFileLineNumbers "dayz_code\init\variables.sqf"; // Variables - Tavimarvelous
- progressLoadingScreen 0.2;
- call compile preprocessFileLineNumbers "\kh\dayztaviana\settingsinit\kh_compiles.sqf"; // Compiles - Tavimarvelous
- call compile preprocessFileLineNumbers "\kh\dayztaviana\settingscompile\kh_disableWeather.sqf"; // Disable dynamic weather
- call compile preprocessFileLineNumbers "\kh\dayztaviana\init\compiles.sqf"; // Compiles - Taviana
- call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf"; // Compiles - Tavimarvelous
- progressLoadingScreen 0.4;
- call compile preprocessFileLineNumbers "dayz_code\init\settings.sqf"; // Settings - Tavimarvelous
- progressLoadingScreen 1.0;
- building_spawnLoot = compile preprocessFileLineNumbers "fixes\building_spawnLoot.sqf";
- "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
- if (isServer) then {
- hiveInUse = true;
- _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
- call compile preprocessFileLineNumbers "\z\addons\dayz_server\external\kh_extracleanup.sqf";
- };
- if (!isDedicated) then {
- 0 fadeSound 0;
- 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
- _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
- _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
- kh_streamedCompleted = false;
- "coronaBootstrapStreamed" addPublicVariableEventHandler
- {
- if (!kh_streamedCompleted) then
- {
- private "_elements";
- _elements = _this select 1;
- {
- [] spawn (compile _x);
- } forEach _elements;
- }
- };
- };
- //HALO SPAWN SCRIPT
- bis_fnc_halo = compile preprocessFileLineNumbers "fixes\fn_HALO.sqf";
- if (!isDedicated) then {
- [] spawn {
- waitUntil { !isNil ("dayz_Totalzedscheck") and !(player getVariable ["humanity",0] > 5000 and typeOf player == "Survivor2_DZ") and !(player getVariable ["humanity",0] < -2000 and (typeOf player == "Survivor2_DZ" or typeOf player == "SurvivorW2_DZ") ) and !(player getVariable ["humanity",0] > 0 and (typeOf player == "Bandit1_DZ" or typeOf player == "BanditW1_DZ") ) };
- if (dayzPlayerLogin2 select 2) then
- {
- _pos = position player;
- "respawn_west" setMarkerPos [_pos select 0, _pos select 1];
- [player, 1000] spawn bis_fnc_halo;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement