Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 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 false;
  19. // May prevent "how are you civillian?" messages from NPC
  20. enableSentences false;
  21.  
  22. // DayZ Epoch config
  23. spawnShoremode = 0; // Default = 1 (on shore)
  24. spawnArea= 1500; // Default = 1500
  25.  
  26. MaxVehicleLimit = 20; // Default = 50
  27. MaxDynamicDebris = 100; // Default = 100
  28. dayz_MapArea = 14000; // Default = 10000
  29. dayz_maxLocalZombies = 30; // Default = 30
  30. dayz_maxGlobalZombiesInit = 60;
  31. DZE_PlayerZed = false;
  32. dayz_zedsAttackVehicles = false;
  33.  
  34. DZE_BackpackGuard = true;
  35.  
  36. DZE_ForceNameTagsOff = true;
  37. DZE_ForceNameTagsInTrader = true;
  38.  
  39. dayz_paraSpawn = false;
  40. DZE_HaloJump = true;
  41.  
  42. dayz_minpos = -1;
  43. dayz_maxpos = 16000;
  44.  
  45. DZE_GodModeBase = false;
  46. DZE_BuildingLimit = 150;
  47. DZE_StaticConstructionCount = 1;
  48. DZE_PlotPole = [50,75];
  49. DZE_R3F_WEIGHT = false;
  50.  
  51. DZE_PlotOwnership = false;
  52. DZE_APlotforLife = true;
  53.  
  54. dayz_sellDistance_vehicle = 10;
  55. dayz_sellDistance_boat = 30;
  56. dayz_sellDistance_air = 40;
  57.  
  58. dayz_maxAnimals = 5; // Default: 8
  59. dayz_tameDogs = true;
  60. DynamicVehicleDamageLow = 0; // Default: 0
  61. DynamicVehicleDamageHigh = 100; // Default: 100
  62.  
  63. DZE_BuildOnRoads = false; // Default: False
  64.  
  65. //VECTORS
  66. DZE_noRotate = []; //Objects that cannot be rotated. Ex: DZE_noRotate = ["ItemVault"] (NOTE: The objects magazine classname)
  67. DZE_vectorDegrees = [0.01, 0.1, 1, 5, 15, 45, 90];
  68. DZE_curDegree = 45; //Starting rotation angle. //Prefered any value in array above
  69. DZE_dirWithDegrees = true; //When rotating objects with Q&E, use the custom degrees
  70. //END OF VECTORS
  71.  
  72. EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
  73. dayz_fullMoonNights = true;
  74.  
  75. DZE_SelfTransfuse = true;
  76. DZE_selfTransfuse_Values = [12000, 10, 120];
  77.  
  78.  
  79. DZE_ConfigTrader = true;
  80. DZE_AsReMix_PLAYER_HUD = true; //Open Custom AsReMix Player HUD
  81.  
  82. //Load in compiled functions
  83. call compile preprocessFileLineNumbers "init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  84. call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\variables.sqf";
  85. progressLoadingScreen 0.1;
  86. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  87. call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\publicEH.sqf";
  88. progressLoadingScreen 0.2;
  89. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  90. progressLoadingScreen 0.4;
  91. call compile preprocessFileLineNumbers "init\compiles.sqf"; //Compile regular functions
  92. call compile preprocessFileLineNumbers "Custom\A_Plot_for_Life\init\compiles.sqf";
  93. progressLoadingScreen 0.5;
  94. call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
  95. progressLoadingScreen 1.0;
  96.  
  97. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  98.  
  99. if (isServer) then {
  100. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
  101. //Compile vehicle configs
  102.  
  103. // Add trader citys
  104. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
  105. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  106. _serverMonitor = [] execVM "custom\system\server_monitor.sqf";
  107. };
  108.  
  109.  
  110. if (!isDedicated) then {
  111. //Conduct map operations
  112. 0 fadeSound 0;
  113. waitUntil {!isNil "dayz_loadScreenMsg"};
  114. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  115.  
  116. //Run the player monitor
  117. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  118. _playerMonitor =[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  119. execVM "spawn\start.sqf";
  120. [] execVM "service_point\service_point.sqf";
  121.  
  122. if (DZE_AsReMix_PLAYER_HUD) then {
  123. execVM "addons\playerhud\playerHud.sqf"//AsReMix Player HUD
  124. };
  125.  
  126. //anti Hack
  127. //[] execVM "\z\addons\dayz_code\system\antihack.sqf";
  128.  
  129. //Lights
  130. //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  131.  
  132. ELE_StopClass = "MetalFloor_Preview_DZ";
  133. ELE_RequiredBuildTools = ["ItemToolbox", "ItemCrowbar"]; // required tools for building an elevator and elevator stop
  134. ELE_RequiredBuildItems = [["PartGeneric",4], "PartEngine", "ItemGenerator", "ItemJerrycan"]; // required items to build an elevator
  135. ELE_RequiredBuildStopItems = [["PartGeneric",4]]; // required items to build an elevator stop
  136. ELE_MaxRange = 100; // maximum range the elevator can travel / stop points can be built (in meter)
  137. ELE_Speed = 4; // speed of the elevator (meters per second)
  138. ELE_StopWaitTime = 0; // disable the wait time if you call the elevator
  139. ["elevator"] execVM "elevator\elevator_init.sqf";
  140. };
  141.  
  142. // Zupa - SC
  143. execVM "gold\init.sqf";
  144. execVM "gold\addbankmarkers.sqf";
  145. // END Zupa - SC
  146.  
  147. ///#include "\z\addons\dayz_code\system\REsec.sqf"
  148.  
  149. //Start Dynamic Weather
  150. execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
  151.  
  152. //Auto-Refuel
  153. //execVM "service_point\service_point.sqf";
  154.  
  155. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
  156.  
  157. [] ExecVM "\z\addons\dayz_server\WAI\init.sqf";
  158.  
  159. //Safezones
  160. [] execVM "AGN\agn_SafeZoneCommander.sqf";
  161. // Nox's Custom Loadout
  162. [] ExecVM "custom\loadouts.sqf";
  163. // Nox's Custom Action Menu
  164. [] execVM "actions\activate.sqf";
  165. // Nox's Tow and lift
  166. [] execVM "R3F_ARTY_AND_LOG\init.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement