config.cpp 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. };
  20. weapons[]=
  21. {
  22. };
  23. };
  24. };
  25. class CfgVehicles
  26. {
  27. class Land_House_Small_03_V1_ruins_F;
  28. class RD501_Squad_Shield: Land_House_Small_03_V1_ruins_F
  29. {
  30. author="$STR_A3_Bohemia_Interactive";
  31. mapSize=21.1;
  32. class SimpleObject
  33. {
  34. eden=0;
  35. animate[]={};
  36. hide[]={};
  37. verticalOffset=-0.023;
  38. verticalOffsetWorld=0;
  39. init="''";
  40. };
  41. editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
  42. scope=2;
  43. scopeCurator=2;
  44. displayName="Squad Shield";
  45. model="\RD501_Vehicles\static\shields\bubble\bubble.p3d";
  46. icon="iconObject_1x1";
  47. vehicleClass = macro_editor_vehicle_type(statics)
  48. editorCategory = macro_editor_cat(statics)
  49. editorSubcategory = macro_editor_cat(static_msc)
  50. };
  51. class RD501_Squad_Shield_trench: Land_House_Small_03_V1_ruins_F
  52. {
  53. author="$STR_A3_Bohemia_Interactive";
  54. mapSize=21.1;
  55. class SimpleObject
  56. {
  57. eden=0;
  58. animate[]={};
  59. hide[]={};
  60. verticalOffset=-0.023;
  61. verticalOffsetWorld=0;
  62. init="''";
  63. };
  64. editorPreview="\A3\EditorPreviews_F\Data\CfgVehicles\Land_House_Small_03_V1_ruins_F.jpg";
  65. scope=2;
  66. scopeCurator=2;
  67. displayName="Trench Shield";
  68. model="\RD501_Vehicles\static\shields\trench\trench.p3d";
  69. icon="iconObject_1x1";
  70. vehicleClass = macro_editor_vehicle_type(statics)
  71. editorCategory = macro_editor_cat(statics)
  72. editorSubcategory = macro_editor_cat(static_msc)
  73. };
  74. };