Advertisement
Guest User

Classnames_extention.sqf

a guest
May 31st, 2016
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.40 KB | None | 0 0
  1. // This file allows you to add content to the mission without conflict issues after each update of the original classnames.sqf
  2. // If you want more modifications to be supported by this file, let's discuss it on the forums.
  3.  
  4. // *** SUPPORT STUFF ***
  5.  
  6. // Setting a value here will overwrite the original value found from the mission. Do that if you're doing a total conversion.
  7. // 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.
  8. FOB_typename = nil; // Default "Land_Cargo_HQ_V1_F";
  9. FOB_box_typename = nil; // Default "B_Slingload_01_Cargo_F";
  10. FOB_truck_typename = "RHSGREF_CDF_GAZ66_R142"; // Default "B_Truck_01_box_F";
  11. Arsenal_typename = nil; // Default "B_supplyCrate_F";
  12. Respawn_truck_typename = "RHSGREF_CDF_GAZ66_AP2"; // Default "B_Truck_01_medical_F";
  13. huron_typename = nil; // Default "B_Heli_Transport_03_unarmed_F";
  14. ammobox_b_typename = nil; // Default "Box_NATO_AmmoVeh_F";
  15. ammobox_o_typename = nil; // Default "Box_East_AmmoVeh_F";
  16. opfor_ammobox_transport = "RHS_URAL_OPEN_FLAT_MSV_01"; // Default "O_Truck_03_transport_F";
  17. commander_classname = "RHSGREF_CDF_REG_OFFICER"; // Default "B_officer_F"
  18. crewman_classname = "RHSGREF_CDF_REG_CREW"; // Default "B_crew_F";
  19. pilot_classname = "RHSGREF_CDF_AIR_PILOT"; // Default "B_Helipilot_F";
  20.  
  21. // *** FRIENDLIES ***
  22.  
  23. // Each array below represents one page of the build menu
  24. // Format : [ "classname", manpower, ammo, fuel ]
  25. // Example : [ "B_APC_Tracked_01_AA_F", 0, 40, 15 ],
  26.  
  27. // If overwrite is set to true, then the extension list will entirely replace the original list defined in classnames.sqf. Otherwise it will be appended to it.
  28. // Useful for total conversions to RHS and such, without having to alter the original file.
  29. infantry_units_overwrite = true;
  30. infantry_units_extension = [
  31. ["RHSGREF_CDF_REG_RIFLEMAN",3,0,0],
  32. ["RHSGREF_CDF_REG_RIFLEMAN_LITE",2,0,0],
  33. ["RHSGREF_CDF_REG_GRENADIER_RPG",4,2,0],
  34. ["RHSGREF_CDF_REG_MEDIC",4,0,0],
  35. ["RHSGREF_CDF_REG_CREW",3,0,0],
  36. ["RHSGREF_CDF_REG_ENGINEER",4,0,0],
  37. ["RHSGREF_CDF_REG_MARKSMAN",4,0,0],
  38. ["RHSGREF_CDF_REG_MACHINEGUNNER",4,0,0],
  39. ["RHSGREF_CDF_REG_GRENADIER",4,0,0],
  40. ["RHSGREF_CDF_REG_SPECIALIST_AA",4,5,0],
  41. ["RHSGREF_CDF_REG_SQUADLEADER",4,0,0]
  42. ];
  43.  
  44. light_vehicles_overwrite = true;
  45. light_vehicles_extension = [
  46. ["RHSGREF_BRDM2UM",0,0,4],
  47. ["RHSGREF_CDF_GAZ66O",0,0,4],
  48. ["RHSGREF_CDF_GAZ66",0,0,4],
  49. ["RHSGREF_CDF_REG_UAZ_OPEN",0,0,2],
  50. ["RHSGREF_CDF_REG_UAZ_AGS",0,20,2],
  51. ["RHSGREF_CDF_REG_UAZ_DSHKM",0,10,2],
  52. ["RHSGREF_CDF_REG_UAZ_SPG9",0,20,2],
  53. ["I_QUADBIKE_01_F",0,0,1],
  54. ["I_G_OFFROAD_01_F",0,0,2]
  55. ];
  56.  
  57. heavy_vehicles_overwrite = true;
  58. heavy_vehicles_extension = [
  59. ["RHSGREF_CDF_BTR60",0,30,6],
  60. ["RHSGREF_CDF_BTR70",0,40,6],
  61. ["RHSGREF_CDF_BMD1K",0,50,10],
  62. ["RHSGREF_BRDM2_ATGM",0,50,6],
  63. ["RHSGREF_CDF_BMD1P",0,60,10],
  64. ["RHSGREF_CDF_BMP1P",0,70,16],
  65. ["RHSGREF_CDF_BMP2K",0,80,16],
  66. ["RHSGREF_CDF_T72BA_TV",0,100,20],
  67. ["RHSGREF_CDF_URAL_ZU23",0,100,6],
  68. ["RHSGREF_CDF_ZSU234",0,200,20]
  69. ];
  70.  
  71. air_vehicles_overwrite = true;
  72. air_vehicles_extension = [
  73. ["B_UAV_01_F",0,0,2],
  74. ["B_HELI_LIGHT_01_F",0,0,6],
  75. ["RHSGREF_CDF_REG_MI8AMT",0,0,20],
  76. ["RHSGREF_MI24G_CAS",0,300,30],
  77. ["RHSGREF_CDF_REG_MI17SH",0,300,30],
  78. ["RHS_L39_CDF",0,300,30],
  79. ["RHS_L159_CDF_CAP",0,300,30],
  80. ["RHSGREF_CDF_SU25",0,350,30]
  81. ];
  82.  
  83. static_vehicles_overwrite = true;
  84. static_vehicles_extension = [
  85. ["RHSGREF_CDF_DSHKM",0,5,0],
  86. ["RHSGREF_CDF_AGS30_TRIPOD",0,10,0],
  87. ["RHSGREF_CDF_SPG9",0,10,0],
  88. ["RHSGREF_CDF_IGLA_AA_POD",0,20,0],
  89. ["RHSGREF_CDF_REG_M252",0,20,0]
  90. ];
  91.  
  92. buildings_overwrite = false;
  93. buildings_extension = [
  94. ];
  95.  
  96. support_vehicles_overwrite = false; // If you overwrite this, make sure you have at least Arsenal_typename, Respawn_truck_typename, FOB_box_typename and FOB_truck_typename in here.
  97. support_vehicles_extension = [
  98. ["RHSGREF_CDF_GAZ66_REPAIR",10,0,4],
  99. ["RHSGREF_CDF_GAZ66_AMMO",10,0,4],
  100. ["RHSGREF_CDF_URAL_FUEL",10,0,4]
  101. ];
  102.  
  103. // All the UAVs must be declared here, otherwise there shall be UAV controlling issues.
  104. uavs = [ "B_UAV_01_F"
  105. ];
  106.  
  107. // Pre-made squads for the commander build menu. These shouldn't exceed 10 members.
  108. // Light infantry squad
  109. blufor_squad_inf_light = [ "RHSGREF_CDF_REG_RIFLEMAN_LITE","RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_MEDIC","RHSGREF_CDF_REG_MACHINEGUNNER","RHSGREF_CDF_REG_SQUADLEADER"
  110. ];
  111.  
  112. // Heavy infantry squad
  113. blufor_squad_inf = [ "RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_GRENADIER_RPG","RHSGREF_CDF_REG_GRENADIER_RPG","RHSGREF_CDF_REG_GRENADIER","RHSGREF_CDF_REG_MACHINEGUNNER","RHSGREF_CDF_REG_MEDIC","RHSGREF_CDF_REG_SQUADLEADER"
  114. ];
  115.  
  116. // AT specialists squad
  117. blufor_squad_at = [ "RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_GRENADIER_RPG","RHSGREF_CDF_REG_GRENADIER_RPG","RHSGREF_CDF_REG_GRENADIER_RPG","RHSGREF_CDF_REG_GRENADIER_RPG","RHSGREF_CDF_REG_MEDIC","RHSGREF_CDF_REG_SQUADLEADER"
  118. ];
  119.  
  120. // AA specialists squad
  121. blufor_squad_aa = [ "RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_SPECIALIST_AA","RHSGREF_CDF_REG_SPECIALIST_AA","RHSGREF_CDF_REG_MEDIC","RHSGREF_CDF_REG_SQUADLEADER"
  122. ];
  123.  
  124. // Force recon squad
  125. blufor_squad_recon = [ "RHSGREF_CDF_REG_MARKSMAN","RHSGREF_CDF_REG_MARKSMAN","RHSGREF_CDF_REG_RIFLEMAN","RHSGREF_CDF_REG_MEDIC"
  126. ];
  127.  
  128. // Paratroopers squad
  129. blufor_squad_para = [ "RHSGREF_CDF_PARA_RIFLEMAN","RHSGREF_CDF_PARA_RIFLEMAN","RHSGREF_CDF_PARA_GRENADIER_RPG","RHSGREF_CDF_PARA_MACHINEGUNNER","RHSGREF_CDF_PARA_MEDIC"
  130. ];
  131.  
  132. // *** BADDIES ***
  133.  
  134. // All OPFOR infantry. Defining a value here will replace the default value from the original mission.
  135. opfor_sentry = "RHS_MSV_RIFLEMAN";
  136. opfor_rifleman = "RHS_MSV_RIFLEMAN";
  137. opfor_grenadier = "RHS_MSV_GRENADIER";
  138. opfor_squad_leader = "RHS_MSV_SERGEANT";
  139. opfor_team_leader = "RHS_MSV_JUNIOR_SERGEANT";
  140. opfor_marksman = "RHS_MSV_MARKSMAN";
  141. opfor_machinegunner = "RHS_MSV_MACHINEGUNNER";
  142. opfor_heavygunner = "RHS_MSV_MACHINEGUNNER";
  143. opfor_medic = "RHS_MSV_MEDIC";
  144. opfor_rpg = "RHS_MSV_LAT";
  145. opfor_at = "RHS_MSV_AT";
  146. opfor_aa = "RHS_MSV_AA";
  147. opfor_officer = "RHS_MSV_OFFICER";
  148. opfor_sharpshooter = "RHS_MSV_MARKSMAN";
  149. opfor_sniper = "RHS_MSV_MARKSMAN";
  150. opfor_engineer = "RHS_MSV_ENGINEER";
  151. opfor_paratrooper = "RHS_MSV_RIFLEMAN";
  152.  
  153. // OPFOR Vehicles to be used in secondary objectives
  154. opfor_mrap = "RHS_TIGR_MSV";
  155. opfor_mrap_armed = "RHS_TIGR_M_MSV";
  156. opfor_transport_helo = "RHS_MI8AMT_VDV";
  157. opfor_transport_truck = "RHS_GAZ66_MSV";
  158. opfor_fuel_truck = "RHS_URAL_FUEL_MSV_01";
  159. opfor_ammo_truck = "RHS_GAZ66_AMMO_MSV";
  160. opfor_fuel_container = nil;
  161. opfor_ammo_container = nil;
  162. opfor_flag = "RHS_FLAG_RUSSIA_F";
  163.  
  164. // Militia infantry. Soldier classnames the game will pick from randomly
  165. militia_squad_overwrite = true;
  166. militia_squad_extension = [
  167. "RHSGREF_INS_RIFLEMAN_RPG26",
  168. "RHSGREF_INS_MACHINEGUNNER",
  169. "RHSGREF_INS_MEDIC",
  170. "RHSGREF_INS_GRENADIER_RPG",
  171. "RHSGREF_INS_SPECIALIST_AA",
  172. "RHSGREF_INS_RIFLEMAN_AKM",
  173. "RHSGREF_INS_RIFLEMAN",
  174. "RHSGREF_INS_GRENADIER",
  175. "RHSGREF_INS_SNIPER",
  176. "RHSGREF_INS_RIFLEMAN_AKM",
  177. "RHSGREF_INS_RIFLEMAN",
  178. "RHSGREF_INS_MACHINEGUNNER",
  179. "RHSGREF_INS_RIFLEMAN_RPG26",
  180. "RHSGREF_INS_RIFLEMAN_AKM",
  181. "RHSGREF_INS_RIFLEMAN"
  182. ];
  183.  
  184. // Militia vehicles to choose from
  185. militia_vehicles_overwrite = true;
  186. militia_vehicles_extension = [
  187. "RHSGREF_INS_UAZ_DSHKM",
  188. "RHSGREF_INS_UAZ_AGS",
  189. "RHSGREF_INS_UAZ_SPG9",
  190. "RHSGREF_INS_BTR60",
  191. "RHSGREF_INS_BTR70",
  192. "RHSGREF_BRDM2_HQ_INS"
  193. ];
  194.  
  195. // All the vehicles that can spawn as sector defenders and patrols
  196. opfor_vehicles_overwrite = true;
  197. opfor_vehicles_extension = [
  198. "RHS_TIGR_M_MSV",
  199. "RHS_TIGR_STS_MSV",
  200. "RHS_BTR60_MSV",
  201. "RHS_BTR70_MSV",
  202. "RHS_BTR80_MSV",
  203. "RHS_BTR80A_MSV",
  204. "RHSGREF_BRDM2_MSV",
  205. "RHSGREF_BRDM2_HQ_MSV",
  206. "RHS_BMP2_MSV",
  207. "RHS_BMP3_MSV",
  208. "RHS_BRM1K_MSV",
  209. "RHS_PRP3_MSV",
  210. "RHS_ZSU234_AA",
  211. "RHS_MI8AMT_VDV"
  212. ];
  213.  
  214. // Same with lighter choices to be used when the alert level is low
  215. opfor_vehicles_low_intensity_overwrite = true;
  216. opfor_vehicles_low_intensity_extension = [
  217. "RHS_GAZ66_MSV",
  218. "RHS_TIGR_M_MSV",
  219. "RHS_TIGR_STS_MSV",
  220. "RHS_BTR60_MSV",
  221. "RHSGREF_BRDM2_MSV",
  222. "RHSGREF_BRDM2_HQ_MSV",
  223. "RHS_MI8AMT_VDV"
  224. ];
  225.  
  226. // All the vehicles that can spawn as battlegroup members
  227. opfor_battlegroup_vehicles_overwrite = true;
  228. opfor_battlegroup_vehicles_extension = [
  229. "RHS_GAZ66_MSV",
  230. "RHS_TIGR_M_MSV",
  231. "RHS_BTR80_MSV",
  232. "RHS_BTR80A_MSV",
  233. "RHS_BMP2_MSV",
  234. "RHS_BMP3_LATE_MSV",
  235. "RHS_T80",
  236. "RHS_SPRUT_VDV",
  237. "RHS_MI8AMT_VDV"
  238. ];
  239.  
  240. // Same with lighter choices to be used when the alert level is low
  241. opfor_battlegroup_vehicles_low_intensity_overwrite = true;
  242. opfor_battlegroup_vehicles_low_intensity_extension = [
  243. "RHS_GAZ66_MSV",
  244. "RHS_TIGR_M_MSV",
  245. "RHSGREF_BRDM2_HQ_MSV",
  246. "RHSGREF_BRDM2_MSVW",
  247. "RHS_BTR60_MSV",
  248. "RHS_MI8AMT_VDV"
  249. ];
  250.  
  251. // All the vehicles that can spawn as battlegroup members (see above) and also hold 8 soldiers as passengers.
  252. // If something in here can't hold all 8 soldiers then buggy behaviours may occur
  253. opfor_troup_transports_overwrite = true;
  254. opfor_troup_transports_extension = [
  255. "RHS_GAZ66_MSV",
  256. "RHSGREF_BRDM2_HQ_MSV",
  257. "RHS_BTR60_MSV",
  258. "RHS_MI8AMT_VDV",
  259. "RHSGREF_BRDM2_MSVW"
  260. ];
  261.  
  262. // Battlegroup members that will need to spawn in flight. Should be only helos but, who knows
  263. opfor_choppers_overwrite = true;
  264. opfor_choppers_extension = [
  265. "RHS_MI24P_VDV",
  266. "RHS_MI8MTV3_VDV",
  267. "RHS_MI8MT_VDV"
  268. ];
  269.  
  270. // Opfor military aircrafts
  271. opfor_air_overwrite = true;
  272. opfor_air_extension = [
  273. "RHS_SU25SM_VVSC",
  274. "RHS_SU25SM_CAS_VVSC"
  275. ];
  276.  
  277. // Other stuff
  278.  
  279. // Civilians
  280. civilians_overwrite = false;
  281. civilians_extension = [
  282. ];
  283.  
  284. // Civilian vehicles
  285. civilian_vehicles_overwrite = false;
  286. civilian_vehicles_extension = [
  287. ];
  288.  
  289. // Everything the AI troups should be able to resupply from
  290. ai_resupply_sources_extension = [
  291. "RHSGREF_CDF_GAZ66_AP2"
  292. ];
  293.  
  294. // Everything that can resupply other vehicles
  295. vehicle_repair_sources_extension = [
  296. "RHSGREF_CDF_GAZ66_REPAIR"
  297. ];
  298. vehicle_rearm_sources_extension = [
  299. "RHSGREF_CDF_GAZ66_AMMO","RHS_GAZ66_AMMO_MSV"
  300. ];
  301. vehicle_refuel_sources_extension = [
  302. "RHSGREF_CDF_URAL_FUEL","RHS_URAL_FUEL_MSV_01"
  303. ];
  304.  
  305. // Elite vehicles that should be unlocked through military base capture.
  306. elite_vehicles_extension = [
  307. "RHSGREF_CDF_BMD1K",
  308. "RHSGREF_BRDM2_ATGM",
  309. "RHSGREF_CDF_BMD1P",
  310. "RHSGREF_CDF_BMP2K",
  311. "RHSGREF_CDF_T72BA_TV",
  312. "RHSGREF_CDF_URAL_ZU23",
  313. "RHSGREF_CDF_ZSU234",
  314. "RHSGREF_MI24G_CAS",
  315. "RHSGREF_CDF_REG_MI17SH",
  316. "RHS_L39_CDF",
  317. "RHS_L159_CDF_CAP",
  318. "RHSGREF_CDF_SU25"
  319. ];
  320.  
  321. // Blacklisted arsenal items such as deployable weapons that should be bought instead
  322. // Useless if you're using a predefined arsenal in arsenal.sqf
  323. blacklisted_from_arsenal_extension = [];
  324.  
  325. // Configurations for ammo boxes transport.
  326. // First entry: Classname
  327. // Second entry: How far behind the vehicle the boxes should be unloaded.
  328. // Following entries: attachTo position for each box, the number of boxes that can be loaded is derived from the number of entries.
  329. box_transport_config_extension = [
  330. [ "RHS_URAL_OPEN_FLAT_MSV_01",-6,[0,-0.4,0.4],[0,-2.4,0.4] ],
  331. [ "RHSGREF_CDF_GAZ66O",-6,[0, -2,0.4],[0,-3.6,0.4] ],
  332. [ "RHSGREF_CDF_GAZ66",-6,[0,-2,0.4],[0,-3.6,0.4] ],
  333. [ "RHS_GAZ66_MSV",-6,[0,-2,0.4],[0,-3.6,0.4] ],
  334. [ "RHSGREF_CDF_REG_MI8AMT",-15,[0,3,-1.5],[0,1,-1.5] ]
  335. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement