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

@@ -34,4 +34,4 @@
#include "NV.hpp"
#include "TWS.hpp"
#include "Sup762.hpp"
#include "Sup_45.hpp"
#include "Sup45.hpp"

View File

@@ -1,4 +1,4 @@
class Attachment_Sup_45 : CA_Magazine {
class Attachment_Sup45 : CA_Magazine {
scope = public;
count = 1;
type = 256;
@@ -15,5 +15,10 @@ class Attachment_Sup_45 : CA_Magazine {
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";
};
};
};