Advertisement
Guest User

Untitled

a guest
Jul 24th, 2014
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 6.04 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 = 1; // DEFAULT = 1 (ON shore)
  24. spawnArea= 1500; // DEFAULT = 1500
  25. MaxVehicleLimit = 1000; // DEFAULT = 50
  26. MaxDynamicDebris = 500; // DEFAULT = 100
  27. dayz_MapArea = 14000; // DEFAULT = 10000
  28. dayz_maxLocalZombies = 30; // DEFAULT = 30
  29. dayz_fullMoonNights = TRUE;
  30. DZE_vehicleAmmo = 1;
  31. DZE_R3F_WEIGHT = FALSE;
  32. dayz_paraSpawn = FALSE;
  33. dayz_minpos = -1;
  34. dayz_maxpos = 16000;
  35. dayz_sellDistance_vehicle = 50;
  36. dayz_sellDistance_boat = 50;
  37. dayz_sellDistance_air = 50;
  38. dayz_maxAnimals = 5; // DEFAULT: 8
  39. dayz_tameDogs = TRUE;
  40. DynamicVehicleDamageLow = 50; // DEFAULT: 0
  41. DynamicVehicleDamageHigh = 100; // DEFAULT: 100
  42. DynamicVehicleFuelLow = 25;
  43. DynamicVehicleFuelHigh = 100;
  44. DZE_requireplot = 0;
  45. dayz_fullMoonNights = TRUE;
  46. DZE_GodModeBase = TRUE;
  47. DZE_BuildingLimit = 1000;
  48. DZE_MissionLootTable = TRUE;
  49.  
  50. DZE_BuildOnRoads = FALSE; // DEFAULT: FALSE
  51.  
  52. DefaultMagazines = [
  53. "ItemBandage",
  54. "ItemBandage",
  55. "17Rnd_9x19_glock17",
  56. "17Rnd_9x19_glock17",
  57. "ItemMorphine",
  58. "ItemPainkiller",
  59. "FoodRabbitCooked",
  60. "FoodRabbitCooked",
  61. "ItemSodaCoke",
  62. "ItemSodaCoke"
  63. ];
  64. DefaultWeapons = [
  65. "glock17_EP1",
  66. "ItemCompass",
  67. "ItemMap",
  68. "ItemMachete"
  69. ];
  70. DefaultBackpack = "DZ_Assault_Pack_EP1";
  71. DefaultBackpackWeapon = "";
  72.  
  73. EpochEvents = [
  74. ["any","any","any","any",0,"crash_spawner"],
  75. ["any","any","any","any",5,"crash_spawner"],
  76. ["any","any","any","any",10,"crash_spawner"],
  77. ["any","any","any","any",15,"crash_spawner"],
  78. ["any","any","any","any",20,"crash_spawner"],
  79. ["any","any","any","any",25,"crash_spawner"],
  80. ["any","any","any","any",30,"crash_spawner"],
  81. ["any","any","any","any",35,"crash_spawner"],
  82. ["any","any","any","any",40,"crash_spawner"],
  83. ["any","any","any","any",10,"crash_spawner"],
  84. ["any","any","any","any",45,"crash_spawner"],
  85. ["any","any","any","any",50,"crash_spawner"],
  86. ["any","any","any","any",55,"crash_spawner"],
  87. ["any","any","any","any",0,"supply_drop"],
  88. ["any","any","any","any",5,"supply_drop"],
  89. ["any","any","any","any",10,"supply_drop"],
  90. ["any","any","any","any",15,"supply_drop"],
  91. ["any","any","any","any",20,"supply_drop"],
  92. ["any","any","any","any",25,"supply_drop"],
  93. ["any","any","any","any",30,"supply_drop"],
  94. ["any","any","any","any",35,"supply_drop"],
  95. ["any","any","any","any",40,"supply_drop"],
  96. ["any","any","any","any",45,"supply_drop"],
  97. ["any","any","any","any",50,"supply_drop"],
  98. ["any","any","any","any",55,"supply_drop"]
  99. ];
  100.  
  101.  
  102. //LOAD IN compiled functions
  103. CALL compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                //Initilize the VARIABLES (IMPORTANT: Must happen very early)
  104. progressLoadingScreen 0.1;
  105. CALL compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";             //Initilize the publicVariable event handlers
  106. progressLoadingScreen 0.2;
  107. CALL compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";   //Functions used BY CLIENT FOR medical
  108. progressLoadingScreen 0.4;
  109. CALL compile preprocessFileLineNumbers "compiles.sqf";
  110. progressLoadingScreen 0.5;
  111. CALL compile preprocessFileLineNumbers "server_traders.sqf";                //Compile trader configs
  112. progressLoadingScreen 1.0;
  113.  
  114. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  115.  
  116. IF (isServer) THEN {
  117.     CALL compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
  118.     //Compile vehicle configs
  119.    
  120.     // ADD trader citys
  121.     _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
  122.     _serverMonitor =    [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  123. };
  124.  
  125. endLoadingScreen; // WORK around FOR 2nd Log IN hang
  126. IF (!isDedicated) THEN {
  127.     [] execVM "TradeFromVehicle\init.sqf";
  128.     [] execVM "hotkeys.sqf";
  129.     //Conduct map operations
  130.     0 fadeSound 0;
  131.     waitUntil {!isNil "dayz_loadScreenMsg"};
  132.     dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  133.     execVM "service_point\service_point.sqf";
  134.    
  135.     //Run the player monitor
  136.     _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  137.     _playerMonitor =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"
  138.  
  139. // Epoch Admin Tools
  140. [] execVM "admintools\AdminList.sqf";
  141. IF ( !((getPlayerUID player) IN AdminList) && !((getPlayerUID player) IN ModList) && !((getPlayerUID player) IN tempList)) THEN
  142. {
  143.   [] execVM "\z\addons\dayz_code\system\antihack.sqf";
  144. };
  145. // Epoch Admin Tools
  146. [] execVM "admintools\AdminList.sqf";
  147.     //Lights
  148.     //[FALSE,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  149.    
  150. };
  151.  
  152. #include "\z\addons\dayz_code\system\REsec.sqf"
  153.  
  154. //START Dynamic Weather
  155. execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
  156.  
  157.  
  158. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
  159. endLoadingScreen; // WORK around FOR 2nd Log IN hang
  160.  
  161. //buildings
  162. [] execVM "buildings\balotar1.sqf";
  163. [] execVM "buildings\basebor.sqf";
  164. [] execVM "buildings\basedichina.sqf";
  165. [] execVM "buildings\basenovy.sqf";
  166. [] execVM "buildings\camp_rocket.sqf";
  167. [] execVM "buildings\cqz.sqf";
  168. [] execVM "buildings\fortstary.sqf";
  169. [] execVM "buildings\neaf.sqf";
  170. [] execVM "buildings\nwafbase.sqf";
  171. [] execVM "buildings\nwaffull.sqf";
  172. [] execVM "buildings\tikhaya.sqf";
  173. [] execVM "buildings\zeleno.sqf";
  174. [] execVM "buildings\excelsior.sqf";
  175. [] execVM "buildings\skalistybase.sqf";
  176.  
  177. //actionmenu
  178. [] execVM "ActionMenu\actionmenu_activate.sqf";
  179. //admintools
  180. [] execVM "admintools\Activate.sqf";
  181. //debug stuff
  182. //HotKey(F8)
  183. waituntil {!IsNull (findDisplay 46)};
  184. _SpecKeyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", loadFile "hotkeys.sqf"];
  185. //Debug Monitor
  186. [] execVM "custom_monitor.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement