Advertisement
Guest User

Untitled

a guest
Oct 6th, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 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. DZE_SelfTransfuse = true;
  24. DZE_selfTransfuse_Values = [12000, 10, 120];
  25. dayz_maxZeds = 300;
  26. DZE_requireplot = 0;
  27. DZE_vehicleAmmo = 1;
  28. DZE_BackpackGuard = true;
  29. DZE_DeathMsgGlobal = true;
  30. DZE_ForceNameTags = true;
  31. DZE_ForceNameTagsInTrader = true;
  32. DZE_HaloJump = true;
  33. DZE_R3F_WEIGHT = false;
  34. MaxDynamicDebris = 0;
  35. MaxMineVeins = 550;
  36. DZE_PlayerZed = false;
  37.  
  38. spawnShoremode = 1; // Default = 1 (on shore)
  39. spawnArea= 1500; // Default = 1500
  40.  
  41. MaxVehicleLimit = 300; // Default = 50
  42. MaxDynamicDebris = 500; // Default = 100
  43. dayz_MapArea = 14000; // Default = 10000
  44. dayz_maxLocalZombies = 10; // Default = 30
  45.  
  46. dayz_paraSpawn = false;
  47.  
  48. dayz_minpos = -1;
  49. dayz_maxpos = 16000;
  50.  
  51. dayz_sellDistance_vehicle = 10;
  52. dayz_sellDistance_boat = 30;
  53. dayz_sellDistance_air = 60;
  54.  
  55. dayz_maxAnimals = 10; // Default: 8
  56. dayz_tameDogs = false;
  57. DynamicVehicleDamageLow = 0; // Default: 0
  58. DynamicVehicleDamageHigh = 100; // Default: 100
  59.  
  60. DZE_BuildOnRoads = true; // Default: False
  61.  
  62. EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
  63. dayz_fullMoonNights = true;
  64.  
  65. //Load in compiled functions
  66. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  67. progressLoadingScreen 0.1;
  68. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  69. progressLoadingScreen 0.2;
  70. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  71. progressLoadingScreen 0.4;
  72. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
  73. call compile preprocessFileLineNumbers "addons\bike\init.sqf"; //compile deploy bike script
  74. progressLoadingScreen 0.5;
  75. call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
  76. progressLoadingScreen 1.0;
  77. //ADDED AND CUSTOM COMPILES GO AFTER THIS
  78. call compile preprocessFileLineNumbers "addons\suicide\init.sqf"; //compile suicide script
  79. progressLoadingScreen 1.0;
  80.  
  81.  
  82. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  83.  
  84. if (isServer) then {
  85. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
  86. //Compile vehicle configs
  87.  
  88. // Add trader citys
  89. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
  90. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  91. };
  92.  
  93. if (!isDedicated) then {
  94. //Conduct map operations
  95. 0 fadeSound 0;
  96. waitUntil {!isNil "dayz_loadScreenMsg"};
  97. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  98.  
  99. //Run the player monitor
  100. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  101. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  102.  
  103. //anti Hack
  104. [] execVM "\z\addons\dayz_code\system\antihack.sqf";
  105.  
  106. //Lights
  107. //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  108.  
  109. };
  110.  
  111. #include "\z\addons\dayz_code\system\REsec.sqf"
  112.  
  113. //Start Dynamic Weather
  114. execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
  115.  
  116.  
  117. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
  118.  
  119. //Default Loadout
  120. DefaultMagazines = ["ItemBandage","ItemPainkiller","ItemBandage","ItemBandage","ItemMorphine","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17"];
  121. DefaultWeapons = ["ItemFlashlight","ItemToolbox","ItemCrowbar","MeleeHatchet_DZE","ItemKnife","ItemMatchbox","ItemMap","glock17_EP1","ItemCompass"];
  122. DefaultBackpack = "DZ_TerminalPack_EP1";
  123. DefaultBackpackWeapon = "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement