mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 20:52:56 +03:00
Add P99
Thx @SyNcRoNiCzZ
This commit is contained in:
@@ -180,6 +180,7 @@ class CfgWeapons
|
||||
class M9;
|
||||
class M9SD;
|
||||
#include "Pistols\M9.hpp"
|
||||
#include "Pistols\P99.hpp"
|
||||
|
||||
class glock17_EP1;
|
||||
#include "Pistols\G17.hpp"
|
||||
|
||||
100
SQF/dayz_code/Configs/CfgWeapons/Pistols/P99.hpp
Normal file
100
SQF/dayz_code/Configs/CfgWeapons/Pistols/P99.hpp
Normal file
@@ -0,0 +1,100 @@
|
||||
class P99_Black_DZ: M9
|
||||
{
|
||||
displayName = $STR_DZ_WPN_P99_NAME;
|
||||
model = "\C1987_P99\P99_black.p3d";
|
||||
picture = "\C1987_P99\equip\p99_black.paa";
|
||||
soundBegin[] = {"begin1",1};
|
||||
begin1[] = {"\C1987_P99\sound\p99.wss",1.0,1};
|
||||
reloadMagazineSound[] = {"\C1987_P99\sound\p99_reload.wss",0.1,1,20};
|
||||
magazines[] = {"15Rnd_10x22_p99","15Rnd_10x22_p99_sd"};
|
||||
descriptionShort = $STR_DZ_WPN_P99_DESC;
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "The Walther P99 is a semi-automatic pistol developed by the German Company Carl Walther GmbH Sportwaffen of Ulm for law enforcement, security forces and the civilian shooting market as a replacement for the Walther P5 and the P88. The P99 and its variants are also made under license by Fabryka Broni Radom.";
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "P99_Black_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class P99_Black_SD_DZ: M9SD
|
||||
{
|
||||
displayName = $STR_DZ_WPN_P99SD_NAME;
|
||||
model = "\C1987_P99\P99_black_sd.p3d";
|
||||
picture = "\C1987_P99\equip\p99_black_sd.paa";
|
||||
soundBegin[] = {"begin1",1};
|
||||
fireLightDuration = 0.0;
|
||||
fireLightIntensity = 0.0;
|
||||
begin1[] = {"\C1987_P99\sound\p99_sd.wss",1.0,1};
|
||||
reloadMagazineSound[] = {"\C1987_P99\sound\p99_reload.wss",0.1,1,20};
|
||||
magazines[] = {"15Rnd_10x22_p99_sd"};
|
||||
descriptionShort = $STR_DZ_WPN_P99SD_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'P99_Black_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class P99_Green_DZ: P99_Black_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_P99_NAME;
|
||||
model = "\C1987_P99\P99_green.p3d";
|
||||
picture = "\C1987_P99\equip\p99_green.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "P99_Green_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class P99_Green_SD_DZ: P99_Black_SD_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_P99SD_NAME;
|
||||
model = "\C1987_P99\P99_green_sd.p3d";
|
||||
picture = "\C1987_P99\equip\p99_green_sd.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'P99_Green_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class P99_Silver_DZ: P99_Black_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_P99_NAME;
|
||||
model = "\C1987_P99\P99_silver.p3d";
|
||||
picture = "\C1987_P99\equip\p99_silver.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "P99_Silver_SD_DZ";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
class P99_Silver_SD_DZ: P99_Black_SD_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_P99SD_NAME;
|
||||
model = "\C1987_P99\P99_silver_sd.p3d";
|
||||
picture = "\C1987_P99\equip\p99_silver_sd.paa";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'P99_Silver_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user