From 996bbd2a283c3ba6f0874eff60d8b5d0fcee49ce Mon Sep 17 00:00:00 2001 From: Dabako Date: Thu, 22 Apr 2021 05:38:08 +0200 Subject: [PATCH] RHS ARF Compat - Fix RPK74M wrong ammo bug (#8223) * Fixed RPK74M wrong ammo bug * Fix wrong deleted lines of code * Edit rjs_weap_rpk74_base to rhs_weap_rpk_base Co-authored-by: Dabako Co-authored-by: PabstMirror --- AUTHORS.txt | 1 + optionals/compat_rhs_afrf3/CfgWeapons.hpp | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 20b54ffc0c..20d2654f28 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -169,4 +169,5 @@ xrufix Zakant zGuba Fyuran +dabako Frank diff --git a/optionals/compat_rhs_afrf3/CfgWeapons.hpp b/optionals/compat_rhs_afrf3/CfgWeapons.hpp index d0bd43a16a..a962899ad6 100644 --- a/optionals/compat_rhs_afrf3/CfgWeapons.hpp +++ b/optionals/compat_rhs_afrf3/CfgWeapons.hpp @@ -57,6 +57,11 @@ class CfgWeapons { class rhs_weap_svds_npz: rhs_weap_svds { ACE_RailHeightAboveBore = 4.3348; }; + class rhs_weap_rpk_base; + class rhs_weap_rpk74_base : rhs_weap_rpk_base { + ACE_barrelLength = 590.00; + ACE_barrelTwist = 195.072; + }; class rhs_pkp_base; class rhs_weap_pkp: rhs_pkp_base { ACE_barrelTwist = 240.03; @@ -67,10 +72,6 @@ class CfgWeapons { ACE_barrelTwist = 240.03; ACE_barrelLength = 645.16; }; - class rhs_weap_rpk74: rhs_weap_pkp { - ACE_barrelTwist = 195.072; - ACE_barrelLength = 589.28; - }; class rhs_weap_orsis_Base_F; class rhs_weap_t5000: rhs_weap_orsis_Base_F { // http://en.orsis.com/production/catalog/19046/ ACE_barrelTwist = 254.0; // 1:10"