Advertisement
Guest User

Untitled

a guest
Jul 6th, 2014
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. /*
  2. For DayZ Epoch
  3. Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
  4. */
  5. startLoadingScreen ["","RscDisplayLoadCustom"];
  6. cutText ["","BLACK OUT"];
  7. enableSaving [false, false];
  8.  
  9. //REALLY IMPORTANT VALUES
  10. dayZ_instance = 11; //The instance
  11. dayzHiveRequest = [];
  12. initialized = false;
  13. dayz_previousID = 0;
  14.  
  15. //disable greeting menu
  16. player setVariable ["BIS_noCoreConversations", true];
  17. //disable radio messages to be heard and shown in the left lower corner of the screen
  18. enableRadio true;
  19. // May prevent "how are you civillian?" messages from NPC
  20. enableSentences true;
  21.  
  22. // DayZ Epoch config
  23. spawnShoremode = 0; // Default = 1 (on shore)
  24. spawnArea= 1500; // Default = 1500
  25.  
  26. MaxVehicleLimit = 300; // Default = 50
  27. MaxDynamicDebris = 300; // Default = 100
  28. dayz_MapArea = 14000; // Default = 10000
  29. //Max number of zombies spawned per player.
  30. dayz_maxLocalZombies = 10; // Default = 30
  31.  
  32. dayz_paraSpawn = true;
  33. //-------------------------------Ron ad start
  34. OldHeliCrash = true;
  35. DynamicVehicleFuelLow = 20;
  36. //Starting global max zombie count, this will increase for each player within 400m (Default: 40)
  37. dayz_maxGlobalZombiesInit = 10;
  38. //This is the amount of global zombie limit increase per player within 400m (Default: 10)
  39. dayz_maxGlobalZombiesIncrease = 10;
  40. //Total zombie limit (Default: 500)
  41. dayz_maxZeds = 100;
  42. //Disables zombies attacking vehicles.
  43. dayz_zedsAttackVehicles = false;
  44. //true will enable debug so that road debris and new vehicle spawns are visible via map markers.
  45. //Also debug will enable "Save to arma.RPT" that allows access of a tool to obtain lootpos information for buildings used for adding support for additional maps.
  46. DZEdebug = true;
  47. //Server admins can now change default fresh spawn loadout by adding these variables to the mission init.sqf.
  48. DefaultMagazines = ["ItemBandage","ItemPainkiller"];
  49. DefaultWeapons = ["ItemFlashlight"];
  50. DefaultBackpack = "";
  51. DefaultBackpackWeapon = "";
  52. //Non destructable bases
  53. DZE_GodModeBase = true;
  54. //DZE_requireplot override variable added
  55. DZE_requireplot = 0;
  56. //DZE_R3F_WEIGHT = true or false
  57. DZE_R3F_WEIGHT = true;
  58. //Steps to build. Default: 3
  59. DZE_StaticConstructionCount = 1;
  60.  
  61. //-------------------------------Ron ad stop
  62. dayz_minpos = -1;
  63. dayz_maxpos = 16000;
  64.  
  65. dayz_sellDistance_vehicle = 20;
  66. dayz_sellDistance_boat = 30;
  67. dayz_sellDistance_air = 70;
  68.  
  69. dayz_maxAnimals = 5; // Default: 8
  70. dayz_tameDogs = true;
  71. DynamicVehicleDamageLow = 20; // Default: 0
  72. DynamicVehicleDamageHigh = 100; // Default: 100
  73.  
  74. DZE_BuildOnRoads = true; // Default: False
  75.  
  76. EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
  77. dayz_fullMoonNights = true;
  78.  
  79. //Load in compiled functions
  80. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  81. progressLoadingScreen 0.1;
  82. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  83. progressLoadingScreen 0.2;
  84. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  85. progressLoadingScreen 0.4;
  86. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
  87. progressLoadingScreen 0.5;
  88. call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
  89. progressLoadingScreen 1.0;
  90.  
  91. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  92.  
  93. if (isServer) then {
  94. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
  95. //Compile vehicle configs
  96.  
  97. // Add trader citys
  98. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
  99. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  100. };
  101.  
  102. if (!isDedicated) then {
  103. //Conduct map operations
  104. 0 fadeSound 0;
  105. waitUntil {!isNil "dayz_loadScreenMsg"};
  106. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  107.  
  108. //Run the player monitor
  109. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  110. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  111.  
  112. //-------------------------------Ron ad start replace
  113. //anti Hack
  114. //[] execVM "\z\addons\dayz_code\system\antihack.sqf";
  115. //---------------------------------------
  116. // Epoch Admin Tools
  117. [] execVM "admintools\AdminList.sqf";
  118. if ( !((getPlayerUID player) in AdminList) && !((getPlayerUID player) in ModList) && !((getPlayerUID player) in tempList)) then
  119. {
  120. [] execVM "\z\addons\dayz_code\system\antihack.sqf";
  121. };
  122. //-------------------------------Ron ad stop replace
  123.  
  124. //Lights
  125. //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  126.  
  127. };
  128.  
  129. #include "\z\addons\dayz_code\system\REsec.sqf"
  130.  
  131. //Start Dynamic Weather
  132. execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
  133.  
  134.  
  135. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
  136.  
  137. //-------------------------------Ron ad start
  138. // Epoch Admin Tools
  139. [] execVM "admintools\Activate.sqf";
  140. //-------------------------------Ron ad stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement