1
0

config.cpp 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #include "config_macros.hpp"
  2. #define COMPILE_FILE(name) compileFinal preprocessFileLineNumbers SQUOTE(ADDON\name.sqf)
  3. //Land_Cargo_House_V1_F
  4. class CfgPatches {
  5. class ADDON
  6. {
  7. name = QUOTE(Droid Dispenser);
  8. author = "RD501";
  9. requiredAddons[] = {};
  10. units[] = {
  11. QGVAR(moduleOrdnanceDroidDispenser),
  12. GVAR(moduleDroidDispenser)
  13. };
  14. weapons[] = {};
  15. };
  16. };
  17. class CfgFactionClasses {
  18. class GVAR(DroidDispenser) {
  19. displayName = "Droid Factories";
  20. priority = 2;
  21. side = 7;
  22. };
  23. };
  24. class CfgVehicles
  25. {
  26. class Module_F;
  27. class ModuleOrdnance_F;
  28. class GVAR(moduleOrdnanceDroidDispenser): ModuleOrdnance_F
  29. {
  30. author = "RD501";
  31. isGlobal = 1;
  32. scope = 1;
  33. scopeCurator = 2;
  34. simulation = "house";
  35. category = QGVAR(DroidDispenser);
  36. model = "\a3\Modules_F_Curator\Ordnance\surfacehowitzer.p3d";
  37. function = QUOTE(FUNC(moduleOrbitalDroidDispenser));
  38. functionPriority = 1;
  39. displayName = QUOTE(Orbital Drop Droid Factory);
  40. portrait = "\a3\Modules_F_Curator\Data\portraitOrdnanceMortar_ca.paa";
  41. ammo = QGVAR(DroidDispenser_Round);
  42. delete Arguments;
  43. };
  44. class GVAR(moduleDroidDispenser): Module_F {
  45. author = "RD501";
  46. curatorCanAttach = 1;
  47. isGlobal = 1;
  48. scope = 1;
  49. scopeCurator = 2;
  50. isTriggerActivated = 0;
  51. category = QGVAR(DroidDispenser);
  52. displayName = QUOTE(Droid Factory);
  53. function = QUOTE(FUNC(moduleDroidDispenser));
  54. portrait = QUOTE(\ADDON\textures\icons\zeus\droid_dispenser_icon.paa);
  55. };
  56. };
  57. class CfgAmmo
  58. {
  59. class ModuleOrdnanceHowitzer_F_ammo;
  60. class ModuleOrdnanceMortar_F_ammo;
  61. class ModuleOrdnanceRocket_F_ammo;
  62. class GVAR(DroidDispenser_Round) : ModuleOrdnanceHowitzer_F_ammo
  63. {
  64. caliber = 950;
  65. hit = 5000;
  66. allowAgainstInfantry = 1;
  67. canLock = 0;
  68. explosive = 1;
  69. fuseDistance = 30;
  70. indirectHit = 500;
  71. indirectHitRange = 2;
  72. maxSpeed = 1100;
  73. typicalSpeed = 1050;
  74. sideAirFriction = 0;
  75. submunitionAmmo = "";
  76. submunitionConeAngle = 30;
  77. simulation = "shotshell";
  78. model="\A3\Structures_F\Mil\Cargo\Cargo_House_V1_F.p3d";
  79. };
  80. };
  81. class Extended_PreInit_EventHandlers {
  82. class ADDON {
  83. init = QUOTE(call COMPILE_FILE(XEH_preInit));
  84. };
  85. };
  86. class Extended_PostInit_EventHandlers {
  87. class ADDON {
  88. init = QUOTE(call COMPILE_FILE(XEH_postInit));
  89. };
  90. };