config.cpp 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_explosives
  5. {
  6. addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
  7. requiredAddons[]=
  8. {
  9. RD501_patch_vehicles
  10. };
  11. requiredVersion=0.1;
  12. units[]=
  13. {
  14. "Rd501_Explosive_Barrel"
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. class CfgVehicles
  22. {
  23. class Land_3as_ExplodeBarrel_1;
  24. class 442_box4;
  25. class Rd501_Explosive_Barrel: 442_box4
  26. {
  27. scope=2;
  28. scopeCurator=2;
  29. displayName="Explosive Barrel";
  30. model="\RD501_Vehicles\static\Explosives\data\barrel_0.p3d";
  31. vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type(statics));
  32. editorCategory = MACRO_QUOTE(macro_editor_cat(statics));
  33. editorSubcategory = MACRO_QUOTE(macro_editor_cat(static_msc));
  34. ace_dragging_canCarry = 1;
  35. ace_dragging_canDrag = 1;
  36. armor=25;
  37. destrType = "DestructBuilding";
  38. explosionEffect="RD501_BlueFuelExplosion";
  39. class ACE_Actions {
  40. class ACE_MainActions {
  41. displayName = "Interact";
  42. selection = "mem01";
  43. distance = 10;
  44. condition = "true";
  45. };
  46. };
  47. transportFuel=1000;
  48. class DestructionEffects
  49. {
  50. /*class Smoke1
  51. {
  52. intensity=1;
  53. interval=1;
  54. lifeTime=1;
  55. position="";
  56. simulation="particles";
  57. type="ObjectDestructionSmokeSmall";
  58. };
  59. /*class Smoke2
  60. {
  61. intensity=1;
  62. interval=1;
  63. lifeTime=1;
  64. position="";
  65. simulation="particles";
  66. type="ObjectDestructionSmoke2";
  67. };*/
  68. class Fire1
  69. {
  70. intensity=0.5;
  71. interval=1;
  72. lifeTime=2;
  73. position="";
  74. simulation="particles";
  75. type="RD501_BlueObjectDestructionFire1Small";
  76. };
  77. class HouseDestr
  78. {
  79. intensity=1;
  80. interval=1;
  81. lifeTime=5;
  82. position="";
  83. simulation="destroy";
  84. type="DelayedDestruction";
  85. };
  86. };
  87. };
  88. };