mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Add UMP
This commit is contained in:
@@ -173,6 +173,8 @@ AmmoEU[] =
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_MP5SD},
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_TMP},
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_TMPSD},
|
||||
{Loot_MAGAZINE, 6, 25Rnd_45ACP_UMP},
|
||||
{Loot_MAGAZINE, 6, 25Rnd_45ACP_UMPSD},
|
||||
|
||||
// Assault rifles
|
||||
{Loot_MAGAZINE, 10, 30Rnd_556x45_G36},
|
||||
|
||||
@@ -71,7 +71,9 @@ weaponsUS[] =
|
||||
|
||||
// Submachine Guns
|
||||
{Loot_WEAPON, 3, PDW_DZ},
|
||||
{Loot_WEAPON, 3, PDW_SD_DZ},
|
||||
{Loot_WEAPON, 3, Kriss_DZ},
|
||||
{Loot_WEAPON, 3, Kriss_SD_DZ},
|
||||
{Loot_WEAPON, 3, Mac10_DZ},
|
||||
|
||||
// Assault Rifles
|
||||
@@ -130,6 +132,9 @@ weaponsEU[] =
|
||||
{Loot_WEAPON, 7, MP7_DZ},
|
||||
{Loot_WEAPON, 7, MP7_SD_DZ},
|
||||
{Loot_WEAPON, 7, TMP_DZ},
|
||||
{Loot_WEAPON, 7, TMP_SD_DZ},
|
||||
{Loot_WEAPON, 7, UMP_DZ},
|
||||
{Loot_WEAPON, 7, UMP_SD_DZ},
|
||||
|
||||
// Assault Rifles
|
||||
{Loot_WEAPON, 5, G36A_Camo_DZ},
|
||||
|
||||
@@ -93,4 +93,20 @@ class 33Rnd_45ACP_KRISSSD: 33Rnd_45ACP_KRISS
|
||||
descriptionShort = $STR_DZ_MAG_33RND_KRISSSD_45ACP_DESC;
|
||||
picture = "\RH_smg\inv\m_kriss30.paa";
|
||||
ammo = "B_45ACP_SD";
|
||||
};
|
||||
|
||||
class 25Rnd_45ACP_UMP: 33Rnd_45ACP_KRISS
|
||||
{
|
||||
displayName = $STR_DZ_MAG_25RND_45_UMP_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_25RND_UMP_DESC;
|
||||
model = "\RH_smg\mags\mag_ump.p3d";
|
||||
picture = "\RH_smg\inv\m_ump.paa";
|
||||
count = 25;
|
||||
};
|
||||
class 25Rnd_45ACP_UMPSD: 25Rnd_45ACP_UMP
|
||||
{
|
||||
displayName = $STR_DZ_MAG_25RND_45_UMPSD_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_25RND_UMPSD_DESC;
|
||||
picture = "\RH_smg\inv\m_ump.paa";
|
||||
ammo = "B_45ACP_SD";
|
||||
};
|
||||
@@ -44,6 +44,8 @@ class Category_20 {
|
||||
class 40Rnd_46x30_sd_mp7 {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 33Rnd_45ACP_KRISS {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 33Rnd_45ACP_KRISSSD {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class 25Rnd_45ACP_UMP {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 25Rnd_45ACP_UMPSD {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
};
|
||||
|
||||
//Single-shot/Shotgun Ammo
|
||||
|
||||
@@ -125,6 +125,12 @@ class Category_14 {
|
||||
class TMP_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class TMP_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class TMP_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class UMP_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class UMP_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class UMP_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class UMP_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class UMP_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class UMP_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
};
|
||||
|
||||
//Single-shot/Shotguns
|
||||
|
||||
@@ -161,6 +161,7 @@ class CfgWeapons
|
||||
#include "Rifles\CZScorpion.hpp"
|
||||
#include "Rifles\MP7.hpp"
|
||||
#include "Rifles\TMP.hpp"
|
||||
#include "Rifles\UMP.hpp"
|
||||
|
||||
class M16A2;
|
||||
class M16A2GL;
|
||||
|
||||
159
SQF/dayz_code/Configs/CfgWeapons/Rifles/UMP.hpp
Normal file
159
SQF/dayz_code/Configs/CfgWeapons/Rifles/UMP.hpp
Normal file
@@ -0,0 +1,159 @@
|
||||
class UMP_DZ: MP5A5
|
||||
{
|
||||
displayName = $STR_DZ_WPN_UMP_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_UMP_DESC;
|
||||
model = "\RH_smg\RH_UMP.p3d";
|
||||
picture = "\RH_smg\inv\ump.paa";
|
||||
handAnim[] = {"OFP2_ManSkeleton"};
|
||||
reloadMagazineSound[] = {"\RH_smg\sound\ump_Reload.wss",0.056234,1,25};
|
||||
modes[] = {"Single","FullAuto"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\ump.wss",1.778279,1,900};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
delete Burst;
|
||||
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\ump.wss",1.778279,1,900};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
magazines[] = {"25Rnd_45ACP_UMP"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup45 = "UMP_SD_DZ";
|
||||
Attachment_CCO = "UMP_CCO_DZ";
|
||||
Attachment_Holo = "UMP_Holo_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class UMP_CCO_DZ: UMP_DZ {
|
||||
displayName = $STR_DZ_WPN_UMP_CCO_NAME;
|
||||
model = "\RH_smg\RH_umpaim.p3d";
|
||||
picture = "\RH_smg\inv\umpaim.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup45 = "UMP_CCO_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'UMP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class UMP_Holo_DZ: UMP_DZ {
|
||||
displayName = $STR_DZ_WPN_UMP_HOLO_NAME;
|
||||
model = "\RH_smg\RH_umpeot.p3d";
|
||||
picture = "\RH_smg\inv\umpeot.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup45 = "UMP_Holo_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'UMP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class UMP_SD_DZ: MP5SD
|
||||
{
|
||||
displayName = $STR_DZ_WPN_UMP_SD_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_UMP_SD_DESC;
|
||||
model = "\RH_smg\RH_umpsd.p3d";
|
||||
picture = "\RH_smg\inv\umpsd.paa";
|
||||
handAnim[] = {"OFP2_ManSkeleton"};
|
||||
reloadMagazineSound[] = {"\RH_smg\sound\ump_Reload.wss",0.056234,1,25};
|
||||
modes[] = {"Single","FullAuto"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
delete Burst;
|
||||
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
magazines[] = {"25Rnd_45ACP_UMPSD"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "UMP_CCO_SD_DZ";
|
||||
Attachment_Holo = "UMP_Holo_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup45',_id,'UMP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class UMP_CCO_SD_DZ: UMP_SD_DZ {
|
||||
displayName = $STR_DZ_WPN_UMP_CCO_SD_NAME;
|
||||
model = "\RH_smg\RH_umpsdaim.p3d";
|
||||
picture = "\RH_smg\inv\umpsdaim.paa";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup45',_id,'UMP_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'UMP_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class UMP_Holo_SD_DZ: UMP_SD_DZ {
|
||||
displayName = $STR_DZ_WPN_UMP_Holo_SD_NAME;
|
||||
model = "\RH_smg\RH_umpsdeot.p3d";
|
||||
picture = "\RH_smg\inv\umpsdeot.paa";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup45',_id,'UMP_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'UMP_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user