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