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

@@ -1,5 +1,35 @@
class PDW_DZ : UZI_EP1
{
class Single: Mode_SemiAuto
{
begin1[] = {"\RH_de\Sound\muzi.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
reloadTime = 0.075;
recoil = "recoil_single_pistol_2outof3";
recoilProne = "recoil_single_pistol_prone_2outof3";
minRange = 0;
minRangeProbab = 0.05;
midRange = 30;
midRangeProbab = 0.3;
maxRange = 50;
maxRangeProbab = 0.04;
};
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_de\Sound\muzi.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
soundBurst = 0;
reloadTime = 0.075;
recoil = "recoil_single_pistol_3outof3";
recoilProne = "recoil_single_pistol_prone_3outof3";
minRange = 0;
minRangeProbab = 0.1;
midRange = 30;
midRangeProbab = 0.3;
maxRange = 50;
maxRangeProbab = 0.02;
};
class Attachments
{
Attachment_Sup9 = "PDW_SD_DZ";
@@ -8,6 +38,31 @@ class PDW_DZ : UZI_EP1
class PDW_SD_DZ : UZI_SD_EP1
{
class Single: Mode_SemiAuto
{
begin1[] = {"\RH_smg\sound\mp5sd.wss",1.778279,1,300};
soundBegin[] = {"begin1",1};
minRange = 0;
minRangeProbab = 0.05;
midRange = 15;
midRangeProbab = 0.3;
maxRange = 20;
maxRangeProbab = 0.04;
};
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_smg\sound\mp5sd.wss",1.778279,1,300};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_pistol_2outof3";
recoilProne = "recoil_single_pistol_prone_2outof3";
minRange = 0;
minRangeProbab = 0.1;
midRange = 15;
midRangeProbab = 0.3;
maxRange = 20;
maxRangeProbab = 0.02;
};
class ItemActions
{
class RemoveSuppressor