init_server.sqf 6.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. [] call compileFinal preprocessFileLineNumbers "scripts\loadouts\init_loadouts.sqf";
  2. // AI
  3. add_civ_waypoints = compileFinal preprocessFileLineNumbers "scripts\server\ai\add_civ_waypoints.sqf";
  4. add_defense_waypoints = compileFinal preprocessFileLineNumbers "scripts\server\ai\add_defense_waypoints.sqf";
  5. battlegroup_ai = compileFinal preprocessFileLineNumbers "scripts\server\ai\battlegroup_ai.sqf";
  6. building_defence_ai = compileFinal preprocessFileLineNumbers "scripts\server\ai\building_defence_ai.sqf";
  7. csat_abandon_vehicle = compileFinal preprocessFileLineNumbers "scripts\server\ai\csat_abandon_vehicle.sqf";
  8. patrol_ai = compileFinal preprocessFileLineNumbers "scripts\server\ai\patrol_ai.sqf";
  9. prisonner_ai = compileFinal preprocessFileLineNumbers "scripts\server\ai\prisonner_ai.sqf";
  10. troup_transport = compileFinal preprocessFileLineNumbers "scripts\server\ai\troup_transport.sqf";
  11. // Battlegroup
  12. spawn_air = compileFinal preprocessFileLineNumbers "scripts\server\battlegroup\spawn_air.sqf";
  13. spawn_battlegroup = compileFinal preprocessFileLineNumbers "scripts\server\battlegroup\spawn_battlegroup.sqf";
  14. // Game
  15. check_victory_conditions = compileFinal preprocessFileLineNumbers "scripts\server\game\check_victory_conditions.sqf";
  16. // Patrol
  17. manage_one_civilian_patrol = compileFinal preprocessFileLineNumbers "scripts\server\patrols\manage_one_civilian_patrol.sqf";
  18. manage_one_patrol = compileFinal preprocessFileLineNumbers "scripts\server\patrols\manage_one_patrol.sqf";
  19. reinforcements_manager = compileFinal preprocessFileLineNumbers "scripts\server\patrols\reinforcements_manager.sqf";
  20. send_paratroopers = compileFinal preprocessFileLineNumbers "scripts\server\patrols\send_paratroopers.sqf";
  21. // Secondary objectives
  22. fob_hunting = compileFinal preprocessFileLineNumbers "scripts\server\secondary\fob_hunting.sqf";
  23. convoy_hijack = compileFinal preprocessFileLineNumbers "scripts\server\secondary\convoy_hijack.sqf";
  24. search_and_rescue = compileFinal preprocessFileLineNumbers "scripts\server\secondary\search_and_rescue.sqf";
  25. // Sector
  26. attack_in_progress_fob = compileFinal preprocessFileLineNumbers "scripts\server\sector\attack_in_progress_fob.sqf";
  27. attack_in_progress_sector = compileFinal preprocessFileLineNumbers "scripts\server\sector\attack_in_progress_sector.sqf";
  28. destroy_fob = compileFinal preprocessFileLineNumbers "scripts\server\sector\destroy_fob.sqf";
  29. ied_manager = compileFinal preprocessFileLineNumbers "scripts\server\sector\ied_manager.sqf";
  30. manage_captureboxes = compileFinal preprocessFileLineNumbers "scripts\server\sector\manage_captureboxes.sqf";
  31. manage_intel = compileFinal preprocessFileLineNumbers "scripts\server\sector\manage_intel.sqf";
  32. manage_one_sector = compileFinal preprocessFileLineNumbers "scripts\server\sector\manage_one_sector.sqf";
  33. wait_to_spawn_sector = compileFinal preprocessFileLineNumbers "scripts\server\sector\wait_to_spawn_sector.sqf";
  34. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\base\startgame.sqf";
  35. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\base\huron_manager.sqf";
  36. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\base\startvehicle_spawn.sqf";
  37. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\battlegroup\counter_battlegroup.sqf";
  38. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\battlegroup\random_battlegroups.sqf";
  39. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\battlegroup\readiness_increase.sqf";
  40. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\apply_default_permissions.sqf";
  41. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\apply_saved_scores.sqf";
  42. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\capture_vehicles.sqf";
  43. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\clean.sqf";
  44. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\cleanup_vehicles.sqf";
  45. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\fucking_set_fog.sqf";
  46. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\manage_time.sqf";
  47. if (!IA_liberation_ace) then {[] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\manage_weather.sqf";};
  48. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\periodic_save.sqf";
  49. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\playtime.sqf";
  50. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\save_manager.sqf";
  51. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\spawn_radio_towers.sqf";
  52. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\synchronise_vars.sqf";
  53. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\synchronise_eco.sqf";
  54. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\game\zeus_synchro.sqf";
  55. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\offloading\offload_calculation.sqf";
  56. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\offloading\offload_manager.sqf";
  57. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\offloading\show_fps.sqf";
  58. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\patrols\civilian_patrols.sqf";
  59. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\patrols\manage_patrols.sqf";
  60. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\patrols\reinforcements_resetter.sqf";
  61. if (IA_liberation_ailogistics) then {[] spawn compileFinal preprocessFileLineNumbers "scripts\server\resources\manage_logistics.sqf";};
  62. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\resources\manage_resources.sqf";
  63. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\resources\recalculate_resources.sqf";
  64. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\resources\recalculate_timer.sqf";
  65. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\resources\recalculate_timer_sector.sqf";
  66. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\resources\unit_cap.sqf";
  67. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\sector\lose_sectors.sqf";
  68. [] spawn compileFinal preprocessFileLineNumbers "scripts\server\sector\manage_sectors.sqf";
  69. {
  70. if ( (_x != player) && (_x distance (getmarkerpos GRLIB_respawn_marker) < 200 ) ) then {
  71. deleteVehicle _x;
  72. };
  73. } foreach allUnits;
  74. if (IA_liberation_debug) then {private _text = format ["[IA LIBERATION] [DEBUG] init_server.sqf done for: %1", (name player)];_text remoteExec ["diag_log",2];};