cis_aircraft_turrets.hpp 3.3 KB

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