Advertisement
Guest User

Ai locations

a guest
Apr 21st, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.34 KB | None | 0 0
  1. startLoadingScreen ["","DayZ_loadingScreen"];
  2. enableSaving [false, false];
  3.  
  4. dayZ_instance = 1641; //The instance
  5. hiveInUse = true;
  6. initialized = false;
  7. dayz_previousID = 0;
  8.  
  9. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  10. call compile preprocessFileLineNumbers "scripts\fixes\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
  11. // (Taviana) Override some of the variables:
  12. call compile preprocessFileLineNumbers "\kh\dayztaviana\init\variables.sqf";
  13.  
  14. // Load in the settings compiles:
  15. call compile preprocessFileLineNumbers "\kh\dayztaviana\settingsinit\kh_compiles.sqf";
  16.  
  17. diag_log "Started executing user settings file.";
  18. call compile preprocessFileLineNumbers "settings.sqf";
  19. diag_log "Finished executing user settings file.";
  20.  
  21. progressLoadingScreen 0.1;
  22. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
  23. progressLoadingScreen 0.2;
  24. call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
  25. progressLoadingScreen 0.4;
  26.  
  27. // (Taviana) Don't call the regular compile:
  28. // call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
  29.  
  30. // (Taviana) Instead, call a copy of the DayZ 1.7.4.4 compiles:
  31. call compile preprocessFileLineNumbers "\kh\dayztaviana\init\compiles.sqf"; //Compile regular functions
  32.  
  33. // (Taviana) Set up the for maule multiplayer prop hit support:
  34. call compile preprocessFileLineNumbers "\khr\maule\scripts\maule_init.sqf";
  35.  
  36. /*
  37. The Bliss package system works a bit like sticking your arm in a bunch
  38. of snake nests and noticing you don't always get bitten. In this case
  39. we got bitten; this line is to fool the merge process:
  40.  
  41. call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
  42. */
  43.  
  44. progressLoadingScreen 1.0;
  45.  
  46. player setVariable ["BIS_noCoreConversations", true];
  47. enableRadio false;
  48.  
  49. "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  50. player_spawn_2 = compile preprocessFileLineNumbers "scripts\fixes\player_spawn_2.sqf";
  51. if (isServer) then {
  52. hiveInUse = true;
  53. _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
  54. };
  55.  
  56. zombie_generate = compile preprocessFileLineNumbers "scripts\zombie_generate.sqf";
  57. if (isServer) then {
  58. // For settings involving the factions, go to scripts\add_unit_server.sqf and adjust the settings at the top of the file
  59. _factions = [] execVM "scripts\set_unit_faction.sqf";
  60. //_aispawnpos - Worldspace location
  61. //_wpradius - Distance you want units to be able to travel
  62. //_wpnum - Number of waypoints to place withing that distance. The higher the number, the more extensively the units will travel
  63. //_numunits - Number of units to place. Keep in mind that squads will be placed in multiples of this number
  64. //_unitType - Type of unit to place. 0: Random, 1: Sniper, 2: Gunner, 3: Militia, 4: Squad of the previous 3 types
  65. //_faction - The type of faction you want this unit to adhere to. 0: RESISTANCE, 1: EAST, 2: WEST. Factions loyalties are set in scripts\set_unit_faction.sqf
  66. //_baseSkill - Lowest possible skill that the units can posess from 1 to 10
  67. //_potentialSkill - Highes possible skill that the units can posess from 1 to 10
  68. //_gearSet - Which set of gear your units will use. To set the types of gear, edit the variables at the top of scripts\add_units_server.sqf
  69. //_respawnTime - How long to wait until NPCs respawn (in seconds)
  70. _aispawn = [[12408.236,13353.434,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  71. _aispawn = [[12418.674,13440.823,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  72. _aispawn = [[12483.329,13465.028,4.2913513],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  73. _aispawn = [[12510.312,13345.025,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  74. _aispawn = [[11489.206,15895.752,0.0070037842],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  75. _aispawn = [[11496.871,15909.326,0.0070037842],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  76. _aispawn = [[11470.928,15909.326,0.0070037842],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  77. _aispawn = [[16604.719,10684.015,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  78. _aispawn = [[16584.438,10668.79,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  79. _aispawn = [[16619.088,10648.486,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  80. _aispawn = [[16285.271,7367.8652,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  81. _aispawn = [[16215.338,7396.6875,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  82. _aispawn = [[16248.248,7455.1558,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  83. _aispawn = [[16230.146,7338.2202,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  84. _aispawn = [[7438.604,8076.5898,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  85. _aispawn = [[7441.4458,8084.0562,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  86. _aispawn = [[7433.0986,8072.856,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  87. _aispawn = [[7417.1152,8094.5435,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  88. _aispawn = [[7974.5337,5401.001,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  89. _aispawn = [[7965.8789,5376.0313,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  90. _aispawn = [[7971.7339,5389.7891,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
  91. };
  92.  
  93. if (!isDedicated) then {
  94. 0 fadeSound 0;
  95. 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
  96. _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
  97. _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
  98. _nul = [] execVM "addin\plrInit.sqf";
  99. };
  100.  
  101. // Extra actions for Taviana:
  102. if (!isDedicated) then {
  103. [] execVM "kh_actions.sqf";
  104. };
  105.  
  106. //R3F Towing and Lifting
  107. [] execVM "R3F_ARTY_AND_LOG\init.sqf"
  108.  
  109. //BTK Cargo Drop
  110. execVM "BTK\Cargo Drop\Start.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement