Advertisement
aleaallee

Dayz epoch sheeps repack

Feb 23rd, 2014
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.17 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.  
  6. danceParty = true;
  7. Churches = true;
  8. Menu = true;
  9. Safezones = true;
  10. AutoRefuel = true;
  11. SectorFNG = true;
  12. NoSideVoice = true;
  13. Debug = true;
  14.  
  15. startLoadingScreen ["","RscDisplayLoadCustom"];
  16. cutText ["","BLACK OUT"];
  17. enableSaving [false, false];
  18.  
  19. //REALLY IMPORTANT VALUES
  20. dayZ_instance = 11; //The instance
  21. dayzHiveRequest = [];
  22. initialized = false;
  23. dayZ_serverName = "";
  24. dayz_previousID = 0;
  25.  
  26. //disable greeting menu
  27. player setVariable ["BIS_noCoreConversations", true];
  28. //disable radio messages to be heard and shown in the left lower corner of the screen
  29. enableRadio true;
  30. // May prevent "how are you civillian?" messages from NPC
  31. enableSentences false;
  32.  
  33. // DayZ Epoch config
  34. spawnShoremode = 1; // Default = 1 (on shore)
  35. spawnArea= 1500; // Default = 1500
  36. MaxHeliCrashes= 40; // Default = 5
  37. MaxVehicleLimit = 1000; // Default = 50
  38. MaxMineVeins = 2000;
  39. MaxDynamicDebris = 50; // Default = 100
  40. dayz_MapArea = 14000; // Default = 10000
  41. dayz_maxLocalZombies = 30; // Default = 30
  42.  
  43. //default loadout
  44. DefaultMagazines = ["ItemBandage","ItemBandage","10Rnd_127x99_m107","ItemPainkiller"];
  45. DefaultWeapons = ["m107_DZ"];
  46. DefaultBackpack = "DZ_Patrol_Pack_EP1";
  47.  
  48. dayz_zedsAttackVehicles = false;
  49. DZE_DeathMsgGlobal = true;
  50. DZE_DeathMsgTitleText = true;
  51. DZE_requireplot = 0;
  52.  
  53. DZE_BuildingLimit = 1000;
  54. DZE_BackpackGuard = false;
  55. //parachute spawn
  56. dayz_paraSpawn = false;
  57.  
  58. dayz_minpos = 0;
  59. dayz_maxpos = 16000;
  60.  
  61. dayz_sellDistance_vehicle = 10;
  62. dayz_sellDistance_boat = 30;
  63. dayz_sellDistance_air = 40;
  64.  
  65. dayz_maxAnimals = 8; // Default: 8
  66. dayz_tameDogs = false;
  67. DynamicVehicleDamageLow = 40; // Default: 0
  68. DynamicVehicleDamageHigh = 90; // Default: 100
  69. DynamicVehicleFuelLow = 0;
  70. DynamicVehicleFuelHigh = 80;
  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. //Load in compiled functions
  76. call compile preprocessFileLineNumbers "fixes\system\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  77. progressLoadingScreen 0.1;
  78. call compile preprocessFileLineNumbers "custom\JAEM\variables.sqf";
  79. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  80. progressLoadingScreen 0.3;
  81. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  82. progressLoadingScreen 0.4;
  83. call compile preprocessFileLineNumbers "fixes\system\compiles.sqf"; //Compile regular functions
  84. progressLoadingScreen 0.5;
  85. //basebuild
  86. call compile preprocessFileLineNumbers "dayz_code\init\settings.sqf"; //Initialize custom clientside settings
  87. call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
  88. progressLoadingScreen 1.0;
  89.  
  90. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  91.  
  92. dayz_spaceInterrupt = compile preprocessFileLineNumbers "scripts\actions\dayz_spaceInterrupt.sqf";
  93.  
  94. if (isServer) then {
  95.  
  96. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
  97. //Compile vehicle configs
  98.  
  99. // Add trader citys
  100. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
  101. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  102.  
  103. //Bus Route
  104. [true] execVM "scripts\init_bus.sqf";//TODO -- Second bus route to trader cites
  105. };
  106.  
  107. if (!isDedicated) then {
  108. //Conduct map operations
  109. 0 fadeSound 0;
  110. waitUntil {!isNil "dayz_loadScreenMsg"};
  111. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  112.  
  113. //Run the player monitor
  114. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  115. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  116. //Master Key
  117. _nil = [] execVM "fixes\vehiclefunctions.sqf";
  118. //Evac Chopper
  119. _nil = [] execVM "custom\JAEM\EvacChopper_init.sqf";
  120. //anti Hack
  121. //[] execVM "\z\addons\dayz_code\system\antihack.sqf";
  122. //Lights
  123. //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  124.  
  125. //Bus Route
  126. [] execVM "scripts\player_axeBus.sqf";//TODO -- Second bus route to trader cites
  127. //Debug monitor
  128. if(Debug)then{
  129. [] execVM "scripts\debug_monitor\debug_monitor.sqf";
  130. };
  131. snowchance = 50; //5% chance to snow on server start/restart
  132. if (isServer) then {
  133. if((random 100) < snowchance)then{
  134. [] execVM "fixes\snow.sqf"; //TODO- add random to snow and fog variables / make server side
  135. };
  136. };
  137. };
  138.  
  139. #include "\z\addons\dayz_code\system\REsec.sqf"
  140.  
  141. //Start Dynamic Weather
  142. execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
  143.  
  144.  
  145. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
  146.  
  147. //Start Admin Tools
  148. [] execVM "admintools\Activate.sqf";
  149.  
  150.  
  151. //fix for spacebar interupt
  152. if(Menu)then{
  153. [] execVM "admintools\Activate.sqf";
  154. };
  155.  
  156. if(Safezones)then{
  157. [] execVM "fixes\agn_SafeZoneCommander.sqf";
  158. };
  159.  
  160. if(AutoRefuel)then{
  161. [] execVM 'Scripts\kh_actions.sqf';
  162. };
  163.  
  164. if(SectorFNG)then{
  165. [] execVM "fixes\marker.sqf";
  166. [] execVM "fixes\crates.sqf";
  167. };
  168.  
  169. if(NoSideVoice)then{
  170. [] execVM "fixes\nosidechat.sqf";
  171. };
  172.  
  173.  
  174.  
  175. //Fast Roping
  176. sleep 1;
  177. _fast_rope = [] execVM "Scripts\BTC_fast_roping_init.sqf";
  178.  
  179.  
  180. // Mission System Markers
  181. [] execVM "debug\addmarkers.sqf";
  182. [] execVM "debug\addmarkers75.sqf";
  183.  
  184. //Lift und Tow
  185. [] execVM "R3F_ARTY_AND_LOG\init.sqf";
  186.  
  187. //Sarge
  188. call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";
  189. call compile preprocessFileLineNumbers "addons\SHK_pos\shk_pos_init.sqf";
  190. [] execVM "addons\SARGE\SAR_AI_init.sqf";
  191.  
  192. if (!isNil "dayZ_serverName") then {
  193. [] spawn {
  194. waitUntil {(!isNull Player) and (alive Player) and (player == player)};
  195. waituntil {!(isNull (findDisplay 46))};
  196. 5 cutRsc ["wm_disp","PLAIN"];
  197. ((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
  198. };
  199. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement