From 1d30dc2bffacf2f466b754156b0f51bf3722f9e5 Mon Sep 17 00:00:00 2001 From: AirwavesMan Date: Sun, 24 Jan 2021 17:42:50 +0100 Subject: [PATCH] Fix MK14 attachemnts Thx @Schalldampfer --- SQF/dayz_code/Configs/CfgWeapons/Rifles/MK14.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/MK14.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/MK14.hpp index c825d732c..334e68e8f 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/MK14.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/MK14.hpp @@ -94,6 +94,11 @@ class MK14_CCO_DZ: MK14_DZ script = "; ['Attachment_CCO',_id,'MK14_DZ'] call player_removeAttachment"; }; }; + + class Attachments + { + Attachment_Sup762 = "MK14_CCO_SD_DZ"; + }; }; class MK14_Holo_DZ: MK14_DZ @@ -160,6 +165,8 @@ class MK14_Sniper_DZ: MK14_DZ weaponInfoType = "RscWeaponZeroing"; discreteDistance[] = {100,200,300,400,500,600,700,800}; discreteDistanceInitIndex = 2; + + class Attachments {}; }; class MK14_SD_DZ: M14_EP1 @@ -309,6 +316,8 @@ class MK14_Sniper_SD_DZ: MK14_SD_DZ weaponInfoType = "RscWeaponZeroing"; discreteDistance[] = {100,200,300,400,500,600,700,800}; discreteDistanceInitIndex = 2; + + class Attachments {}; class ItemActions {}; };