common_delta.hpp 2.1 KB

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