Advertisement
Guest User

Untitled

a guest
May 19th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. startLoadingScreen ["","DayZ_loadingScreen"];
  2. enableSaving [false, false];
  3. dayZ_instance = 1294; //The instance
  4. hiveInUse = true;
  5. initialized = false;
  6. dayz_previousID = 0;
  7.  
  8. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; // Variables - DayZ
  9. call compile preprocessFileLineNumbers "\kh\dayztaviana\init\variables.sqf"; // Variables - Taviana
  10. call compile preprocessFileLineNumbers "dayz_code\init\variables.sqf"; // Variables - Tavimarvelous
  11.  
  12. progressLoadingScreen 0.2;
  13. call compile preprocessFileLineNumbers "\kh\dayztaviana\settingsinit\kh_compiles.sqf"; // Compiles - Tavimarvelous
  14. call compile preprocessFileLineNumbers "\kh\dayztaviana\settingscompile\kh_disableWeather.sqf"; // Disable dynamic weather
  15. call compile preprocessFileLineNumbers "\kh\dayztaviana\init\compiles.sqf"; // Compiles - Taviana
  16. call compile preprocessFileLineNumbers "dayz_code\init\compiles.sqf"; // Compiles - Tavimarvelous
  17.  
  18. progressLoadingScreen 0.4;
  19. call compile preprocessFileLineNumbers "dayz_code\init\settings.sqf"; // Settings - Tavimarvelous
  20.  
  21. progressLoadingScreen 1.0;
  22. building_spawnLoot = compile preprocessFileLineNumbers "fixes\building_spawnLoot.sqf";
  23.  
  24. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  25. if (isServer) then {
  26. hiveInUse = true;
  27. _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
  28. call compile preprocessFileLineNumbers "\z\addons\dayz_server\external\kh_extracleanup.sqf";
  29. };
  30. if (!isDedicated) then {
  31. 0 fadeSound 0;
  32. 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
  33. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  34. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  35. kh_streamedCompleted = false;
  36. "coronaBootstrapStreamed" addPublicVariableEventHandler
  37. {
  38. if (!kh_streamedCompleted) then
  39. {
  40. private "_elements";
  41.  
  42. _elements = _this select 1;
  43.  
  44. {
  45. [] spawn (compile _x);
  46. } forEach _elements;
  47. }
  48. };
  49. };
  50.  
  51. //HALO SPAWN SCRIPT
  52.  
  53. bis_fnc_halo = compile preprocessFileLineNumbers "fixes\fn_HALO.sqf";
  54.  
  55. if (!isDedicated) then {
  56. [] spawn {
  57. 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") ) };
  58.  
  59. if (dayzPlayerLogin2 select 2) then
  60. {
  61. _pos = position player;
  62. "respawn_west" setMarkerPos [_pos select 0, _pos select 1];
  63. [player, 1000] spawn bis_fnc_halo;
  64. };
  65. };
  66. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement