config.cpp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. //Get this addons macro
  2. //get the macro for the air subaddon
  3. //get generlized macros
  4. #include "../../../RD501_main/config_macros.hpp"
  5. class CfgPatches
  6. {
  7. class macro_patch_name(shields)
  8. {
  9. addonRootClass=macro_patch_name(vehicles)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(vehicles)
  13. };
  14. requiredVersion=0.1;
  15. units[]=
  16. {
  17. "RD501_Squad_Shield",
  18. "RD501_Squad_Shield_trench",
  19. "RD501_Droideka_Shield"
  20. };
  21. weapons[]=
  22. {
  23. };
  24. };
  25. };
  26. class CfgVehicles
  27. {
  28. class Land_House_Small_03_V1_ruins_F;
  29. class RD501_Squad_Shield: Land_House_Small_03_V1_ruins_F
  30. {
  31. author="$STR_A3_Bohemia_Interactive";
  32. mapSize=21.1;
  33. class SimpleObject
  34. {
  35. eden=0;
  36. animate[]={};
  37. hide[]={};
  38. verticalOffset=-0.023;
  39. verticalOffsetWorld=0;
  40. init="''";
  41. };
  42. editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
  43. scope=2;
  44. scopeCurator=2;
  45. displayName="Squad Shield";
  46. model="\RD501_Vehicles\static\shields\bubble\bubble.p3d";
  47. icon="iconObject_1x1";
  48. vehicleClass = macro_editor_vehicle_type(statics)
  49. editorCategory = macro_editor_cat(statics)
  50. editorSubcategory = macro_editor_cat(static_msc)
  51. };
  52. class RD501_Squad_Shield_trench: Land_House_Small_03_V1_ruins_F
  53. {
  54. author="$STR_A3_Bohemia_Interactive";
  55. mapSize=21.1;
  56. class SimpleObject
  57. {
  58. eden=0;
  59. animate[]={};
  60. hide[]={};
  61. verticalOffset=-0.023;
  62. verticalOffsetWorld=0;
  63. init="''";
  64. };
  65. editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
  66. scope=2;
  67. scopeCurator=2;
  68. displayName="Trench Shield";
  69. model="\RD501_Vehicles\static\shields\trench\trench.p3d";
  70. icon="iconObject_1x1";
  71. vehicleClass = macro_editor_vehicle_type(statics)
  72. editorCategory = macro_editor_cat(statics)
  73. editorSubcategory = macro_editor_cat(static_msc)
  74. };
  75. class RD501_Droideka_Shield: Land_House_Small_03_V1_ruins_F
  76. {
  77. author="$STR_A3_Bohemia_Interactive";
  78. mapSize=21.1;
  79. class SimpleObject
  80. {
  81. eden=0;
  82. animate[]={};
  83. hide[]={};
  84. verticalOffset=-0.023;
  85. verticalOffsetWorld=0;
  86. init="''";
  87. };
  88. editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
  89. scope=2;
  90. scopeCurator=2;
  91. displayName="Trench Shield";
  92. model="\RD501_Vehicles\static\shields\bubble\deka_shield.p3d";
  93. icon="iconObject_1x1";
  94. vehicleClass = macro_editor_vehicle_type(statics)
  95. editorCategory = macro_editor_cat(statics)
  96. editorSubcategory = macro_editor_cat(static_msc)
  97. };
  98. };