Advertisement
Guest User

Untitled

a guest
May 26th, 2015
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. //Server Settings
  2.  
  3. //Add the insttance id of this server
  4. dayZ_instance = 44773;
  5. //Tag info this is shown to all players in the bottom left hand side of the screen
  6. dayZ_serverName = ""; // Servername (country code + server number)
  7.  
  8. //Gamesettings
  9. dayz_antihack = 1; // DayZ Antihack / 1 = enabled // 0 = disabled
  10. dayz_REsec = 1; // DayZ RE Security / 1 = enabled // 0 = disabled
  11. dayz_enableGhosting = true; //Enable disable the ghosting system.
  12. dayz_ghostTimer = 120; //Sets how long in seconds a player must be dissconnected before being able to login again.
  13. dayz_spawnselection = 1; //Turn on spawn selection 0 = random only spawns, 1 = Spawn choice based on limits
  14. dayz_spawncarepkgs_clutterCutter = 0; //0 = loot hidden in grass, 1 = loot lifted and 2 = no grass
  15. dayz_spawnCrashSite_clutterCutter = 0; // heli crash options 0 = loot hidden in grass, 1 = loot lifted and 2 = no grass
  16. dayz_spawnInfectedSite_clutterCutter = 0; // infected base spawn... 0: loot hidden in grass, 1: loot lifted, 2: no grass
  17. dayz_enableRules = true; //Enables a nice little news/rules feed on player login (make sure to keep the lists quick).
  18. dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkeys 1,2,3) False = enable animations, True = disable animations
  19. dayz_bleedingeffect = 3; //1= blood on the ground, 2= partical effect, 3 = both.
  20. dayz_ForcefullmoonNights = true; // Forces night time to be full moon.
  21. dayz_POIs = true;
  22. dayz_infectiousWaterholes = true;
  23. dayz_DamageMultiplier = 1; //Damage Multiplier for Zombies.
  24.  
  25. dayz_maxGlobalZeds = 500; //Limit the total zeds server wide.
  26. dayz_attackRange = 3; // attack range of zeds vehicles are * 2 of this number
  27. dayz_temperature_override = false; // Set to true to disable all temperature changes.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. // DO NOT EDIT BELOW HERE //
  36. MISSION_ROOT=toArray __FILE__;MISSION_ROOT resize(count MISSION_ROOT-8);MISSION_ROOT=toString MISSION_ROOT;
  37. diag_log 'dayz_preloadFinished reset';
  38. dayz_preloadFinished=nil;
  39. onPreloadStarted "diag_log [diag_tickTime, 'onPreloadStarted']; dayz_preloadFinished = false;";
  40. onPreloadFinished "diag_log [diag_tickTime, 'onPreloadFinished']; if (!isNil 'init_keyboard') then { [] spawn init_keyboard; }; dayz_preloadFinished = true;";
  41.  
  42. with uiNameSpace do {RscDMSLoad=nil;}; // autologon at next logon
  43.  
  44. if (!isDedicated) then {
  45. enableSaving [false, false];
  46. startLoadingScreen ["","RscDisplayLoadCustom"];
  47. progressLoadingScreen 0;
  48. dayz_loadScreenMsg = localize 'str_login_missionFile';
  49. progress_monitor = [] execVM "\z\addons\dayz_code\system\progress_monitor.sqf";
  50. 0 cutText ['','BLACK',0];
  51. 0 fadeSound 0;
  52. 0 fadeMusic 0;
  53. };
  54.  
  55. initialized = false;
  56. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";
  57. progressLoadingScreen 0.05;
  58. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
  59. progressLoadingScreen 0.1;
  60. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
  61. progressLoadingScreen 0.15;
  62. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
  63. progressLoadingScreen 0.2;
  64. call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
  65. progressLoadingScreen 0.25;
  66. initialized = true;
  67.  
  68. if (dayz_REsec == 1) then { call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf"; };
  69. execVM "\z\addons\dayz_code\system\DynamicWeatherEffects.sqf";
  70.  
  71. if (isServer) then {
  72. execVM "\z\addons\dayz_server\system\server_monitor.sqf";
  73. //Must be global spawned, So players dont fall thought buildings (might be best to spilt these to important, not important)
  74. };
  75.  
  76. if (dayz_POIs) then { execVM "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf"; };
  77.  
  78. if (!isDedicated) then {
  79. if (dayz_infectiousWaterholes) then { execVM "\z\addons\dayz_code\system\mission\chernarus\infectiousWaterholes\init.sqf"; };
  80. if (dayz_antihack != 0) then {
  81. execVM "\z\addons\dayz_code\system\mission\chernarus\security\init.sqf";
  82. call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\antihack.sqf";
  83. };
  84. if (dayz_enableRules) then { execVM "rules.sqf"; };
  85. if (!isNil "dayZ_serverName") then { execVM "\z\addons\dayz_code\system\watermark.sqf"; };
  86. execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";
  87. execFSM "\z\addons\dayz_code\system\player_monitor.fsm";
  88. waituntil {scriptDone progress_monitor};
  89. cutText ["","BLACK IN", 3];
  90. 3 fadeSound 1;
  91. 3 fadeMusic 1;
  92. endLoadingScreen;
  93. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement