Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Pistols/PDW.hpp
A Man 7587f4d748 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
2020-02-19 09:52:01 +01:00

74 lines
1.6 KiB
C++

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";
};
};
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
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup9',_id,'PDW_DZ'] call player_removeAttachment";
};
};
};