cis_aircraft_turrets.hpp 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //CIS_Air
  2. class macro_new_vehicle(cis,vulture) {
  3. class turret_script {
  4. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,1.5,-.6]] spawn macro_fnc_name(apply_aircraft_turrets);
  5. };
  6. };
  7. class macro_new_vehicle(trifighter,MKII) {
  8. class weight_script {
  9. init = "[_this select 0,18000] call RD501_Main_fnc_set_mass;";
  10. };
  11. class turret_script {
  12. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,1,-1]] spawn macro_fnc_name(apply_aircraft_turrets);
  13. };
  14. class swop_init {
  15. init = "[_this select 0] execVM '\vulture\inittri.sqf';[_this select 0] execVM '\vulture\initturbine.sqf';";
  16. };
  17. class edit_mass {
  18. init = "[_this select 0,15000] call RD501_Main_fnc_set_mass;";
  19. };
  20. };
  21. class macro_new_vehicle(hyena,Mk2) {
  22. class turret_1 {
  23. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[-1,1.5,-0.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  24. };
  25. class turret_2 {
  26. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[1,1.5,-0.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  27. };
  28. };
  29. class macro_new_vehicle(HMP,gunship) {
  30. class turret1 {
  31. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,5,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  32. };
  33. class turret2 {
  34. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[5,0,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  35. };
  36. class turret3 {
  37. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[-5,0,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  38. };
  39. macro_standard_eh
  40. class swop_init {
  41. init = "[_this select 0] execVM '\SW_Droides_2\DroidGunship\initturbine.sqf';";
  42. };
  43. };
  44. class macro_new_vehicle(HMP,transport) {
  45. class turret1 {
  46. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,5,-.5]] spawn macro_fnc_name(apply_aircraft_turrets);
  47. };
  48. macro_standard_eh
  49. class swop_init {
  50. init = "[_this select 0] execVM '\SW_Droides_2\DroidGunship\initturbine.sqf';";
  51. };
  52. };
  53. class macro_new_vehicle(scimitar,Mk2) {
  54. class turret_script {
  55. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[-.4,13,0]] spawn macro_fnc_name(apply_aircraft_turrets);
  56. };
  57. macro_standard_eh
  58. class swop_init {
  59. init = "[_this select 0] execVM '\Scimitar\initturbine.sqf';";
  60. };
  61. };
  62. class macro_new_vehicle(nantex,Mk2) {
  63. class turret_script {
  64. init = [_this select 0,macro_single_quote(macro_new_vehicle(Praetorian_Variant,opfor)),[0,3,.6]] spawn macro_fnc_name(apply_aircraft_turrets);
  65. };
  66. macro_standard_eh
  67. class swop_init {
  68. init = "[_this select 0] execVM '\GeonFighter\init.sqf';[_this select 0] execVM '\GeonFighter\initturbine.sqf';";
  69. };
  70. class edit_mass {
  71. init = "[_this select 0,15000] call RD501_Main_fnc_set_mass;";
  72. };
  73. };