common_delta.hpp 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. faction = macro_republic_faction
  2. editorSubcategory = macro_editor_cat_air(Republic_vtol)
  3. vehicleClass = macro_editor_vehicle_type_air(Republic)
  4. class EventHandlers{};
  5. class UserActions
  6. {
  7. class AfterburnerOff
  8. {
  9. condition = "(this getVariable ['AfterBurnerawing',false])";
  10. displayName = "<t color='#FF9933'>[Afterburner Off]</t>";
  11. displayNameDefault = "";
  12. onlyforplayer = 1;
  13. position = "pilotview";
  14. priority = 1e+011;
  15. radius = 10;
  16. shortcut = "";
  17. statement = "this setVariable ['AfterBurnerawing',false,true]";
  18. };
  19. class AfterburnerOn
  20. {
  21. condition = "speed this >50 and (!(this getVariable ['AfterBurnerawing',false]))";
  22. displayName = "<t color='#4C9900'>[Afterburner On]</t>";
  23. displayNameDefault = "";
  24. onlyforplayer = 1;
  25. position = "pilotview";
  26. priority = 1e+011;
  27. radius = 10;
  28. shortcut = "";
  29. statement = "this setVariable ['AfterBurnerawing',true,true];this spawn nes4day_afterburnerawing";
  30. };
  31. #include "../../common/universal_dmg_report.hpp"
  32. };
  33. class ACE_SelfActions:ACE_SelfActions
  34. {
  35. #include "../../common/universal_hud_color_changer.hpp"
  36. };
  37. #include "../../common/universal_mfd.hpp"
  38. // minGunElev = 90;
  39. // minGunTurn = 90;
  40. // gunAimDown = 100.07;
  41. // maxGunElev = 90;
  42. // maxGunTurn = 90;
  43. vtol=4;
  44. weapons[] = {
  45. macro_new_weapon(wynd,a2a),
  46. macro_new_weapon(wynd,agm),
  47. macro_new_weapon(wynd,ugm),
  48. macro_basic_air_weapons,
  49. macro_new_weapon(generic,republic_aircraft_cannon)
  50. };
  51. magazines[] = {
  52. macro_basic_air_mags,
  53. macro_new_mag(generic_aircraft_cannon_green,1000),
  54. macro_new_mag(generic_aircraft_cannon_green,1000),
  55. macro_new_mag(a2a,4),
  56. macro_new_mag(agm,6),
  57. macro_new_mag(ugm,10)
  58. };
  59. armor=200;
  60. airBrakeFrictionCoef = 80.4;
  61. weaponLockSystem = "1+2+4+8+16";
  62. altFullForce = 6000;
  63. altNoForce = 9000;
  64. author= "RD501";
  65. memoryPointGun[] = {"cannon1", "cannon2", "cannon3", "cannon4"};
  66. memoryPointCM[] = {"pos_flare_launcher1"};
  67. memoryPointCMDir[] = {"pos_flare_launcher1_dir"};
  68. memoryPointLRocket = "misiles";
  69. memoryPointRRocket = "misiles";
  70. memoryPointLMissile = "misiles";
  71. memoryPointRMissile = "misiles";