aat_templates.hpp 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. #define AAT_LIGHT_ARMOUR 800
  2. #define AAT_MEDIUM_ARMOUR 2000
  3. #define AAT_MEDIUM_MAXSPEED 75
  4. #define AAT_KING_ARMOUR 4000
  5. #define AAT_KING_MAXSPEED 25
  6. #define AAT_CREW macro_new_unit_class(opfor,B1_crew)
  7. #define AAT_VEHICLE_CLASS macro_editor_vehicle_type(tank)
  8. #define AAT_EDITOR_CATEGORY macro_editor_cat(tank)
  9. #define AAT_FACTION macro_faction(CIS)
  10. #define AAT_WEAPON_ROTATION \
  11. minElev = -10;\
  12. maxElev = 40;\
  13. initElev = 0;\
  14. minTurn = -5;\
  15. maxTurn = 5;\
  16. initTurn = 0
  17. #define AAT_MAGCLAMP_OFFSET {0.0,0.0,-3.0}
  18. #define AAT_LIGHT(quotedDisplayName) \
  19. scope=2;\
  20. armor = AAT_LIGHT_ARMOUR;\
  21. forceInGarage = 1;\
  22. displayName = quotedDisplayName;\
  23. faction = AAT_FACTION;\
  24. editorSubcategory = AAT_EDITOR_CATEGORY;\
  25. vehicleClass = AAT_VEHICLE_CLASS;\
  26. crew = AAT_CREW;\
  27. RD501_magclamp_small_offset[] = AAT_MAGCLAMP_OFFSET;\
  28. RD501_magclamp_large_offset[] = AAT_MAGCLAMP_OFFSET;\
  29. class Turrets : Turrets {\
  30. class MainTurret : MainTurret {\
  31. class Turrets : Turrets {\
  32. class CommanderOptics : CommanderOptics {\
  33. weapons[] = {"Cannon_AAT_mc"};\
  34. magazines[] = {"100Rnd_Laser_Cannon_AAT_m", "100Rnd_Laser_Cannon_AAT_m", "100Rnd_Laser_Cannon_AAT_m"};\
  35. AAT_WEAPON_ROTATION;\
  36. };\
  37. };\
  38. maxHorizontalRotSpeed = 1.2*2;\
  39. maxVerticalRotSpeed = 1.2*2;\
  40. weapons[] = {"Cannon_EWEBSWBFgun"};\
  41. magazines[] = {\
  42. "1000Rnd_Laser_Cannon_EWEBSWBF",\
  43. "1000Rnd_Laser_Cannon_EWEBSWBF",\
  44. "1000Rnd_Laser_Cannon_EWEBSWBF",\
  45. "1000Rnd_Laser_Cannon_EWEBSWBF"\
  46. };\
  47. };\
  48. }
  49. #define AAT_MEDIUM(quotedDisplayName) \
  50. scope=2;\
  51. forceInGarage = 1;\
  52. displayName=quotedDisplayName;\
  53. armor = AAT_MEDIUM_ARMOUR;\
  54. maxSpeed = AAT_MEDIUM_MAXSPEED;\
  55. faction = AAT_FACTION;\
  56. editorSubcategory = AAT_EDITOR_CATEGORY;\
  57. vehicleClass = AAT_VEHICLE_CLASS;\
  58. crew = AAT_CREW;\
  59. RD501_magclamp_small_offset[] = AAT_MAGCLAMP_OFFSET;\
  60. RD501_magclamp_large_offset[] = AAT_MAGCLAMP_OFFSET;\
  61. class Turrets : Turrets {\
  62. class MainTurret : MainTurret {\
  63. class Turrets : Turrets {\
  64. /*Commanders guns,the side ones*/\
  65. class CommanderOptics:CommanderOptics {\
  66. AAT_WEAPON_ROTATION;\
  67. };\
  68. };\
  69. /*main turret guns*/\
  70. weapons[] = {\
  71. macro_new_weapon(aat_cannon,mbt),\
  72. "Cannon_ITTLaser"\
  73. };\
  74. magazines[] = {\
  75. macro_new_mag(aat_mbt,50),\
  76. macro_new_mag(aat_mbt,50),\
  77. macro_new_mag(aat_mbt,50),\
  78. macro_new_mag(aat_mbt,50),\
  79. "10000Rnd_ITTLaser_Cannon_Minigun"\
  80. };\
  81. maxHorizontalRotSpeed = 1.2;\
  82. maxVerticalRotSpeed = 1.2;\
  83. };\
  84. }
  85. #define AAT_KING(quotedDisplayName) \
  86. scope=2;\
  87. forceInGarage = 1;\
  88. displayName = quotedDisplayName;\
  89. armor = AAT_KING_ARMOUR;\
  90. maxSpeed = AAT_KING_MAXSPEED;\
  91. crew = AAT_CREW;\
  92. RD501_magclamp_small_offset[] = AAT_MAGCLAMP_OFFSET;\
  93. RD501_magclamp_large_offset[] = AAT_MAGCLAMP_OFFSET;\
  94. faction = AAT_FACTION;\
  95. editorSubcategory = AAT_EDITOR_CATEGORY;\
  96. vehicleClass = AAT_VEHICLE_CLASS;\
  97. class Turrets : Turrets {\
  98. class MainTurret : MainTurret {\
  99. class Turrets : Turrets {\
  100. class CommanderOptics : CommanderOptics {\
  101. };\
  102. };\
  103. maxHorizontalRotSpeed = 1.2/3;\
  104. maxVerticalRotSpeed = 1.2/3;\
  105. weapons[] = {\
  106. macro_new_weapon(aat_cannon,king),\
  107. "Cannon_EWEBSWBFgun"\
  108. };\
  109. magazines[] = {\
  110. "1000Rnd_Laser_Cannon_EWEBSWBF",\
  111. macro_new_mag(aat_mbt,10),\
  112. macro_new_mag(aat_mbt,10),\
  113. macro_new_mag(aat_mbt,10)\
  114. };\
  115. };\
  116. }