mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add PDW SD attachment support
This commit is contained in:
@@ -58,7 +58,7 @@ weaponsUS[] =
|
||||
|
||||
// Submachine Guns
|
||||
{Loot_WEAPON, 3, PDW_DZ},
|
||||
{Loot_WEAPON, 3, UZI_SD_EP1},
|
||||
{Loot_WEAPON, 3, PDW_SD_DZ},
|
||||
|
||||
// Assault Rifles
|
||||
{Loot_WEAPON, 6, M16A2_DZ},
|
||||
|
||||
@@ -44,7 +44,7 @@ class Category_13 {
|
||||
class Category_14 {
|
||||
class Sa61_EP1 {type = "trade_weapons";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class PDW_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class UZI_SD_EP1 {type = "trade_weapons";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"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"};};
|
||||
class MP5_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {22,"ItemSilverBar10oz"};};
|
||||
class Bizon_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
|
||||
@@ -188,9 +188,10 @@ class CfgWeapons
|
||||
#include "Pistols\Makarov.hpp"
|
||||
|
||||
class UZI_EP1;
|
||||
class UZI_SD_EP1;
|
||||
#include "Pistols\PDW.hpp"
|
||||
|
||||
class revolver_EP1;
|
||||
class revolver_EP1;
|
||||
#include "Pistols\Revolver.hpp"
|
||||
|
||||
#include "Pistols\CZ75.hpp"
|
||||
|
||||
@@ -1,10 +1,19 @@
|
||||
class PDW_DZ : UZI_EP1
|
||||
{
|
||||
/* //Allow default A2 mags
|
||||
magazines[] =
|
||||
class Attachments
|
||||
{
|
||||
30Rnd_9x19_UZI,
|
||||
30Rnd_9x19_UZI_SD
|
||||
Attachment_Sup9 = "PDW_SD_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class PDW_SD_DZ : UZI_SD_EP1
|
||||
{
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'PDW_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
*/
|
||||
};
|
||||
Reference in New Issue
Block a user