diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/DMR.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/DMR.hpp index bcc617603..ba03f3d1f 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/DMR.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/DMR.hpp @@ -1,19 +1,7 @@ class DMR_DZ : DMR { - //model = "z\addons\dayz_communityweapons\dmr\dmr.p3d"; displayName = $STR_DZ_WPN_DMR_NAME; - //memoryPointCamera = "opticView"; - - //magazines[] = {20Rnd_762x51_DMR}; - - class Single : Single - { - //reloadTime = 0.6; - //recoil = "recoil_single_primary_4outof10"; - //recoilProne = "recoil_single_primary_prone_4outof10"; - }; - //A2OA DMR does not allow NVG after 2018-04-05 CorePatch visionMode[] = {"Normal", "NVG"}; @@ -43,4 +31,30 @@ class DMR_Gh_DZ : DMR_DZ script = "; ['Attachment_Ghillie',_id,'DMR_DZ'] call player_removeAttachment"; }; }; +}; + +//DMR without NVG support + +class DMR_DZE : DMR_DZ +{ + visionMode[] = {"Normal"}; + + class Attachments + { + Attachment_Ghillie = "DMR_Gh_DZE"; + }; +}; + +class DMR_Gh_DZE : DMR_Gh_DZ +{ + visionMode[] = {"Normal"}; + + class ItemActions + { + class RemoveGhillie + { + text = $STR_DZ_ATT_GHIL_RMVE; + script = "; ['Attachment_Ghillie',_id,'DMR_DZE'] call player_removeAttachment"; + }; + }; }; \ No newline at end of file