mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
See:
https://github.com/Goliath86/CorePatch/blob/master/CorePatch_Weapons/description.txt#L18
Consistent with f663cdc
Default A2OA versions can be used if no NVG is desired
46 lines
985 B
C++
46 lines
985 B
C++
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"};
|
|
|
|
class Attachments
|
|
{
|
|
Attachment_Ghillie = "DMR_Gh_DZ";
|
|
};
|
|
};
|
|
|
|
class DMR_SKN : DMR_DZ {};
|
|
|
|
class DMR_Gh_DZ : DMR_DZ
|
|
{
|
|
model = "z\addons\dayz_communityweapons\dmr\dmr_ghillie.p3d";
|
|
picture = "\z\addons\dayz_communityweapons\dmr\data\w_dmr_ghillie_ca.paa";
|
|
displayName = $STR_DZ_WPN_DMR_GH_NAME;
|
|
|
|
memoryPointCamera = "opticView";
|
|
|
|
class Attachments {};
|
|
|
|
class ItemActions
|
|
{
|
|
class RemoveGhillie
|
|
{
|
|
text = $STR_DZ_ATT_GHIL_RMVE;
|
|
script = "; ['Attachment_Ghillie',_id,'DMR_DZ'] call player_removeAttachment";
|
|
};
|
|
};
|
|
}; |