diff --git a/addons/ballistics/CfgAmmo.hpp b/addons/ballistics/CfgAmmo.hpp new file mode 100644 index 0000000000..79f99c33a4 --- /dev/null +++ b/addons/ballistics/CfgAmmo.hpp @@ -0,0 +1,20 @@ +class CfgAmmo { + class BulletCore; + + class BulletBase: BulletCore { + timeToLive = 15; // Default: 6, doubleplusgood all munition range. + }; + + class B_20mm : BulletBase { + timeToLive = 30; + }; + class B_25mm : BulletBase { + timeToLive = 30; + }; + class B_35mm_AA : BulletBase { + timeToLive = 30; + }; + class B_30mm_AP : BulletBase { + timeToLive = 30; + }; +}; \ No newline at end of file diff --git a/addons/ballistics/config.cpp b/addons/ballistics/config.cpp index c526b0f7d4..4b9944364c 100644 --- a/addons/ballistics/config.cpp +++ b/addons/ballistics/config.cpp @@ -14,3 +14,4 @@ class CfgPatches { #include "CfgVehicles.hpp" #include "CfgWeapons.hpp" +#include "CfgAmmo.hpp" \ No newline at end of file