mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add DMR_DZE without NVG support
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user