common.hpp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. scope=2;
  2. side=0;
  3. scopeCurator=2;
  4. forceInGarage = 1;
  5. armor=300;
  6. crew=macro_new_unit_class(opfor,B1_crew)
  7. faction = macro_cis_faction
  8. editorSubcategory = macro_editor_cat(tank)
  9. vehicleClass = macro_editor_vehicle_type(tank)
  10. RD501_magclamp_small_offset[] = {0.0,0.0,-3.0};
  11. RD501_magclamp_large_offset[] = {0.0,0.0,-3.0};
  12. class Turrets: Turrets
  13. {
  14. class MainTurret: MainTurret
  15. {
  16. class Turrets : Turrets {
  17. class CommanderOptics : CommanderOptics {
  18. };
  19. };
  20. weapons[] = {"SmokeLauncher",macro_new_weapon(generic,tank_repeater),macro_new_weapon(aat_cannon,king)};
  21. magazines[] = {"SmokeLauncherMag",macro_new_mag(aat_mbt,10), macro_new_mag(aat_mbt,10),macro_new_mag(generic_aircraft_gun,1000),macro_new_mag(generic_aircraft_gun,1000)};
  22. };
  23. };
  24. class HitPoints: HitPoints
  25. {
  26. class HitHull: HitHull { // Handle internal damage
  27. armor=4.5;
  28. material=-1;
  29. name="telo";
  30. visual="zbytek";
  31. passThrough=1;
  32. minimalHit = 0.2;
  33. explosionShielding = 0.2;
  34. radius = 0.12;
  35. };
  36. class HitEngine: HitEngine {
  37. armor=0.75;
  38. material=-1;
  39. name="motor";
  40. passThrough=0.2;
  41. minimalHit = 0.2;
  42. explosionShielding = 0.2;
  43. radius = 0.33;
  44. };
  45. class HitLTrack: HitLTrack {
  46. armor=0.5;
  47. material=-1;
  48. name="track_l_hit";
  49. passThrough=0;
  50. minimalHit = 0.08;
  51. explosionShielding = 1.44;
  52. radius = 0.3;
  53. };
  54. class HitRTrack: HitRTrack {
  55. armor=0.5;
  56. material=-1;
  57. name="track_r_hit";
  58. passThrough=0;
  59. minimalHit = 0.08;
  60. explosionShielding = 1.44;
  61. radius = 0.3;
  62. };
  63. class HitFuel: HitFuel
  64. {
  65. armor = 1.5;
  66. material = -1;
  67. name = "palivo";
  68. passThrough = 0.1;
  69. minimalHit = 0.1;
  70. explosionShielding = 0.6;
  71. radius = 0.25;
  72. };
  73. };