Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 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 = 22; //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. //Customize Death Messages
  24. //Enables global chat messaging of player deaths. (Also requires enableRadio true;?) (Default: false)
  25. DZE_DeathMsgGlobal = true;
  26. //Enables side chat messaging of player deaths. (Also requires enableRadio true;?) (Default: false)
  27. DZE_DeathMsgSide = false;
  28. //Enables global title text messaging of player deaths. (Default: false)
  29. DZE_DeathMsgTitleText = true;
  30. // Plot Pole Radius
  31. DZE_PlotPole = [60,45];
  32. spawnShoremode = 1; // Default = 1 (on shore)
  33. spawnArea= 1500; // Default = 1500
  34.  
  35. MaxVehicleLimit = 500; // Default = 50
  36. MaxDynamicDebris = 80; // Default = 100
  37. dayz_MapArea = 12000; // Default = 10000
  38. dayz_maxLocalZombies = 75; // Default = 40
  39.  
  40. //Startgear
  41. DefaultMagazines = ["ItemBandage","ItemBandage","ItemPainkiller","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemSodaCoke","FoodCanBakedBeans"];
  42. DefaultWeapons = ["ItemMap","ItemCompass","ItemEtool","ItemToolbox","M9SD"];
  43. DefaultBackpack = "DZ_British_ACU";
  44.  
  45. dayz_paraSpawn = false;
  46.  
  47. dayz_sellDistance_vehicle = 10;
  48. dayz_sellDistance_boat = 30;
  49. dayz_sellDistance_air = 40;
  50.  
  51. dayz_maxAnimals = 5; // Default: 8
  52. dayz_tameDogs = true;
  53. DynamicVehicleDamageLow = 0; // Default: 0
  54. DynamicVehicleDamageHigh = 100; // Default: 100
  55.  
  56. DZE_BuildOnRoads = false; // Default: False
  57.  
  58. EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
  59. dayz_fullMoonNights = true;
  60.  
  61. //Load in compiled functions
  62. call compile preprocessFileLineNumbers "custom\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  63. progressLoadingScreen 0.1;
  64. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  65. progressLoadingScreen 0.2;
  66. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  67. progressLoadingScreen 0.4;
  68. call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile regular functions
  69. call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf";
  70. progressLoadingScreen 0.5;
  71. call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
  72. progressLoadingScreen 1.0;
  73.  
  74. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  75.  
  76. if (isServer) then {
  77. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_22.smd_sahrani_A2\dynamic_vehicle.sqf";
  78. //Compile vehicle configs
  79.  
  80. // Add trader citys
  81. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_22.smd_sahrani_A2\mission.sqf";
  82. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  83. };
  84.  
  85. if (!isDedicated) then {
  86. //Conduct map operations
  87. 0 fadeSound 0;
  88. waitUntil {!isNil "dayz_loadScreenMsg"};
  89. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  90.  
  91. //Run the player monitor
  92. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  93. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  94.  
  95.  
  96. //anti Hack
  97. [] execVM "\z\addons\dayz_code\system\antihack.sqf";
  98.  
  99. //Lights
  100. //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  101.  
  102. // Repair/Refuel
  103. execVM "service_point\service_point.sqf";
  104.  
  105. //debug monitor
  106. _nil = [] execVM "fixes\custom_monitor.sqf";
  107. };
  108. #include "\z\addons\dayz_code\system\REsec.sqf";
  109. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
  110. [] execVM "R3F_ARTY_AND_LOG\init.sqf"
  111. [] execVM "DynamicWeatherEffects.sqf"
  112. [] execVM "scripts\safezone.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement