From e6bc44225fa2ab76fc71cd2414fb108e5ced5924 Mon Sep 17 00:00:00 2001 From: Laid3acK Date: Sun, 17 Oct 2021 04:14:13 +0200 Subject: [PATCH] R3F/RHS Compat - Add Ace vehicle damage incendiary (#8537) * ace_vehicle_damage_incendiary * ace_vehicle_damage_incendiary --- optionals/compat_r3f/CfgAmmo.hpp | 9 +++++++++ optionals/compat_rhs_usf3/CfgAmmo.hpp | 1 + 2 files changed, 10 insertions(+) diff --git a/optionals/compat_r3f/CfgAmmo.hpp b/optionals/compat_r3f/CfgAmmo.hpp index 085d15edd2..93a93e41fe 100644 --- a/optionals/compat_r3f/CfgAmmo.hpp +++ b/optionals/compat_r3f/CfgAmmo.hpp @@ -74,6 +74,10 @@ class CfgAmmo { ACE_dragModel = 1; ACE_muzzleVelocities[] = {780}; ACE_barrelLengths[] = {700}; + EGVAR(vehicle_damage,incendiary) = 0.2; + }; + class R3F_127x99_PEI: R3F_127x99_Ball { + EGVAR(vehicle_damage,incendiary) = 1.0; }; class R3F_127x99_Ball2: BulletBase { // BARRETT M107 M33 https://github.com/acemod/ACE3/blob/master/addons/ballistics/CfgAmmo.hpp#L635 airFriction = -0.000618; // ACE3 value, default -0.00086 @@ -88,6 +92,10 @@ class CfgAmmo { ACE_dragModel = 1; ACE_muzzleVelocities[] = {850}; ACE_barrelLengths[] = {736.6}; + EGVAR(vehicle_damage,incendiary) = 0.2; + }; + class R3F_127x99_PEI2: R3F_127x99_Ball2 { + EGVAR(vehicle_damage,incendiary) = 1.0; }; class R3F_127x99_Ball3: BulletBase { // McMillan TAC-50 AMAX https://web.archive.org/web/20080527201619/http://mcmfamily.com/pdfs/Tac-50%20Technical%20Data.pdf typicalSpeed = 823; // R3F default value 820 @@ -103,5 +111,6 @@ class CfgAmmo { ACE_dragModel = 1; ACE_muzzleVelocities[] = {831}; // at 21°C, at 15°C 823 m/s (2700 fps) according with the R3F_TAC50 initSpeed ACE_barrelLengths[] = {736.6}; + EGVAR(vehicle_damage,incendiary) = 0.2; }; }; diff --git a/optionals/compat_rhs_usf3/CfgAmmo.hpp b/optionals/compat_rhs_usf3/CfgAmmo.hpp index 721184d200..dbf35096a7 100644 --- a/optionals/compat_rhs_usf3/CfgAmmo.hpp +++ b/optionals/compat_rhs_usf3/CfgAmmo.hpp @@ -26,6 +26,7 @@ class CfgAmmo { ACE_dragModel = 1; ACE_muzzleVelocities[] = {900}; ACE_barrelLengths[] = {736.6}; + EGVAR(vehicle_damage,incendiary) = 1.0; // Raufoss Mk 211 HEIAP (high-explosive, incendiary, armor-piercing) }; class B_762x54_Ball; class rhsusf_B_300winmag: B_762x54_Ball { // ACE_762x67_Ball_Mk248_Mod_1 (ballistics/CfgAmmo.hpp)