Add new pistols

Add new pistols from Robert Hammer.

- 23 new pistols
- New sounds for the M9, M1911, PDW
- New magazine icon and model for M1911
- Full attachment support for different pistols
This commit is contained in:
A Man
2020-02-19 09:52:01 +01:00
parent e185ec79d9
commit 7587f4d748
35 changed files with 1697 additions and 225 deletions

View File

@@ -0,0 +1,24 @@
class Attachment_Sup45 : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
displayName = $STR_DZE_ATTACHMENT_45SUP_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_45SUP_DESC;
class ItemActions
{
class AttachToSecondary
{
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
script = "; [_id,0] call player_attachAttachment";
};
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};