Advertisement
Guest User

init.sqf

a guest
Apr 7th, 2015
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.69 KB | None | 0 0
  1. startLoadingScreen ["","RscDisplayLoadCustom"];
  2. cutText ["","BLACK OUT"];
  3. enableSaving [false, false];
  4.  
  5. // --------------------------------
  6. DZE_PlotOwnership = true;
  7. DZE_APlotforLife = true;
  8. DZE_modularBuild = true;
  9. // --------------------------------
  10.  
  11. dayZ_instance = 11;
  12. dayzHiveRequest = [];
  13. initialized = false;
  14. dayz_previousID = 0;
  15.  
  16. player setVariable ["BIS_noCoreConversations", true];
  17.  
  18. enableRadio false;
  19. enableSentences false;
  20.  
  21. spawnShoremode = 1; // Default = 1 (on shore)
  22. spawnArea= 10000; // Default = 1500
  23. MaxMineVeins = 4; // Amount of Veins to spawn
  24. MaxAmmoBoxes = 3; //Amount of amnmo boxes
  25. MaxVehicleLimit = 6; // Default = 50
  26. MaxDynamicDebris = 0; //Default 0
  27. dayz_MapArea = 12500; // Default = 10000
  28. dayz_maxLocalZombies = 12; // Default = 30
  29. DZE_ForceNameTagsOff = true;
  30. DZE_selfTransfuse_Values = [12000, 15, 300]; //Self Transfuse Value
  31. dayz_paraSpawn = false;
  32. dayz_minpos = -1;
  33. dayz_maxpos = 16000;
  34. dayz_sellDistance_vehicle = 10;
  35. dayz_sellDistance_boat = 30;
  36. dayz_sellDistance_air = 40;
  37. dayz_maxAnimals = 5; // Default: 8
  38. dayz_fullMoonNights = false;
  39. dayz_tameDogs = false;
  40. DynamicVehicleDamageLow = 0; // Default: 0
  41. DynamicVehicleDamageHigh = 100; // Default: 100
  42. DZE_GodModeBase = true; //unbreakable bases
  43. DZE_BuildOnRoads = false; // Default: False
  44. DZE_noRotate = []; //Objects that cannot be rotated. Ex: DZE_noRotate = ["ItemVault"] (NOTE: The objects magazine classname)
  45. DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90];
  46. DZE_curDegree = 45; //Starting rotation angle. //Prefered any value in array above
  47. DZE_dirWithDegrees = true; //When rotating objects with Q&E, use the custom degrees
  48. DZE_PlotPole = [50,60]; //plot pole radius, exclusion zone
  49. dayz_poleSafeArea = 50; // Default = 30m, the buildable distance
  50. DZE_vehicleAmmo = 0; //Deletes ammo in vehicle every restart
  51. DZE_R3F_WEIGHT = false; //remove weight system
  52. DZE_ConfigTrader = true; //SQF Files as traders
  53. DZE_AsReMix_PLAYER_HUD = true;
  54. //DZE_MissionLootTable = false; //Mission Loot Tables
  55.  
  56. EpochEvents = [["any","any","any","any",30,"abandonedvault"],["any","any","any","any",34,"flybye"],["any","any","any","any",30,"crash_spawner"]];
  57.  
  58. call compile preprocessFileLineNumbers "Scripts\Variables\Variables.sqf";
  59. progressLoadingScreen 0.1;
  60. call compile preprocessFileLineNumbers "custom\publicEH.sqf"; //Initilize the publicVariable event handlers - PLOT4LIFE
  61. progressLoadingScreen 0.2;
  62. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";
  63. progressLoadingScreen 0.4;
  64. call compile preprocessFileLineNumbers "Scripts\Server_Compile\compiles.sqf"; //Compiles Files
  65. call compile preprocessFileLineNumbers "addons\bike\init.sqf"; //Deploy anything script
  66. call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Custom Compiles File
  67. progressLoadingScreen 0.5;
  68. call compile preprocessFileLineNumbers "Scripts\Server_Traders\server_traders.sqf";
  69. progressLoadingScreen 1.0;
  70.  
  71. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  72.  
  73. if (isServer) then {
  74. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
  75. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
  76. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  77. };
  78.  
  79. if (!isDedicated) then {
  80. 0 fadeSound 0;
  81. waitUntil {!isNil "dayz_loadScreenMsg"};
  82. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  83. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  84. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  85. if (DZE_AsReMix_PLAYER_HUD) then {
  86. execVM "Scripts\Player_Hud\playerHud.sqf"
  87. };
  88. execVM "Scripts\Server_WelcomeCredits.sqf"; //Server Welcome Message Credits
  89. execVM "Scripts\service_point\service_point.sqf"; //Repair, Refuel and Rearm with Single Coin Currency
  90. execVM "spawn\start.sqf"; //Select Spawn Script
  91. execVM "dzgm\init.sqf"; //DayZ Group Management System
  92. };
  93.  
  94. //custom map markers
  95. [] execVM "Scripts\Markers.sqf";
  96.  
  97. //Custom Dynamic weather - No Rain - No fog
  98. execVM "custom\DynamicWeatherEffects.sqf";
  99.  
  100. //Gold Coins System
  101. execVM "Scripts\Gold_Coin_system\init.sqf";
  102.  
  103. //infistar custom scripts
  104. [] execVM 'infistar\SafeZone.sqf'; //Infistar SafeZone Script
  105. [] execVM 'infistar\DeleteBikes.sqf'; //Delete Abandoned Bikes
  106.  
  107. //safezone area around plotpoles zombies
  108. [] execVM 'Scripts\base_SafeArea.sqf'; //Safe Area for zombies around plot pole
  109.  
  110. //Reward Loyalty system
  111. execVM "Scripts\Gold_Coin_system\fn_rewardLoyalty.sqf"
  112.  
  113. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement