Advertisement
Guest User

my init.sqf

a guest
Jan 13th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. dayz_antihack = 0;
  2. dayz_REsec = 0;
  3. startLoadingScreen ["","RscDisplayLoadCustom"];
  4. cutText ["","BLACK OUT"];
  5. enableSaving [false, false];
  6.  
  7. //REALLY IMPORTANT VALUES
  8. dayZ_instance = 13; //The instance
  9. dayzHiveRequest = [];
  10. initialized = false;
  11. dayz_previousID = 0;
  12.  
  13. //disable greeting menu
  14. player setVariable ["BIS_noCoreConversations", true];
  15. //disable radio messages to be heard and shown in the left lower corner of the screen
  16. enableRadio false;
  17. // May prevent "how are you civillian?" messages from NPC
  18. enableSentences false;
  19.  
  20. // DayZ Epoch config
  21. DZE_ConfigTrader = true;
  22. DZE_MissionLootTable = true;
  23. spawnShoremode = 1; // Default = 1 (on shore)
  24. spawnArea = 2500; // Default = 1500
  25.  
  26. MaxVehicleLimit = 400; // Default = 50
  27. MaxDynamicDebris = 700; // Default = 100
  28. dayz_MapArea = 20000; // Default = 10000
  29.  
  30. EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];
  31. dayz_fullMoonNights = true;
  32.  
  33. dayz_minpos = -26000;
  34. dayz_maxpos = 26000;
  35.  
  36. dayz_sellDistance_vehicle = 10;
  37. dayz_sellDistance_boat = 30;
  38. dayz_sellDistance_air = 40;
  39.  
  40. dayz_paraSpawn = false;
  41.  
  42. dayz_maxAnimals = 5; // Default: 8
  43. dayz_tameDogs = true;
  44. DynamicVehicleDamageLow = 0; // Default: 0
  45. DynamicVehicleDamageHigh = 100; // Default: 100
  46.  
  47. DZE_BuildOnRoads = false; // Default: False
  48.  
  49. // DZEdebug = true;
  50.  
  51. //Load in compiled functions
  52. call compile preprocessFileLineNumbers "custom\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  53. progressLoadingScreen 0.1;
  54. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  55. progressLoadingScreen 0.2;
  56. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  57. progressLoadingScreen 0.4;
  58. call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile regular functions
  59. progressLoadingScreen 0.5;
  60. call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
  61. progressLoadingScreen 1.0;
  62.  
  63. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  64.  
  65. if (isServer) then {
  66. call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_13.Tavi\dynamic_vehicle.sqf"; //Compile vehicle configs
  67.  
  68. // Add trader citys
  69. _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_13.Tavi\mission.sqf";
  70. _serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  71. };
  72.  
  73. if (!isDedicated) then {
  74. //Conduct map operations
  75. 0 fadeSound 0;
  76. waitUntil {!isNil "dayz_loadScreenMsg"};
  77. dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  78.  
  79. //Run the player monitor
  80. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
  81. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  82. execVM "dzgm\init.sqf";
  83. execVM "dzgm\loadGroupManagement.sqf";
  84.  
  85.  
  86. //Lights
  87. //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
  88. };
  89.  
  90. //Start Dynamic Weather
  91. execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";
  92.  
  93. #include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement