mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-13 19:52:57 +03:00
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:
@@ -189,20 +189,30 @@ class CfgWeapons
|
||||
class M9SD;
|
||||
#include "Pistols\M9.hpp"
|
||||
#include "Pistols\P99.hpp"
|
||||
#include "Pistols\Browning.hpp"
|
||||
#include "Pistols\P226.hpp"
|
||||
#include "Pistols\P38.hpp"
|
||||
#include "Pistols\PPK.hpp"
|
||||
#include "Pistols\MK22.hpp"
|
||||
|
||||
class glock17_EP1;
|
||||
#include "Pistols\G17.hpp"
|
||||
#include "Pistols\G18.hpp"
|
||||
|
||||
class Colt1911;
|
||||
#include "Pistols\M1911.hpp"
|
||||
#include "Pistols\USP.hpp"
|
||||
|
||||
class Makarov;
|
||||
class MakarovSD;
|
||||
#include "Pistols\Makarov.hpp"
|
||||
#include "Pistols\TT33.hpp"
|
||||
#include "Pistols\RugerMK2.hpp"
|
||||
|
||||
class UZI_EP1;
|
||||
class UZI_SD_EP1;
|
||||
#include "Pistols\PDW.hpp"
|
||||
#include "Pistols\TEC9.hpp"
|
||||
|
||||
class revolver_EP1;
|
||||
#include "Pistols\Revolver.hpp"
|
||||
|
||||
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/Browning.hpp
Normal file
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/Browning.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
class BrowningHP_DZ: M9
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_BROWNING_HP_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_BROWNING_HP_DESC;
|
||||
model = "\RH_de\RH_browninghp.p3d";
|
||||
picture = "\RH_de\inv\browninghp.paa";
|
||||
begin1[] = {"\RH_de\sound\browninghp.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\p226_reload.wss",0.1,1,20};
|
||||
magazines[] = {"13Rnd_9x19_BHP"};
|
||||
};
|
||||
67
SQF/dayz_code/Configs/CfgWeapons/Pistols/G18.hpp
Normal file
67
SQF/dayz_code/Configs/CfgWeapons/Pistols/G18.hpp
Normal file
@@ -0,0 +1,67 @@
|
||||
class G18_DZ : glock17_EP1
|
||||
{
|
||||
displayName = $STR_DZ_WPN_G18_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_G18_DESC;
|
||||
model = "\RH_de\RH_g18.p3d";
|
||||
picture = "\RH_de\inv\g18.paa";
|
||||
reloadMagazineSound[] = {"\RH_de\sound\glock_reload.wss",0.1,1,20};
|
||||
modes[] = {"Single","Fullauto"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_de\sound\glock.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
soundContinuous = 0;
|
||||
dispersion = 0.011;
|
||||
reloadTime = 0.05;
|
||||
recoil = "recoil_single_pistol_3outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_3outof3";
|
||||
ffCount = 1;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
aiRateOfFire = 1.5;
|
||||
aiRateOfFireDistance = 50;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.3;
|
||||
midRange = 30;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 50;
|
||||
maxRangeProbab = 0.4;
|
||||
};
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_de\sound\glock.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
soundContinuous = 0;
|
||||
multiplier = 1;
|
||||
burst = 1;
|
||||
dispersion = 0.011;
|
||||
reloadTime = 0.05;
|
||||
recoil = "recoil_single_pistol_3outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_3outof3";
|
||||
ffCount = 3;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
autofire = 2;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
aiRateOfFire = 0.001;
|
||||
aiRateOfFireDistance = 50;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.7;
|
||||
midRange = 10;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 20;
|
||||
maxRangeProbab = 0.2;
|
||||
};
|
||||
|
||||
magazines[] = {"33Rnd_9x19_G18"};
|
||||
};
|
||||
@@ -1,4 +1,49 @@
|
||||
class M1911_DZ : Colt1911
|
||||
{
|
||||
magazines[] = {7Rnd_45ACP_1911};
|
||||
begin1[] = {"\RH_de\sound\m1911old.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
magazines[] = {"7Rnd_45ACP_1911"};
|
||||
};
|
||||
|
||||
class M1911_2_DZ : M1911_DZ
|
||||
{
|
||||
model = "\RH_de\RH_m1911old.p3d";
|
||||
picture = "\RH_de\inv\coltold.paa";
|
||||
};
|
||||
|
||||
class Kimber_M1911_DZ: M1911_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_KIMBER1911_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_KIMBER1911_DESC;
|
||||
model = "\RH_de\RH_m1911.p3d";
|
||||
picture = "\RH_de\inv\colt.paa";
|
||||
begin1[] = {"\RH_de\sound\m1911.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\m1911_reload.wss",0.1,1,20};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup45 = "Kimber_M1911_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class Kimber_M1911_SD_DZ: M1911_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_KIMBER1911SD_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_KIMBER1911SD_DESC;
|
||||
model = "\RH_de\RH_m1911sd.p3d";
|
||||
picture = "\RH_de\inv\coltsd.paa";
|
||||
begin1[] = {"\RH_de\sound\m1911sd.wss",0.316228,1,200};
|
||||
soundBegin[] = {"begin1",1};
|
||||
magazines[] = {"7Rnd_45ACP_1911SD"};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup45',_id,'Kimber_M1911_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,6 +1,9 @@
|
||||
class M9_DZ : M9
|
||||
class M9_DZ: M9
|
||||
{
|
||||
displayName = $STR_DZ_WPN_M9_NAME;
|
||||
|
||||
begin1[] = {"\RH_de\Sound\m93r.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
@@ -14,11 +17,15 @@ class M9_DZ : M9
|
||||
};
|
||||
};
|
||||
|
||||
class M9_SD_DZ : M9SD
|
||||
class M9_SD_DZ: M9SD
|
||||
{
|
||||
//model = "z\addons\dayz_communityweapons\m9\m9_sd.p3d";
|
||||
displayName = $STR_DZ_WPN_M9_SD_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_M9_SD_DESC;
|
||||
|
||||
begin1[] = {"\RH_de\Sound\m9sd.wss",0.316228,1,200};
|
||||
soundBegin[] = {"begin1",1};
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
15Rnd_9x19_M9SD,
|
||||
@@ -33,4 +40,102 @@ class M9_SD_DZ : M9SD
|
||||
script = "; ['Attachment_Sup9',_id,'M9_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M9_Camo_DZ: M9_DZ
|
||||
{
|
||||
model = "\RH_de\RH_m9c.p3d";
|
||||
picture = "\RH_de\inv\m9c.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "M9_Camo_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M9_Camo_SD_DZ: M9_SD_DZ
|
||||
{
|
||||
model = "\RH_de\RH_m9csd.p3d";
|
||||
picture = "\RH_de\inv\m9csd.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'M9_Camo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M93R_DZ: M9
|
||||
{
|
||||
displayName = $STR_DZ_WPN_M93R_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_M93R_DESC;
|
||||
model = "\RH_de\RH_m93r.p3d";
|
||||
picture = "\RH_de\inv\m93.paa";
|
||||
UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
|
||||
modes[] = {"Single","Burst"};
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
20Rnd_9x19_M93R,
|
||||
15Rnd_9x19_M9
|
||||
};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_de\Sound\m93r.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
soundContinuous = 0;
|
||||
dispersion = 0.011;
|
||||
reloadTime = 0.055;
|
||||
recoil = "recoil_single_pistol_3outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_3outof3";
|
||||
ffCount = 1;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
aiRateOfFire = 0.5;
|
||||
aiRateOfFireDistance = 50;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 30;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 50;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
class Burst: Mode_Burst
|
||||
{
|
||||
begin1[] = {"\RH_de\Sound\m93r.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
autofire = 0;
|
||||
soundBurst = 0;
|
||||
soundContinuous = 0;
|
||||
burst = 3;
|
||||
dispersion = 0.011;
|
||||
reloadTime = 0.055;
|
||||
recoil = "recoil_single_pistol_3outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_3outof3";
|
||||
ffCount = 3;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
aiRateOfFire = 0.055;
|
||||
aiRateOfFireDistance = 50;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.6;
|
||||
midRange = 10;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 20;
|
||||
maxRangeProbab = 0.2;
|
||||
};
|
||||
};
|
||||
67
SQF/dayz_code/Configs/CfgWeapons/Pistols/MK22.hpp
Normal file
67
SQF/dayz_code/Configs/CfgWeapons/Pistols/MK22.hpp
Normal file
@@ -0,0 +1,67 @@
|
||||
class MK22_DZ: M9
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_MK22_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MK22_DESC;
|
||||
model = "\RH_de\RH_mk22.p3d";
|
||||
picture = "\RH_de\inv\mk22.paa";
|
||||
begin1[] = {"\RH_de\sound\mk22.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\mk22_reload.wss",0.031623,1,20};
|
||||
magazines[] = {"8Rnd_9x19_MK22"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "MK22_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class MK22_2_DZ: MK22_DZ
|
||||
{
|
||||
model = "\RH_de\RH_mk22v.p3d";
|
||||
picture = "\RH_de\inv\mk22v.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "MK22_2_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class MK22_SD_DZ: M9SD
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_MK22SD_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MK22SD_DESC;
|
||||
model = "\RH_de\RH_mk22sd.p3d";
|
||||
picture = "\RH_de\inv\mk22sd.paa";
|
||||
begin1[] = {"\RH_de\sound\mk22sd.wss",0.316228,1,200};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\mk22_reload.wss",0.031623,1,20};
|
||||
magazines[] = {"8Rnd_9x19_MK22SD"};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'MK22_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class MK22_2_SD_DZ: MK22_SD_DZ
|
||||
{
|
||||
model = "\RH_de\RH_mk22vsd.p3d";
|
||||
picture = "\RH_de\inv\mk22vsd.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'MK22_2_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
19
SQF/dayz_code/Configs/CfgWeapons/Pistols/P226.hpp
Normal file
19
SQF/dayz_code/Configs/CfgWeapons/Pistols/P226.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
class P226_DZ: M9
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_P226_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_P226_DESC;
|
||||
model = "\RH_de\RH_p226.p3d";
|
||||
picture = "\RH_de\inv\p226.paa";
|
||||
begin1[] = {"\RH_de\sound\p226.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\p226_reload.wss",0.1,1,20};
|
||||
magazines[] = {"15Rnd_9x19_P226"};
|
||||
};
|
||||
|
||||
class P226_Silver_DZ: P226_DZ
|
||||
{
|
||||
model = "\RH_de\RH_p226s.p3d";
|
||||
picture = "\RH_de\inv\p226s.paa";
|
||||
};
|
||||
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/P38.hpp
Normal file
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/P38.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
class P38_DZ: M9
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_P38_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_P38_DESC;
|
||||
model = "\RH_de\RH_p38.p3d";
|
||||
picture = "\RH_de\inv\p38.paa";
|
||||
begin1[] = {"\RH_de\sound\p38.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\p38_reload.wss",0.1,1,20};
|
||||
magazines[] = {"8Rnd_9x19_P38"};
|
||||
};
|
||||
@@ -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
|
||||
|
||||
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/PPK.hpp
Normal file
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/PPK.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
class PPK_DZ: M9
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_PPK_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_PPK_DESC;
|
||||
model = "\RH_de\RH_ppk.p3d";
|
||||
picture = "\RH_de\inv\ppk.paa";
|
||||
begin1[] = {"\RH_de\sound\ppk.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\ppk_reload.wss",0.1,1,20};
|
||||
magazines[] = {"7Rnd_9x17_PPK"};
|
||||
};
|
||||
@@ -1,4 +1,65 @@
|
||||
class Revolver_DZ : revolver_EP1
|
||||
{
|
||||
magazines[] = {6Rnd_45ACP};
|
||||
};
|
||||
|
||||
class Colt_Anaconda_DZ: Pistol
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_COLT_ANACONDA_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_COLT_ANACONDA_DESC;
|
||||
model = "\RH_de\RH_anac.p3d";
|
||||
picture = "\RH_de\inv\anac.paa";
|
||||
modelOptics = "-";
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 30;
|
||||
midRangeProbab = 0.8;
|
||||
maxRange = 50;
|
||||
maxRangeProbab = 0.04;
|
||||
distanceZoomMin = 56;
|
||||
distanceZoomMax = 56;
|
||||
optics = "true";
|
||||
dexterity = 1.85;
|
||||
begin1[] = {"\RH_de\sound\anac.wss",0.794328,1,800};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\bullreload.wss",0.1,1,20};
|
||||
magazines[] = {"6Rnd_44Magnum"};
|
||||
dispersion = 0.0085;
|
||||
ffCount = 1;
|
||||
recoil = "ColtAnaconda_Recoil";
|
||||
reloadTime = 0.2;
|
||||
aiRateOfFire = 2.9;
|
||||
aiRateOfFireDistance = 50;
|
||||
};
|
||||
|
||||
class Colt_Anaconda_Gold_DZ: Colt_Anaconda_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_COLT_ANACONDA_GOLD_NAME;
|
||||
model = "\RH_de\RH_anacg.p3d";
|
||||
picture = "\RH_de\inv\anacg.paa";
|
||||
};
|
||||
|
||||
class Colt_Bull_DZ: Colt_Anaconda_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_TAURUS_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_TAURUS_DESC;
|
||||
model = "\RH_de\RH_bull.p3d";
|
||||
picture = "\RH_de\inv\bull.paa";
|
||||
begin1[] = {"\RH_de\sound\bull.wss",0.794328,1,800};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
class Colt_Python_DZ: Colt_Anaconda_DZ
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_DZ_WPN_COLT_PYTHON_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_COLT_PYTHON_DESC;
|
||||
model = "\RH_de\RH_python.p3d";
|
||||
picture = "\RH_de\inv\python.paa";
|
||||
begin1[] = {"\RH_de\sound\python.wss",0.794328,1,1000};
|
||||
soundBegin[] = {"begin1",1};
|
||||
magazines[] = {"6Rnd_357Magnum"};
|
||||
recoil = "ColtPython_Recoil";
|
||||
};
|
||||
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/RugerMK2.hpp
Normal file
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/RugerMK2.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
class Ruger_MK2_DZ: Makarov
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_RUGERMK2_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_RUGERMK2_DESC;
|
||||
model = "\RH_de\RH_mk2.p3d";
|
||||
picture = "\RH_de\inv\mk2.paa";
|
||||
begin1[] = {"\RH_de\sound\Mk2.wss",0.316228,1,200};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\mk2_reload.wss",0.031623,1,20};
|
||||
magazines[] = {"10Rnd_22lfB_RUGERMK2"};
|
||||
};
|
||||
67
SQF/dayz_code/Configs/CfgWeapons/Pistols/TEC9.hpp
Normal file
67
SQF/dayz_code/Configs/CfgWeapons/Pistols/TEC9.hpp
Normal file
@@ -0,0 +1,67 @@
|
||||
class TEC9_DZ : glock17_EP1
|
||||
{
|
||||
displayName = $STR_DZ_WPN_TEC9_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_TEC9_DESC;
|
||||
model = "\RH_de\RH_tec9.p3d";
|
||||
picture = "\RH_de\inv\tec9.paa";
|
||||
reloadMagazineSound[] = {"\RH_de\sound\tec9_reload.wss",0.056234,1,25};
|
||||
modes[] = {"Single","Fullauto"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_de\Sound\tec9.wss",1.778279,1,900};
|
||||
soundBegin[] = {"begin1",1};
|
||||
soundContinuous = 0;
|
||||
dispersion = 0.015;
|
||||
reloadTime = 0.07;
|
||||
recoil = "recoil_single_pistol_3outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_3outof3";
|
||||
ffCount = 1;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
autofire = 0;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
aiRateOfFire = 0.5;
|
||||
aiRateOfFireDistance = 50;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.3;
|
||||
midRange = 30;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 50;
|
||||
maxRangeProbab = 0.5;
|
||||
};
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_de\Sound\tec9.wss",1.778279,1,900};
|
||||
soundBegin[] = {"begin1",1};
|
||||
soundContinuous = 0;
|
||||
burst = 1;
|
||||
dispersion = 0.015;
|
||||
reloadTime = 0.07;
|
||||
recoil = "recoil_single_pistol_3outof3";
|
||||
recoilProne = "recoil_single_pistol_prone_3outof3";
|
||||
ffCount = 1;
|
||||
ffMagnitude = 0.5;
|
||||
ffFrequency = 11;
|
||||
autofire = 2;
|
||||
flash = "gunfire";
|
||||
flashSize = 0.1;
|
||||
useAction = 0;
|
||||
useActionTitle = "";
|
||||
showToPlayer = 1;
|
||||
aiRateOfFire = 0.1;
|
||||
aiRateOfFireDistance = 50;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.5;
|
||||
midRange = 20;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 40;
|
||||
maxRangeProbab = 0.2;
|
||||
};
|
||||
|
||||
magazines[] = {"32Rnd_9x19_TEC9"};
|
||||
};
|
||||
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/TT33.hpp
Normal file
13
SQF/dayz_code/Configs/CfgWeapons/Pistols/TT33.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
class Tokarew_TT33_DZ: Makarov
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_TT33_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_TT33_DESC;
|
||||
model = "\RH_de\RH_tt33.p3d";
|
||||
picture = "\RH_de\inv\tt33.paa";
|
||||
begin1[] = {"\RH_de\sound\TT33.wss",0.794328,1,700};
|
||||
soundBegin[] = {"begin1",1};
|
||||
drySound[] = {"\ca\Weapons\Data\Sound\T33_dry_v1",0.01,1,20};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\tt33_reload.wss",0.1,1,20};
|
||||
magazines[] = {"8Rnd_762x25_TT33"};
|
||||
};
|
||||
49
SQF/dayz_code/Configs/CfgWeapons/Pistols/USP.hpp
Normal file
49
SQF/dayz_code/Configs/CfgWeapons/Pistols/USP.hpp
Normal file
@@ -0,0 +1,49 @@
|
||||
class USP_DZ : Colt1911
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_WPN_USP_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_USP_DESC;
|
||||
model = "\RH_de\RH_usp.p3d";
|
||||
picture = "\RH_de\inv\usp.paa";
|
||||
begin1[] = {"\RH_de\sound\usp.wss",0.794328,1,800};
|
||||
soundBegin[] = {"begin1",1};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\usp_reload.wss",0.1,1,20};
|
||||
magazines[] = {"15Rnd_45ACP_USP"};
|
||||
|
||||
class FlashLight
|
||||
{
|
||||
color[] = {0.9,0.9,0.7,0.9};
|
||||
ambient[] = {0.1,0.1,0.1,1.0};
|
||||
position = "flash dir";
|
||||
direction = "flash";
|
||||
angle = 30;
|
||||
scale[] = {1,1,0.5};
|
||||
brightness = 0.1;
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup45 = "USP_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class USP_SD_DZ: USP_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_USPSD_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_USPSD_DESC;
|
||||
model = "\RH_de\RH_uspsd.p3d";
|
||||
picture = "\RH_de\inv\uspsd.paa";
|
||||
begin1[] = {"\RH_de\sound\uspsd.wss",0.316228,1,200};
|
||||
soundBegin[] = {"begin1",1};
|
||||
reloadMagazineSound[] = {"\RH_de\sound\usp_reload.wss",0.031623,1,20};
|
||||
magazines[] = {"15Rnd_45ACP_USPSD"};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup45',_id,'USP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user