mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add Steyr TMP
This commit is contained in:
@@ -171,6 +171,8 @@ AmmoEU[] =
|
||||
// Submachine guns
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_MP5},
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_MP5SD},
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_TMP},
|
||||
{Loot_MAGAZINE, 6, 30Rnd_9x19_TMPSD},
|
||||
|
||||
// Assault rifles
|
||||
{Loot_MAGAZINE, 10, 30Rnd_556x45_G36},
|
||||
|
||||
@@ -129,6 +129,7 @@ weaponsEU[] =
|
||||
{Loot_WEAPON, 7, MP5_SD_DZ},
|
||||
{Loot_WEAPON, 7, MP7_DZ},
|
||||
{Loot_WEAPON, 7, MP7_SD_DZ},
|
||||
{Loot_WEAPON, 7, TMP_DZ},
|
||||
|
||||
// Assault Rifles
|
||||
{Loot_WEAPON, 5, G36A_Camo_DZ},
|
||||
|
||||
@@ -372,4 +372,20 @@ class 32Rnd_9x19_TEC9: 15Rnd_9x19_M9
|
||||
delete ReloadMag;
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 30Rnd_9x19_TMP : 30Rnd_9x19_MP5
|
||||
{
|
||||
displayName = $STR_DZ_MAG_30RND_9X19_TMP_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_30RND_TMP_DESC;
|
||||
model = "\RH_smg\mags\mag_uzi.p3d";
|
||||
picture = "\RH_smg\inv\m_uzi.paa";
|
||||
};
|
||||
|
||||
class 30Rnd_9x19_TMPSD : 30Rnd_9x19_MP5SD
|
||||
{
|
||||
model = "\RH_smg\mags\mag_uzi.p3d";
|
||||
picture = "\RH_smg\inv\m_uzi.paa";
|
||||
displayName = $STR_DZ_MAG_30RND_9X19_TMPSD_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_30RND_TMPSD_DESC;
|
||||
};
|
||||
@@ -36,6 +36,8 @@ class Category_20 {
|
||||
class 30Rnd_9x19_UZI_SD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 30Rnd_9x19_MP5 {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class 30Rnd_9x19_MP5SD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 30Rnd_9x19_TMP {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class 30Rnd_9x19_TMPSD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 64Rnd_9x19_Bizon {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class 64Rnd_9x19_SD_Bizon {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 40Rnd_46x30_mp7 {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
|
||||
@@ -119,6 +119,12 @@ class Category_14 {
|
||||
class Kriss_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class Kriss_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class Kriss_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class TMP_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class TMP_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class TMP_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
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"};};
|
||||
};
|
||||
|
||||
//Single-shot/Shotguns
|
||||
|
||||
@@ -160,6 +160,7 @@ class CfgWeapons
|
||||
#include "Rifles\Kriss.hpp"
|
||||
#include "Rifles\CZScorpion.hpp"
|
||||
#include "Rifles\MP7.hpp"
|
||||
#include "Rifles\TMP.hpp"
|
||||
|
||||
class M16A2;
|
||||
class M16A2GL;
|
||||
@@ -221,7 +222,7 @@ class CfgWeapons
|
||||
class UZI_SD_EP1;
|
||||
#include "Pistols\PDW.hpp"
|
||||
#include "Pistols\TEC9.hpp"
|
||||
#include "Pistols\MAC10.hpp"
|
||||
#include "Pistols\MAC10.hpp"
|
||||
|
||||
class revolver_EP1;
|
||||
#include "Pistols\Revolver.hpp"
|
||||
|
||||
157
SQF/dayz_code/Configs/CfgWeapons/Rifles/TMP.hpp
Normal file
157
SQF/dayz_code/Configs/CfgWeapons/Rifles/TMP.hpp
Normal file
@@ -0,0 +1,157 @@
|
||||
class TMP_DZ: MP5A5
|
||||
{
|
||||
displayName = $STR_DZ_WPN_TMP_NAME;
|
||||
model = "\RH_smg\RH_tmp.p3d";
|
||||
picture = "\RH_smg\inv\tmp.paa";
|
||||
handAnim[] = {"OFP2_ManSkeleton","\RH_smg\Anim\NORRN_RH_tmp.rtm"};
|
||||
reloadMagazineSound[] = {"\RH_smg\sound\tmp_Reload.wss",0.056234,1,25};
|
||||
modes[] = {"Single","FullAuto"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\tmp.wss",1.778279,1,900};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
delete Burst;
|
||||
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\tmp.wss",1.778279,1,900};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
magazines[] = {"30Rnd_9x19_TMP"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "TMP_SD_DZ";
|
||||
Attachment_CCO = "TMP_CCO_DZ";
|
||||
Attachment_Holo = "TMP_Holo_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class TMP_CCO_DZ: TMP_DZ {
|
||||
displayName = $STR_DZ_WPN_TMP_CCO_NAME;
|
||||
model = "\RH_smg\RH_tmpaim.p3d";
|
||||
picture = "\RH_smg\inv\tmpaim.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "TMP_CCO_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'TMP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TMP_Holo_DZ: TMP_DZ {
|
||||
displayName = $STR_DZ_WPN_TMP_HOLO_NAME;
|
||||
model = "\RH_smg\RH_tmpeot.p3d";
|
||||
picture = "\RH_smg\inv\tmpeot.paa";
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Sup9 = "TMP_Holo_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'TMP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TMP_SD_DZ: MP5SD
|
||||
{
|
||||
displayName = $STR_DZ_WPN_TMP_SD_NAME;
|
||||
model = "\RH_smg\RH_tmpsd.p3d";
|
||||
picture = "\RH_smg\inv\tmpsd.paa";
|
||||
handAnim[] = {"OFP2_ManSkeleton","\RH_smg\Anim\NORRN_RH_tmp.rtm"};
|
||||
reloadMagazineSound[] = {"\RH_smg\sound\tmp_Reload.wss",0.056234,1,25};
|
||||
modes[] = {"Single","FullAuto"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\tmpsd.wss",1.778279,1,50};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
delete Burst;
|
||||
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\tmpsd.wss",1.778279,1,50};
|
||||
soundBegin[] = {"begin1",1};
|
||||
};
|
||||
|
||||
magazines[] = {"30Rnd_9x19_TMPSD"};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "TMP_CCO_SD_DZ";
|
||||
Attachment_Holo = "TMP_Holo_SD_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'TMP_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TMP_CCO_SD_DZ: TMP_SD_DZ {
|
||||
displayName = $STR_DZ_WPN_TMP_CCO_SD_NAME;
|
||||
model = "\RH_smg\RH_tmpsdaim.p3d";
|
||||
picture = "\RH_smg\inv\tmpsdaim.paa";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'TMP_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'TMP_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class TMP_Holo_SD_DZ: TMP_SD_DZ {
|
||||
displayName = $STR_DZ_WPN_TMP_Holo_SD_NAME;
|
||||
model = "\RH_smg\RH_tmpsdeot.p3d";
|
||||
picture = "\RH_smg\inv\tmpsdeot.paa";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveSuppressor
|
||||
{
|
||||
text = $STR_ATTACHMENT_RMVE_Silencer;
|
||||
script = "; ['Attachment_Sup9',_id,'TMP_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'TMP_SD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user