customCisVsClone.sqf 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. // If you want more modifications to be supported by this file, let's discuss it on the forums.
  2. // No required mods.
  3. // RHS USAF, BWMod, F-15C, F/A-18 are optional (just load the mods on server & client).
  4. // Apex & Jets DLC are also included but not required (required only to drive/pilot anything from each DLC inc/ the Tanoa map).
  5. /* - Support classnames.
  6. Each of these should be unique, the same classnames for different purposes may cause various unpredictable issues with player actions. Or not, just don't try! */
  7. FOB_typename = "land_ContMining_open"; // This is the main FOB HQ building. Default is "Land_Cargo_HQ_V1_F".
  8. FOB_box_typename = "B_Slingload_01_Cargo_F"; // This is the FOB as a container. Default is "B_Slingload_01_Cargo_F".
  9. FOB_truck_typename = "B_Truck_01_box_F"; // This is the FOB as a vehicle. Default is "B_Truck_01_box_F".
  10. Arsenal_typename = "B_supplyCrate_F"; // This is the virtual arsenal as portable supply crates. Default is "B_supplyCrate_F".
  11. Respawn_truck_typename = "B_Truck_01_medical_F"; // This is the mobile respawn (and medical) truck. Default is "B_Truck_01_medical_F".
  12. huron_typename = "swop_LAAT_cargo"; // This is Spartan 01, a multipurpose mobile respawn as a helicopter. Default is "B_Heli_Transport_03_unarmed_F".
  13. opfor_ammobox_transport = "O_Truck_03_transport_F"; // Make sure this thing can transport ammo boxes (see box_transport_config in IA_liberation_config.sqf) otherwise things will break! Default is "O_Truck_03_transport_F".
  14. crewman_classname = "SWOP_CIS_droid_guard"; // This defines the crew for vehicles. Default is "B_crew_F".
  15. pilot_classname = "SWOP_CIS_droid_pilot"; // This defines the pilot for helicopters. Default is "B_Helipilot_F".
  16. IA_liberation_little_bird_classname = "swop_HMP_droidgunship_transport"; // These are the little birds which spawn on the Freedom or at Chimera base. Default is "B_Heli_Light_01_F".
  17. IA_liberation_boat_classname = "B_Boat_Transport_01_F"; // These are the boats which spawn at the stern of the Freedom. Default is "B_Boat_Transport_01_F".
  18. IA_liberation_small_storage_building = "ContainmentArea_02_sand_F"; // A small storage area for resources. Default is "ContainmentArea_02_sand_F".
  19. IA_liberation_large_storage_building = "ContainmentArea_01_sand_F"; // A large storage area for resources. Default is "ContainmentArea_01_sand_F".
  20. IA_liberation_recycle_building = "land_SW_K2SO"; // The building defined to unlock FOB recycling functionality. Default is "Land_CarService_F".
  21. IA_liberation_air_vehicle_building = "Land_Mining_drill"; // The building defined to unlock FOB air vehicle functionality. Default is "Land_Radar_Small_F".
  22. IA_liberation_heli_slot_building = "Land_HelipadSquare_F"; // The helipad used to increase the GLOBAL rotary-wing cap. Default is "Land_HelipadSquare_F".
  23. IA_liberation_plane_slot_building = "Land_TentHangar_V1_F"; // The hangar used to increase the GLOBAL fixed-wing cap. Default is "Land_TentHangar_V1_F".
  24. IA_liberation_supply_crate = "CargoNet_01_box_F"; // This defines the supply crates, as in resources. Default is "CargoNet_01_box_F".
  25. IA_liberation_ammo_crate = "B_CargoNet_01_ammo_F"; // This defines the ammunition crates. Default is "B_CargoNet_01_ammo_F".
  26. IA_liberation_fuel_crate = "CargoNet_01_barrels_F"; // This defines the fuel crates.
  27. /* - Friendly classnames.
  28. Each array below represents one of the 7 pages within the build menu.
  29. Format: ["vehicle_classname",supplies,ammunition,fuel], Example: ["B_APC_Tracked_01_AA_F",300,150,150],
  30. The above example is the NATO IFV-6a Cheetah, it costs 300 supplies, 150 ammunition and 150 fuel to build. */
  31. infantry_units = [
  32. ["SWOP_CIS_droid_AT",10,0,0],
  33. ["SWOP_CIS_droid_sergeant",10,0,0],
  34. ["SWOP_CIS_droid_sniper",10,0,0],
  35. ["SWOP_CIS_droid_mg",10,0,0],
  36. ["SWOP_CIS_superdroid_B2",10,0,0],
  37. ["SWOP_CIS_magnaguard",10,0,0],
  38. ["SWOP_CIS_droid_com",10,0,0],
  39. ["SWOP_CIS_droid_guard",10,0,0],
  40. ["SWOP_CIS_droid_crew",10,0,0],
  41. ["SWOP_CIS_droid_pilot",10,0,0],
  42. ["SWOP_CIS_droid_tactic_black",10,0,0],
  43. ["SWOP_CIS_droid_tactic_blue",10,0,0],
  44. ["SWOP_CIS_droid_tactic_green",10,0,0],
  45. ["SWOP_CIS_droid_tactic_red",10,0,0]
  46. ];
  47. light_vehicles = [
  48. ["SW_SpeederBike",100,150,100] //M109A6
  49. ];
  50. heavy_vehicles = [
  51. ["O_SWOP_AAT_1",400,500,400],
  52. ["O_SWOP_Hailfire_1",400,500,400],
  53. ["O_SWOP_MTT_1",300,400,350]
  54. ];
  55. air_vehicles = [
  56. ["swcishoverdroid",75,0,75],
  57. ["swop_hbomber",450,450,450],
  58. ["swop_geofighter",350,200,200],
  59. ["swop_tridroid",150,150,150],
  60. ["swop_vulture",300,300,250],
  61. ["swop_HMP_droidgunship",400,350,375],
  62. ["swop_HMP_droidgunship_transport",250,0,250]
  63. ];
  64. static_vehicles = [
  65. ["SWOP_Droideka",75,50,0], //Mk32A GMG 20mm //Mk6 Mortar
  66. ["SWOP_DroidekaCamo",75,50,0],
  67. ["SWOP_DroidekaSupport",75,50,0],
  68. ["SpiderDSD",150,150,0],
  69. ["SpiderOG",450,200,0]
  70. ];
  71. buildings = [
  72. ["Land_Cargo_House_V1_F",0,0,0],
  73. ["Land_Cargo_Patrol_V1_F",0,0,0],
  74. ["Land_Cargo_Tower_V1_F",0,0,0],
  75. ["Flag_NATO_F",0,0,0],
  76. ["Flag_UK_F",0,0,0],
  77. ["Flag_US_F",0,0,0],
  78. ["Flag_White_F",0,0,0],
  79. ["Land_Medevac_house_V1_F",0,0,0],
  80. ["Land_Medevac_HQ_V1_F",0,0,0],
  81. ["Flag_RedCrystal_F",0,0,0],
  82. ["CamoNet_BLUFOR_F",0,0,0],
  83. ["CamoNet_BLUFOR_open_F",0,0,0],
  84. ["CamoNet_BLUFOR_big_F",0,0,0],
  85. ["Land_PortableLight_single_F",0,0,0],
  86. ["Land_PortableLight_double_F",0,0,0],
  87. ["Land_HelipadCircle_F",0,0,0], //Strictly aesthetic - as in it does not increase helicopter cap!
  88. ["PortableHelipadLight_01_blue_F",0,0,0],
  89. ["PortableHelipadLight_01_green_F",0,0,0],
  90. ["PortableHelipadLight_01_red_F",0,0,0],
  91. ["Land_CampingChair_V1_F",0,0,0],
  92. ["Land_CampingChair_V2_F",0,0,0],
  93. ["Land_CampingTable_F",0,0,0],
  94. ["MapBoard_altis_F",0,0,0],
  95. ["MapBoard_stratis_F",0,0,0],
  96. ["MapBoard_seismic_F",0,0,0],
  97. ["Land_Pallet_MilBoxes_F",0,0,0],
  98. ["Land_PaperBox_open_empty_F",0,0,0],
  99. ["Land_PaperBox_open_full_F",0,0,0],
  100. ["Land_PaperBox_closed_F",0,0,0],
  101. ["Land_DieselGroundPowerUnit_01_F",0,0,0],
  102. ["Land_ToolTrolley_02_F",0,0,0],
  103. ["Land_WeldingTrolley_01_F",0,0,0],
  104. ["Land_Workbench_01_F",0,0,0],
  105. ["Land_GasTank_01_blue_F",0,0,0],
  106. ["Land_GasTank_01_khaki_F",0,0,0],
  107. ["Land_GasTank_01_yellow_F",0,0,0],
  108. ["Land_GasTank_02_F",0,0,0],
  109. ["Land_BarrelWater_F",0,0,0],
  110. ["Land_BarrelWater_grey_F",0,0,0],
  111. ["Land_WaterBarrel_F",0,0,0],
  112. ["Land_WaterTank_F",0,0,0],
  113. ["Land_BagFence_Round_F",0,0,0],
  114. ["Land_BagFence_Short_F",0,0,0],
  115. ["Land_BagFence_Long_F",0,0,0],
  116. ["Land_BagFence_Corner_F",0,0,0],
  117. ["Land_BagFence_End_F",0,0,0],
  118. ["Land_BagBunker_Small_F",0,0,0],
  119. ["Land_BagBunker_Large_F",0,0,0],
  120. ["Land_BagBunker_Tower_F",0,0,0],
  121. ["Land_HBarrier_1_F",0,0,0],
  122. ["Land_HBarrier_3_F",0,0,0],
  123. ["Land_HBarrier_5_F",0,0,0],
  124. ["Land_HBarrierBig_F",0,0,0],
  125. ["Land_HBarrierWall4_F",0,0,0],
  126. ["Land_HBarrierWall6_F",0,0,0],
  127. ["Land_HBarrierWall_corner_F",0,0,0],
  128. ["Land_HBarrierWall_corridor_F",0,0,0],
  129. ["Land_HBarrierTower_F",0,0,0],
  130. ["Land_CncBarrierMedium_F",0,0,0],
  131. ["Land_CncBarrierMedium4_F",0,0,0],
  132. ["Land_Concrete_SmallWall_4m_F",0,0,0],
  133. ["Land_Concrete_SmallWall_8m_F",0,0,0],
  134. ["Land_CncShelter_F",0,0,0],
  135. ["Land_CncWall1_F",0,0,0],
  136. ["Land_CncWall4_F",0,0,0],
  137. ["Land_Sign_WarningMilitaryArea_F",0,0,0],
  138. ["Land_Sign_WarningMilAreaSmall_F",0,0,0],
  139. ["Land_Sign_WarningMilitaryVehicles_F",0,0,0],
  140. ["Land_Razorwire_F",0,0,0],
  141. ["Land_ClutterCutter_large_F",0,0,0],
  142. ["Land_barricada",0,0,0],
  143. ["Land_wall_laser",0,0,0],
  144. ["Land_corner_laser",0,0,0]
  145. ];
  146. support_vehicles = [
  147. [Arsenal_typename,100,200,0],
  148. [Respawn_truck_typename,200,0,75],
  149. [FOB_box_typename,300,500,0],
  150. [FOB_truck_typename,300,500,75],
  151. [IA_liberation_small_storage_building,0,0,0],
  152. [IA_liberation_large_storage_building,0,0,0],
  153. [IA_liberation_recycle_building,250,0,0],
  154. [IA_liberation_air_vehicle_building,1000,0,0],
  155. [IA_liberation_heli_slot_building,250,0,0],
  156. [IA_liberation_plane_slot_building,500,0,0],
  157. ["ACE_medicalSupplyCrate_advanced",50,0,0],
  158. ["ACE_Box_82mm_Mo_HE",50,40,0],
  159. ["ACE_Box_82mm_Mo_Smoke",50,10,0],
  160. ["ACE_Box_82mm_Mo_Illum",50,10,0],
  161. ["B_APC_Tracked_01_CRV_F",500,250,350], //CRV-6e Bobcat
  162. ["B_Truck_01_Repair_F",325,0,75], //HEMTT Repair
  163. ["B_Truck_01_fuel_F",125,0,275], //HEMTT Fuel
  164. ["B_Truck_01_ammo_F",125,200,75], //HEMTT Ammo
  165. ["B_Slingload_01_Repair_F",275,0,0], //Huron Repair
  166. ["B_Slingload_01_Fuel_F",75,0,200], //Huron Fuel
  167. ["B_Slingload_01_Ammo_F",75,200,0], //Huron Ammo
  168. ["B_Truck_01_transport_F",100,0,200] //HEMTT Transport
  169. ];
  170. // All the UAVs must be declared here, otherwise there shall be UAV controlling issues. Namely: you won't be able to control them.
  171. uavs = [
  172. "swcishoverdroid"
  173. ];
  174. // Pre-made squads for the commander build menu. These shouldn't exceed 10 members.
  175. // Light infantry squad.
  176. blufor_squad_inf_light = [
  177. "SWOP_CIS_camo_droid_sergeant",
  178. "SWOP_CIS_camo_droid",
  179. "SWOP_CIS_camo_droid",
  180. "SWOP_CIS_droid_mg",
  181. "SWOP_CIS_camo_droid",
  182. "SWOP_CIS_camo_droid_AT",
  183. "SWOP_CIS_camo_droid",
  184. "SWOP_CIS_camo_droid_sniper",
  185. "SWOP_CIS_camo_droid",
  186. "SWOP_CIS_camo_droid"
  187. ];
  188. // Heavy infantry squad.
  189. blufor_squad_inf = [
  190. "SWOP_CIS_camo_droid_sergeant",
  191. "SWOP_CIS_camo_droid",
  192. "SWOP_CIS_camo_droid",
  193. "SWOP_CIS_droid_mg",
  194. "SWOP_CIS_camo_droid",
  195. "SWOP_CIS_camo_droid_AT",
  196. "SWOP_CIS_superdroid_B2",
  197. "SWOP_CIS_camo_droid_sniper",
  198. "SWOP_CIS_superdroid_B2",
  199. "SWOP_CIS_superdroid_B2"
  200. ];
  201. // AT specialists squad.
  202. blufor_squad_at = [
  203. "SWOP_CIS_droid_sergeant",
  204. "SWOP_CIS_droid_AT",
  205. "SWOP_CIS_droid_AT",
  206. "SWOP_CIS_droid",
  207. "SWOP_CIS_droid",
  208. "SWOP_CIS_droid"
  209. ];
  210. // AA specialists squad.
  211. blufor_squad_aa = [
  212. "SWOP_CIS_droid_sergeant",
  213. "SWOP_CIS_droid_AT",
  214. "SWOP_CIS_droid_AT",
  215. "SWOP_CIS_droid",
  216. "SWOP_CIS_droid",
  217. "SWOP_CIS_droid"
  218. ];
  219. // Force recon squad.
  220. blufor_squad_recon = [
  221. "SWOP_CIS_camo_droid_sergeant",
  222. "SWOP_CIS_camo_droid",
  223. "SWOP_CIS_camo_droid",
  224. "SWOP_CIS_droid_mg",
  225. "SWOP_CIS_camo_droid"
  226. ];
  227. // Paratroopers squad.
  228. blufor_squad_para = [
  229. "SWOP_CIS_magnaguard",
  230. "SWOP_CIS_magnaguard",
  231. "SWOP_CIS_magnaguard",
  232. "SWOP_CIS_magnaguard",
  233. "SWOP_CIS_magnaguard",
  234. "SWOP_CIS_magnaguard",
  235. "SWOP_CIS_magnaguard"
  236. ];
  237. //
  238. //
  239. //
  240. //
  241. //
  242. //
  243. /* - Badguy classnames.
  244. All enemy infantry are defined here. */
  245. opfor_officer = "SWOP_Clonetrooper_officer"; //Officer
  246. opfor_team_leader = "SWOP_Clonetrooper_sergeant"; //Team Leader
  247. opfor_squad_leader = "SWOP_Clonetrooper_sergeant"; //Squad Leader
  248. opfor_sentry = "SWOP_Clonetrooper_recon"; //Rifleman (Lite)
  249. opfor_rifleman = "SWOP_Clonetrooper"; //Rifleman
  250. opfor_rpg = "SWOP_Clonetrooper_AA"; //Rifleman (LAT)
  251. opfor_grenadier = "SWOP_Clonetrooper_mg"; //Grenadier
  252. opfor_machinegunner = "SWOP_Clonetrooper_mg"; //Autorifleman
  253. opfor_heavygunner = "SWOP_Clonetrooper_mg"; //Heavy Gunner
  254. opfor_marksman = "SWOP_501_sniper"; //Marksman
  255. opfor_sharpshooter = "SWOP_501_sniper"; //Sharpshooter
  256. opfor_sniper = "SWOP_Clonetrooper_sniper"; //Sniper
  257. opfor_at = "SWOP_Clonetrooper_AA"; //AT Specialist
  258. opfor_aa = "SWOP_Clonetrooper_AA"; //AA Specialist
  259. opfor_medic = "SWOP_Clonetrooper_P1_medic"; //Combat Life Saver
  260. opfor_engineer = "SWOP_Clonetrooper_heavy_recon"; //Engineer
  261. opfor_paratrooper = "SWOP_Clonetrooper_jumper"; //Paratrooper
  262. // Enemy vehicles used by secondary objectives.
  263. opfor_mrap = "O_JM_TX130m1r_1"; //GAZ-233011
  264. opfor_mrap_armed = "O_JM_TX130m2r_1"; //GAZ-233014 (Armed)
  265. opfor_transport_helo = "swop_LAAT"; //Mi-8MT (Cargo)
  266. opfor_transport_truck = "O_SWOP_HoverT_1"; //Ural-4320 Transport (Covered)
  267. opfor_fuel_truck = "O_Truck_02_fuel_F"; //Ural-4320 Fuel
  268. opfor_ammo_truck = "O_Truck_02_Ammo_F"; //GAZ-66 Ammo
  269. opfor_fuel_container = "Land_Pod_Heli_Transport_04_fuel_F"; //Taru Fuel Pod
  270. opfor_ammo_container = "Land_Pod_Heli_Transport_04_ammo_F"; //Taru Ammo Pod
  271. opfor_flag = "FlagCarrierTFKnight_EP1"; //Russian Flag
  272. /* Adding a value to these arrays below will add them to a one out of however many in the array, random pick chance.
  273. Therefore, adding the same value twice or three times means they are more likely to be chosen more often.
  274. Militia infantry. Lightweight soldier classnames the game will pick from randomly as sector defenders. */
  275. militia_squad = [
  276. "SWOP_Clonetrooper",
  277. "SWOP_Clonetrooper_sergeant",
  278. "SWOP_Clonetrooper_AA",
  279. "SWOP_Clonetrooper_mg"
  280. ];
  281. // Militia vehicles. Lightweight vehicle classnames the game will pick from randomly as sector defenders.
  282. militia_vehicles = [
  283. "O_JM_TX130r_1",
  284. "O_JM_TX130m1r_1",
  285. "O_JM_TX130m2r_1"
  286. ];
  287. // All enemy vehicles that can spawn as sector defenders and patrols at high enemy combat readiness (aggression levels)
  288. opfor_vehicles = [
  289. "O_JM_TX130r_1",
  290. "O_JM_TX130m1r_1",
  291. "O_JM_TX130m2r_1"
  292. ];
  293. // All enemy vehicles that can spawn as sector defenders and patrols but at a lower enemy combat readiness (aggression levels).
  294. opfor_vehicles_low_intensity = [
  295. "SW_BARC"
  296. ];
  297. // All enemy vehicles that can spawn as battlegroups, either assaulting or as reinforcements, at high enemy combat readiness (aggression levels).
  298. opfor_battlegroup_vehicles = [
  299. "O_JM_TX130r_1",
  300. "O_JM_TX130m1r_1",
  301. "O_JM_TX130m2r_1"
  302. ];
  303. // All enemy vehicles that can spawn as battlegroups, either assaulting or as reinforcements, at lower enemy combat readiness (aggression levels).
  304. opfor_battlegroup_vehicles_low_intensity = [
  305. "SW_BARC"
  306. ];
  307. /* All vehicles that spawn within battlegroups (see the above 2 arrays) and also hold 8 soldiers as passengers.
  308. If something in this array can't hold all 8 soldiers then buggy behaviours may occur. */
  309. opfor_troup_transports = [
  310. "O_JM_TX130r_1",
  311. "O_JM_TX130m1r_1",
  312. "O_JM_TX130m2r_1"
  313. ];
  314. // Enemy rotary-wings that will need to spawn in flight.
  315. opfor_choppers = [
  316. "swop_LAAT_cargo",
  317. "swop_LAAT",
  318. "swop_LAATmk2",
  319. "swop_LAATmk2_104",
  320. "swop_LAATmk2_74",
  321. "swop_LAATmk2_ARC",
  322. "swop_LAATmk2_spec"
  323. ];
  324. // Enemy fixed-wings that will need to spawn in the air.
  325. opfor_air = [
  326. "swop_arc_t",
  327. "swop_eta2_c1",
  328. "swop_eta2_c2",
  329. "swop_eta2_c3",
  330. "swop_Vwing",
  331. "swop_ywclones"
  332. ];
  333. /* - Other various mission classnames.
  334. Civilian classnames. */
  335. civilians = [
  336. "C_man_p_beggar_F",
  337. "C_man_polo_1_F",
  338. "C_man_polo_2_F",
  339. "C_man_polo_3_F",
  340. "C_man_polo_4_F",
  341. "C_man_polo_5_F",
  342. "C_man_polo_6_F",
  343. "C_man_1_1_F",
  344. "C_man_hunter_1_F",
  345. "C_journalist_F",
  346. "C_man_w_worker_F"
  347. ];
  348. // Civilian vehicle classnames.
  349. civilian_vehicles = [
  350. "C_Quadbike_01_F",
  351. "C_Hatchback_01_F",
  352. "C_Hatchback_01_sport_F",
  353. "C_Offroad_01_F",
  354. "C_Offroad_01_repair_F",
  355. "C_SUV_01_F",
  356. "C_Van_01_fuel_F",
  357. "C_Van_01_transport_F",
  358. "C_Van_01_box_F",
  359. "C_Truck_02_fuel_F",
  360. "C_Truck_02_transport_F",
  361. "C_Truck_02_covered_F",
  362. "C_Truck_02_box_F"
  363. ];
  364. // Elite vehicles that should be unlocked through military base capture.
  365. elite_vehicles = [
  366. ];
  367. if (IA_liberation_debug) then {private _text = format ["[IA LIBERATION] [DEBUG] Unit preset %1 intitialized for: %2", IA_liberation_preset, (name player)];_text remoteExec ["diag_log",2];};