config.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(droideka)
  5. {
  6. addonRootClass=macro_patch_name(vehicles)
  7. requiredAddons[]=
  8. {
  9. macro_patch_name(vehicles)
  10. };
  11. requiredVersion=0.1;
  12. units[]=
  13. {
  14. macro_new_vehicle(droideka,base)
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. #include "../../common/sensor_templates.hpp"
  22. class DefaultEventhandlers;
  23. class CfgVehicles
  24. {
  25. class k_CIS_Droideka;
  26. class macro_new_vehicle(droideka,base): k_CIS_Droideka
  27. {
  28. scope=2;
  29. displayName = "Static Droideka";
  30. class EventHandlers: DefaultEventhandlers {};
  31. faction = macro_cis_faction;
  32. editorSubcategory = macro_editor_cat(heavy_armored_infantry);
  33. vehicleClass = macro_editor_vehicle_type(heavy_armored_infantry);
  34. armor = 225;
  35. armorStructural = 1.0;
  36. explosionShielding = 0.1;
  37. minTotalDamageThreshold = 0.01;
  38. impactDamageMultiplier = 0.1;
  39. class HitPoints
  40. {
  41. class HitGun
  42. {
  43. armor = 0.9;
  44. material = -1;
  45. name = "gun";
  46. visual = "autonomous_unhide";
  47. passThrough = 0;
  48. radius = 0.2;
  49. };
  50. class HitTurret: HitGun
  51. {
  52. armor = 0.3;
  53. };
  54. };
  55. };
  56. };