From b88d1b4cac146233c822c581e7949339ca1c966d Mon Sep 17 00:00:00 2001 From: jaynus Date: Thu, 2 Apr 2015 10:45:52 -0700 Subject: [PATCH] Begin time to live changes for extended range rounds. --- addons/ballistics/CfgAmmo.hpp | 11 +++++++++++ addons/ballistics/config.cpp | 1 + 2 files changed, 12 insertions(+) create mode 100644 addons/ballistics/CfgAmmo.hpp diff --git a/addons/ballistics/CfgAmmo.hpp b/addons/ballistics/CfgAmmo.hpp new file mode 100644 index 0000000000..1eb07a95a6 --- /dev/null +++ b/addons/ballistics/CfgAmmo.hpp @@ -0,0 +1,11 @@ +class CfgAmmo { + class BulletBase; + + class B_20mm : BulletBase { + timeToLive = 20; + }; + + class B_25mm: BulletBase { + timeToLive = 20; + }; +}; \ 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