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

@@ -47,6 +47,7 @@ Included Custom Addons
* FHQ Remington Weapon Pack by Alwarren - http://www.armaholic.com/page.php?id=17971
* RH PDW pack by Robert Hammer - http://www.armaholic.com/page.php?id=12214
* RH M14 pack by Robert Hammer - http://www.armaholic.com/page.php?id=11374
* RH Pistol Pack Remake by Robert Hammer - http://www.armaholic.com/page.php?id=12800
--------------------------
Included Custom Islands
@@ -69,7 +70,7 @@ Initial Developers
* [VB]GREEN - Graphics - http://www.twitch.tv/vbgreen
--------------------------
GitHub Collaborators (In order of most commits)
GitHub Collaborators
--------------------------
* vbawol - https://github.com/vbawol
* eltexonline - https://github.com/eltexonline
@@ -91,7 +92,7 @@ GitHub Collaborators (In order of most commits)
* ArmaWizard - https://github.com/ArmaWizard
--------------------------
GitHub Contributors (In order of most commits)
GitHub Contributors
--------------------------
* vbawol - https://github.com/vbawol
* dayz10k - https://github.com/dayz10k

View File

@@ -5,8 +5,11 @@ AmmoCivilian[] =
{
// Pistols
{Loot_MAGAZINE, 7, 8Rnd_9x18_Makarov},
{Loot_MAGAZINE, 3, 32Rnd_9x19_TEC9},
{Loot_MAGAZINE, 5, 7Rnd_45ACP_1911},
{Loot_MAGAZINE, 3, 6Rnd_45ACP},
{Loot_MAGAZINE, 1, 6Rnd_44Magnum},
{Loot_MAGAZINE, 1, 6Rnd_357Magnum},
// Rifles
{Loot_MAGAZINE, 3, 15Rnd_W1866_Slug},
@@ -49,6 +52,7 @@ AmmoCZ[] = {
{Loot_MAGAZINE, 3, 20Rnd_B_765x17_Ball},
// Pistols
{Loot_MAGAZINE, 5, 13Rnd_9x19_BHP},
{Loot_MAGAZINE, 5, 18Rnd_9x19_Phantom},
{Loot_MAGAZINE, 5, 18Rnd_9x19_PhantomSD},
@@ -67,6 +71,7 @@ AmmoCZ[] = {
AmmoRU[] =
{
// Pistols
{Loot_MAGAZINE, 8, 8Rnd_762x25_TT33},
{Loot_MAGAZINE, 8, 8Rnd_9x18_Makarov},
{Loot_MAGAZINE, 8, 8Rnd_9x18_MakarovSD},
@@ -106,8 +111,12 @@ AmmoRU[] =
AmmoUS[] =
{
// Pistols
{Loot_MAGAZINE, 8, 8Rnd_9x19_MK22},
{Loot_MAGAZINE, 8, 8Rnd_9x19_MK22SD},
{Loot_MAGAZINE, 8, 15Rnd_9x19_M9},
{Loot_MAGAZINE, 8, 15Rnd_9x19_M9SD},
{Loot_MAGAZINE, 6, 7Rnd_45ACP_1911},
{Loot_MAGAZINE, 6, 7Rnd_45ACP_1911SD},
// Submachine guns
{Loot_MAGAZINE, 6, 30Rnd_9x19_UZI},
@@ -147,8 +156,15 @@ AmmoUS[] =
AmmoEU[] =
{
// Pistols
{Loot_MAGAZINE, 8, 7nd_9x17_PPK},
{Loot_MAGAZINE, 8, 8Rnd_9x19_P38},
{Loot_MAGAZINE, 8, 15Rnd_9x19_P226},
{Loot_MAGAZINE, 8, 20Rnd_9x19_M93R},
{Loot_MAGAZINE, 8, 33Rnd_9x19_G18},
{Loot_MAGAZINE, 8, 17Rnd_9x19_glock17},
{Loot_MAGAZINE, 8, 17Rnd_9x19_glock17SD},
{Loot_MAGAZINE, 4, 15Rnd_45ACP_USP},
{Loot_MAGAZINE, 4, 15Rnd_45ACP_USPSD},
// Submachine guns
{Loot_MAGAZINE, 6, 30Rnd_9x19_MP5},

View File

@@ -28,9 +28,11 @@ AttachmentsUS[] =
{Loot_MAGAZINE, 1, Attachment_ACOG},
{Loot_MAGAZINE, 1, Attachment_Ghillie},
{Loot_MAGAZINE, 1, Attachment_M203},
{Loot_MAGAZINE, 1, Attachment_Sup68},
{Loot_MAGAZINE, 1, Attachment_Sup556},
{Loot_MAGAZINE, 1, Attachment_Sup9},
{Loot_MAGAZINE, 1, Attachment_Sup10}
{Loot_MAGAZINE, 1, Attachment_Sup10},
{Loot_MAGAZINE, 1, Attachment_Sup45}
};
// Attachments for European Guns
@@ -40,10 +42,11 @@ AttachmentsEU[] =
{Loot_MAGAZINE, 1, Attachment_Holo},
{Loot_MAGAZINE, 1, Attachment_ACOG},
{Loot_MAGAZINE, 1, Attachment_Sup556},
{Loot_MAGAZINE, 3, Attachment_Sup9},
{Loot_MAGAZINE, 3, Attachment_Sup10},
{Loot_MAGAZINE, 1, Attachment_Sup9},
{Loot_MAGAZINE, 1, Attachment_Sup10},
{Loot_MAGAZINE, 1, Attachment_Sup45},
{Loot_MAGAZINE, 1, Attachment_MFL},
{Loot_MAGAZINE, 3, Attachment_MFL_Pist} // G17 only
{Loot_MAGAZINE, 1, Attachment_MFL_Pist} // G17 only
};
// Attachments for SA58
@@ -53,5 +56,6 @@ AttachmentsCZ[] =
{Loot_MAGAZINE, 1, Attachment_Holo},
{Loot_MAGAZINE, 1, Attachment_ACOG},
{Loot_MAGAZINE, 1, Attachment_SA58RIS},
{Loot_MAGAZINE, 1, Attachment_Sup9},
{Loot_MAGAZINE, 1, Attachment_MFL}
};

View File

@@ -4,6 +4,7 @@
weaponsRU[] =
{
// Pistols
{Loot_WEAPON, 2, Tokarew_TT33_DZ},
{Loot_WEAPON, 2, Makarov_DZ},
{Loot_WEAPON, 1, Makarov_SD_DZ},
{Loot_WEAPON, 2, P99_Silver_DZ},
@@ -42,10 +43,18 @@ weaponsRU[] =
weaponsUS[] =
{
// Pistols
{Loot_WEAPON, 1, M9_DZ},
{Loot_WEAPON, 2, M9_SD_DZ},
{Loot_WEAPON, 1, MK22_DZ},
{Loot_WEAPON, 1, MK22_SD_DZ},
{Loot_WEAPON, 1, MK22_2_DZ},
{Loot_WEAPON, 1, MK22_2_SD_DZ},
{Loot_WEAPON, 2, M9_DZ},
{Loot_WEAPON, 1, M9_SD_DZ},
{Loot_WEAPON, 2, M9_Camo_DZ},
{Loot_WEAPON, 1, M9_Camo_SD_DZ},
{Loot_WEAPON, 2, P99_Green_DZ},
{Loot_WEAPON, 1, P99_Green_SD_DZ},
{Loot_WEAPON, 1, P99_Green_SD_DZ},
{Loot_WEAPON, 2, Kimber_M1911_DZ},
{Loot_WEAPON, 1, Kimber_M1911_SD_DZ},
// Bolt action rifles and shotguns
{Loot_WEAPON, 5, Remington870_DZ},
@@ -88,10 +97,18 @@ weaponsUS[] =
weaponsEU[] =
{
// Pistols
{Loot_WEAPON, 2, M93R_DZ},
{Loot_WEAPON, 2, G18_DZ},
{Loot_WEAPON, 2, P226_DZ},
{Loot_WEAPON, 2, P226_Silver_DZ},
{Loot_WEAPON, 2, PPK_DZ},
{Loot_WEAPON, 2, P38_DZ},
{Loot_WEAPON, 2, G17_DZ},
{Loot_WEAPON, 1, G17_SD_DZ},
{Loot_WEAPON, 2, P99_Black_DZ},
{Loot_WEAPON, 1, P99_Black_SD_DZ},
{Loot_WEAPON, 1, P99_Black_SD_DZ},
{Loot_WEAPON, 2, USP_DZ},
{Loot_WEAPON, 1, USP_SD_DZ},
// Bolt action rifles and shotguns
{Loot_WEAPON, 5, LeeEnfield_DZ},
@@ -148,6 +165,7 @@ weaponsEU[] =
weaponsCZ[] =
{
// Pistols
{Loot_WEAPON, 2, BrowningHP_DZ},
{Loot_WEAPON, 2, CZ75P_DZ},
{Loot_WEAPON, 2, CZ75D_DZ},
{Loot_WEAPON, 2, CZ75SP_DZ},
@@ -181,10 +199,15 @@ weaponsCZ[] =
};
pistols[] = { // Residential spawns
{Loot_WEAPON, 7, Makarov_DZ},
{Loot_WEAPON, 5, M1911_DZ},
{Loot_WEAPON, 3, Revolver_DZ},
{Loot_WEAPON, 1, revolver_gold_EP1}
{Loot_WEAPON, 9, Makarov_DZ},
{Loot_WEAPON, 7, M1911_DZ},
{Loot_WEAPON, 7, M1911_2_DZ},
{Loot_WEAPON, 5, Revolver_DZ},
{Loot_WEAPON, 1, revolver_gold_EP1},
{Loot_WEAPON, 2, Colt_Anaconda_DZ},
{Loot_WEAPON, 1, Colt_Anaconda_Gold_DZ},
{Loot_WEAPON, 2, Colt_Bull_DZ},
{Loot_WEAPON, 1, Colt_Python_DZ}
};

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";
};
};
};

View File

@@ -0,0 +1,15 @@
class 10Rnd_22lfB_RUGERMK2: CA_Magazine
{
scope = public;
displayName = $STR_DZ_MAG_10RND_C22_RUGERMK2_NAME;
descriptionShort = $STR_DZ_MAG_10RND_RUGERMK2_C22_DESC;
picture = "\RH_de\inv\m_mk2.paa";
model = "\RH_de\mags\mag_mk2.p3d";
ammo = "B_22lfB_Ball";
count = 10;
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -0,0 +1,17 @@
class 6Rnd_357Magnum: CA_Magazine
{
scope = public;
type = 16;
displayName = $STR_DZ_MAG_6RND_357MAGNUM_NAME;
descriptionShort = $STR_DZ_MAG_6RND_357MAGNUM_DESC;
picture = "\RH_de\inv\m_44m.paa";
model = "\dayz_equip\models\ammo_acp45.p3d";
ammo = "B_357mag_Ball";
count = 6;
initSpeed = 421;
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -0,0 +1,17 @@
class 6Rnd_44Magnum: CA_Magazine
{
scope = public;
type = 16;
displayName = $STR_DZ_MAG_6RND_44MAGNUM_NAME;
descriptionShort = $STR_DZ_MAG_6RND_44MAGNUM_DESC;
picture = "\RH_de\inv\m_44m.paa";
model = "\dayz_equip\models\ammo_acp45.p3d";
ammo = "B_44mag_Ball";
count = 6;
initSpeed = 421;
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -1,8 +1,11 @@
class 7Rnd_45ACP_1911: CA_Magazine
{
model = "\dayz_equip\models\ammo_1911.p3d";
model = "\RH_de\mags\mag_kim.p3d";
picture = "\RH_de\inv\m_colt.paa";
//model = "\dayz_equip\models\ammo_1911.p3d";
//picture = "\dayz_equip\textures\equip_1911_ca.paa";
displayName = $STR_DZ_MAG_7RND_45ACP_1911_NAME;
descriptionShort = $STR_DZ_MAG_7RND_M1911_45ACP_DESC;
cartridgeName = "45ACP";
@@ -40,4 +43,31 @@ class 6Rnd_45ACP: CA_Magazine
output[] = {"7Rnd_45ACP_1911"};
};
};
};
class 15Rnd_45ACP_USP: 7Rnd_45ACP_1911
{
displayName = $STR_DZ_MAG_15RND_45ACP_USP_NAME;
descriptionShort = $STR_DZ_MAG_15RND_USP_45ACP_DESC;
model = "\RH_de\mags\mag_usp.p3d";
picture = "\RH_de\inv\m_usp.paa";
count = 15;
};
class 15Rnd_45ACP_USPSD: 15Rnd_45ACP_USP
{
displayName = $STR_DZ_MAG_15RND_45ACP_USPSD_NAME;
descriptionShort = $STR_DZ_MAG_15RND_USPSD_45ACP_DESC;
picture = "\RH_de\inv\m_usp.paa";
ammo = "B_45ACP_SD";
initSpeed = 278;
};
class 7Rnd_45ACP_1911SD: 15Rnd_45ACP_USPSD
{
displayName = $STR_DZ_MAG_7RND_45ACP_KIMBER1911SD_NAME;
descriptionShort = $STR_DZ_MAG_7RND_KIMBER1911SD_45ACP_DESC;
model = "\RH_de\mags\mag_kim.p3d";
picture = "\RH_de\inv\m_colt.paa";
ammo = "B_45ACP_SD";
count = 7;
};

View File

@@ -0,0 +1,19 @@
class 8Rnd_762x25_TT33 : CA_Magazine
{
scope = public;
type = 16;
displayName = $STR_DZ_MAG_8RND_762x25_TT33_NAME;
descriptionShort = $STR_DZ_MAG_8RND_TT33_762x25_DESC;
picture = "\RH_de\inv\m_tt33.paa";
model = "\RH_de\mags\mag_tt33.p3d";
ammo = "B_762x25_Ball";
count = 8;
initSpeed = 400;
cartridgeName = "762x25";
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -0,0 +1,17 @@
class 7Rnd_9x17_PPK : CA_Magazine
{
scope = public;
type = 16;
displayName = $STR_DZ_MAG_7RND_9x17_PPK_NAME;
descriptionShort = $STR_DZ_MAG_7RND_PPK_9x17_DESC;
picture = "\RH_de\inv\m_ppk.paa";
model = "\RH_de\mags\mag_ppk.p3d";
ammo = "B_9x17_Ball";
count = 7;
initSpeed = 320;
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -62,6 +62,7 @@ class 30Rnd_9x19_MP5SD : CA_Magazine
class 15Rnd_9x19_M9 : CA_Magazine
{
displayName = $STR_DZ_MAG_15RND_9X19_M9_NAME;
descriptionShort = $STR_DZ_MAG_15RND_M9_9x19_DESC;
cartridgeName = "9x19";
@@ -90,6 +91,7 @@ class 17Rnd_9x19_glock17 : CA_Magazine
model = "z\addons\dayz_communityweapons\magazines\g17.p3d";
picture = "\z\addons\dayz_communityweapons\magazines\data\m_glock17_ca.paa";
displayName = $STR_DZ_MAG_17RND_9X19_GLOCK17_NAME;
descriptionShort = $STR_DZ_MAG_17RND_G17_9x19_DESC;
cartridgeName = "9x19";
@@ -117,6 +119,7 @@ class 15Rnd_9x19_M9SD : 15Rnd_9x19_M9
{
picture = "\z\addons\dayz_communityweapons\magazines\data\m_m9sd_ca.paa";
displayName = $STR_DZ_MAG_15RND_9X19_M9SD_NAME;
descriptionShort = $STR_DZ_MAG_15RND_M9SD_9x19_DESC;
cartridgeName = "9x19_SD";
@@ -144,6 +147,7 @@ class 17Rnd_9x19_glock17SD : 15Rnd_9x19_M9SD
{
picture = "\z\addons\dayz_communityweapons\magazines\data\m_glock17sd_ca.paa";
displayName = $STR_DZ_MAG_17RND_9X19_GLOCK17SD_NAME;
descriptionShort = $STR_DZ_MAG_17RND_G17SD_9x19_DESC;
cartridgeName = "9x19_SD";
@@ -169,8 +173,6 @@ class 17Rnd_9x19_glock17SD : 15Rnd_9x19_M9SD
};
};
/* Bizon */
class 64Rnd_9x19_Bizon : CA_Magazine
@@ -232,4 +234,139 @@ class 18Rnd_9x19_PhantomSD : 15Rnd_9x19_M9SD
delete ReloadMag;
COMBINE_MAG
};
};
/* FN Browning HP */
class 13Rnd_9x19_BHP: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_13RND_9x19_BHP_NAME;
descriptionShort = $STR_DZ_MAG_13RND_BHP_9x19_DESC;
model = "\RH_de\mags\mag_mk22.p3d";
picture = "\RH_de\inv\m_mk22.paa";
count = 13;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
/* SIG Sauer P226 */
class 15Rnd_9x19_P226: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_15RND_9x19_P226_NAME;
descriptionShort = $STR_DZ_MAG_15RND_P226_9x19_DESC;
model = "\RH_de\mags\mag_mk22.p3d";
picture = "\RH_de\inv\m_mk22.paa";
count = 15;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
/* Walther P38 */
class 8Rnd_9x19_P38: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_8RND_9x19_P38_NAME;
descriptionShort = $STR_DZ_MAG_8RND_P38_9x19_DESC;
model = "\RH_de\mags\mag_p38.p3d";
picture = "\RH_de\inv\m_p38.paa";
count = 8;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
/* Mk 22 Mod 0 */
class 8Rnd_9x19_MK22: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_8RND_9x19_MK22_NAME;
descriptionShort = $STR_DZ_MAG_8RND_MK22_9x19_DESC;
model = "\RH_de\mags\mag_mk22.p3d";
picture = "\RH_de\inv\m_mk22.paa";
count = 8;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
class 8Rnd_9x19_MK22SD: 15Rnd_9x19_M9SD
{
displayName = $STR_DZ_MAG_8RND_9x19_MK22SD_NAME;
descriptionShort = $STR_DZ_MAG_8RND_MK22SD_9x19_DESC;
model = "\RH_de\mags\mag_mk22.p3d";
picture = "\RH_de\inv\m_mk22.paa";
count = 8;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
/* M93R */
class 20Rnd_9x19_M93R: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_20RND_9x19mm_M93R_NAME;
descriptionShort = $STR_DZ_MAG_20RND_9x19mm_M93R_DESC;
model = "\RH_de\mags\mag_m93r.p3d";
picture = "\RH_de\inv\m_m93.paa";
count = 20;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
/* G18 */
class 33Rnd_9x19_G18: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_33RND_9x19mm_G18_NAME;
descriptionShort = $STR_DZ_MAG_33RND_9x19mm_G18_DESC;
model = "\RH_de\mags\mag_m93r.p3d";
picture = "\RH_de\inv\m_m93.paa";
count = 33;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};
/* Tec-9 */
class 32Rnd_9x19_TEC9: 15Rnd_9x19_M9
{
displayName = $STR_DZ_MAG_32RND_9x19mm_TEC9_NAME;
descriptionShort = $STR_DZ_MAG_32RND_9x19mm_TEC9_DESC;
model = "\RH_de\mags\mag_tec9.p3d";
picture = "\RH_de\inv\m_tec9.paa";
count = 32;
class ItemActions
{
delete ReloadMag;
COMBINE_MAG
};
};

View File

@@ -6,13 +6,18 @@
script = "spawn player_combineMag;";\
};
#include "22lfB.hpp" //Ruger Mk22
#include "9x17.hpp" //PPK
#include "9x18.hpp" //Makarov
#include "9x19.hpp" //MP5, PDW, Bizon, M9, G17
#include "9x19.hpp" //MP5, PDW, Bizon, M9, G17, CZ75, Browning HP, P226, P38
#include "10x22.hpp" //P99
#include "45ACP.hpp" //Colt M1911, Revolver
#include "44Magnum.hpp" //Taurus Raging Bull, Colt Anaconda
#include "357Magnum.hpp" //Colt Python
#include "545x39.hpp" //AK74, RPK74
#include "556x45.hpp" //M249, STANAG, G36
#include "6x35.hpp" //KAC PDW
#include "762x25.hpp" //Tokarew TT-33
#include "762x39.hpp" //AK47, SA58
#include "762x51.hpp" //M240, FN FAL, DMR, M24
#include "762x54r.hpp" //PK, SVD, Mosin

View File

@@ -16,4 +16,7 @@ class CfgRecoils
M21_Recoil[] = {0,0.013,0.015,0.02,0.013,0.015,0.1,0.009,0.015,0.12,0,0};
M21_ProneRecoil[] = {0,0.012,0.01,0.013,0.012,0.01,0.07,0.007,0,0.12,0,0};
ColtAnaconda_Recoil[] = {0,0,0,0.1,0.1,0.1,0.1,-0.02,-0.03,0.05,0,0};
ColtPython_Recoil[] = {0,0,0,0.15,0.12,0.13,0.14,-0.02,-0.03,0.07,0,0};
};

View File

@@ -1,17 +1,32 @@
//Pistol Ammo
class Category_19 {
class 7Rnd_9x17_PPK {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 8Rnd_9x18_Makarov {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 8Rnd_9x18_MakarovSD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 8Rnd_762x25_TT33 {type = "trade_items";buy[] = {6,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};};
class 8Rnd_9x19_P38 {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 13Rnd_9x19_BHP {type = "trade_items";buy[] = {8,"ItemSilverBar"};sell[] = {4,"ItemSilverBar"};};
class 15Rnd_9x19_P226 {type = "trade_items";buy[] = {1,"ItemSilverBar10oz"};sell[] = {5,"ItemSilverBar"};};
class 8Rnd_9x19_MK22 {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 8Rnd_9x19_MK22SD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 15Rnd_9x19_M9 {type = "trade_items";buy[] = {1,"ItemSilverBar10oz"};sell[] = {5,"ItemSilverBar"};};
class 15Rnd_9x19_M9SD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 17Rnd_9x19_glock17 {type = "trade_items";buy[] = {1,"ItemSilverBar10oz"};sell[] = {5,"ItemSilverBar"};};
class 17Rnd_9x19_glock17SD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 18Rnd_9x19_Phantom {type = "trade_items";buy[] = {1,"ItemSilverBar10oz"};sell[] = {5,"ItemSilverBar"};};
class 18Rnd_9x19_PhantomSD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 6Rnd_45ACP {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 7Rnd_45ACP_1911 {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 8Rnd_9x18_Makarov {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 8Rnd_9x18_MakarovSD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 18Rnd_9x19_PhantomSD {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 20Rnd_9x19_M93R {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 32Rnd_9x19_TEC9 {type = "trade_items";buy[] = {3,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 33Rnd_9x19_G18 {type = "trade_items";buy[] = {3,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 15Rnd_10x22_p99 {type = "trade_items";buy[] = {1,"ItemSilverBar10oz"};sell[] = {5,"ItemSilverBar"};};
class 15Rnd_10x22_p99_sd {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class 7Rnd_45ACP_1911 {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 7Rnd_45ACP_1911SD {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class 15Rnd_45ACP_USP {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class 15Rnd_45ACP_USPSD {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class 6Rnd_45ACP {type = "trade_items";buy[] = {2,"ItemSilverBar"};sell[] = {1,"ItemSilverBar"};};
class 6Rnd_44Magnum {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class 6Rnd_357Magnum {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
};
//Submachine Gun Ammo

View File

@@ -5,6 +5,7 @@ class Category_11 {
class Saiga12K {type = "trade_weapons";buy[] = {3,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class AA12_PMC {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {5,"ItemGoldBar"};};
class revolver_gold_EP1 {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
class Colt_Anaconda_Gold_DZ {type = "trade_weapons";buy[] = {9,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar10oz"};};
class AKS_GOLD {type = "trade_weapons";buy[] = {8,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};};
class MAAWS {type = "trade_weapons";buy[] = {-8,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};};
class 8Rnd_B_Saiga12_74Slug {type = "trade_items";buy[] = {5,"ItemSilverBar"};sell[] = {3,"ItemSilverBar"};};

View File

@@ -16,6 +16,7 @@ class Category_12 {
class Attachment_PSO1 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_Sup9 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_Sup10 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_Sup45 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_Sup545 {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class Attachment_Sup556 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_Sup68 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
@@ -26,11 +27,32 @@ class Category_12 {
//Pistols
class Category_13 {
class Revolver_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class Colt_Anaconda_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class Colt_Bull_DZ {type = "trade_weapons";buy[] = {-2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class Colt_Python_DZ {type = "trade_weapons";buy[] = {-4,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
class M1911_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class M1911_2_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class Kimber_M1911_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class Kimber_M1911_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {25,"ItemSilverBar10oz"};};
class USP_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
class USP_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class PPK_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class Tokarew_TT33_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class Makarov_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class Makarov_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {21,"ItemSilverBar10oz"};};
class P38_DZ {type = "trade_weapons";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
class BrowningHP_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class MK22_DZ {type = "trade_weapons";buy[] = {6,"ItemSilverBar10oz"};sell[] = {3,"ItemSilverBar10oz"};};
class MK22_SD_DZ {type = "trade_weapons";buy[] = {-6,"ItemSilverBar10oz"};sell[] = {23,"ItemSilverBar10oz"};};
class MK22_2_DZ {type = "trade_weapons";buy[] = {6,"ItemSilverBar10oz"};sell[] = {3,"ItemSilverBar10oz"};};
class MK22_2_SD_DZ {type = "trade_weapons";buy[] = {-6,"ItemSilverBar10oz"};sell[] = {23,"ItemSilverBar10oz"};};
class P226_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class P226_Silver_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class M9_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class M9_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {25,"ItemSilverBar10oz"};};
class M9_Camo_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class M9_Camo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {25,"ItemSilverBar10oz"};};
class M93R_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class CZ75P_DZ {type = "trade_weapons";buy[] = {5,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
class CZ75D_DZ {type = "trade_weapons";buy[] = {5,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
class CZ75SP_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
@@ -41,6 +63,7 @@ class Category_13 {
class G17_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {22,"ItemSilverBar10oz"};};
class G17_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {32,"ItemSilverBar10oz"};};
class G17_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {42,"ItemSilverBar10oz"};};
class G18_DZ {type = "trade_weapons";buy[] = {8,"ItemSilverBar10oz"};sell[] = {4,"ItemSilverBar10oz"};};
class P99_Black_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class P99_Black_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {25,"ItemSilverBar10oz"};};
class P99_Green_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
@@ -52,6 +75,7 @@ class Category_13 {
//Submachine Guns
class Category_14 {
class Sa61_EP1 {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class TEC9_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
class PDW_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class PDW_SD_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
class MP5_DZ {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {2,"ItemSilverBar10oz"};};

View File

@@ -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"

View 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"};
};

View 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"};
};

View File

@@ -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";
};
};
};

View File

@@ -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;
};
};

View 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";
};
};
};

View 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";
};

View 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"};
};

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

View 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"};
};

View File

@@ -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";
};

View 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"};
};

View 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"};
};

View 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"};
};

View 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";
};
};
};

View File

@@ -450,10 +450,6 @@ class CfgAmmo
audibleFire = 18;
visibleFireTime = 3;
cost = 1.2;
airLock = 1;
model = "\ca\Weapons\Data\bullettracer\tracer_red";
tracerStartTime = -1;
tracerEndTime = 1;
airFriction = -0.0009324;
};
class Rem_762x51_SD: BulletBase
@@ -466,11 +462,6 @@ class CfgAmmo
audibleFire = 0.1;
visibleFireTime = 2;
cost = 1.2;
airLock = 1;
model = "\ca\Weapons\Data\bullettracer\tracer_red";
tracerStartTime = -1;
tracerEndTime = 1.4;
visibleFire = 0.1;
airFriction = -0.00098;
};
@@ -486,11 +477,6 @@ class CfgAmmo
audibleFire = 18;
visibleFireTime = 3;
cost = 1.2;
airLock = 1;
model = "\ca\Weapons\Data\bullettracer\tracer_red";
tracerScale = 1.2;
tracerStartTime = -1;
tracerEndTime = 1;
airFriction = -0.0009324;
};
class Rem_300Win_SD: BulletBase
@@ -504,11 +490,6 @@ class CfgAmmo
audibleFire = 0.1;
visibleFireTime = 3;
cost = 1.2;
airLock = 1;
model = "\ca\Weapons\Data\bullettracer\tracer_red";
tracerScale = 1.2;
tracerStartTime = -1;
tracerEndTime = 1;
airFriction = -0.0009324;
};
@@ -520,6 +501,82 @@ class CfgAmmo
hit = 8.5;
};
//Colt Anaconda, Taurus Raging Bull
class B_44mag_Ball: BulletBase
{
hit = 12;
cost = 1;
cartridge = "FxCartridge_Small";
typicalSpeed = 260;
airFriction = -0.0015;
caliber = 0.5;
};
//Colt Python
class B_357mag_Ball: BulletBase
{
hit = 14;
cost = 1;
cartridge = "FxCartridge_Small";
typicalSpeed = 260;
airFriction = -0.0015;
caliber = 0.3;
};
//Walther PPK
class B_9x17_Ball: BulletBase
{
airfriction = -0.002751;
audiblefire = 15;
caliber = 0.33;
cartridge = "FxCartridge_9mm";
cost = 5;
hit = 6.2;
typicalspeed = 320;
visiblefire = 12;
};
//USP SD
class B_45ACP_SD: BulletBase
{
airfriction = -0.0013522;
visibleFire = 0.08;
audibleFire = 0.08;
caliber = 0.33; //33
cartridge = "FxCartridge_9mm";
cost = 5;
hit = 8;
indirecthit = 0;
indirecthitrange = 0;
typicalspeed = 260;
};
//Tokarew TT-33
class B_762x25_Ball: BulletBase
{
airfriction = -0.002751;
audiblefire = 15;
caliber = 0.33;
cartridge = "FxCartridge_9mm";
cost = 5;
hit = 9.5;
typicalspeed = 300;
visiblefire = 15;
};
//Ruger MK2
class B_22lfB_Ball: BulletBase
{
airfriction = -0.002751;
audiblefire = 10;
caliber = 0.33;
cartridge = "FxCartridge_9mm";
cost = 5;
hit = 5;
typicalspeed = 400;
visiblefire = 10;
};
//mosin nagant
/*class Mosin_762 : BulletBase
{

File diff suppressed because it is too large Load Diff