mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-16 13:12:56 +03:00
Add P90
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "Sup9.hpp"
|
||||
#include "Sup10.hpp"
|
||||
#include "Sup57.hpp"
|
||||
#include "Sup68.hpp"
|
||||
#include "Sup556.hpp"
|
||||
#include "Sup545.hpp"
|
||||
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup57.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup57.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Sup57 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP57_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP57_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
28
SQF/dayz_code/Configs/CfgMagazines/Magazines/57x28.hpp
Normal file
28
SQF/dayz_code/Configs/CfgMagazines/Magazines/57x28.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
//P90
|
||||
class 50Rnd_57x28_P90: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
displayName = $STR_DZ_MAG_50RND_P90_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_50RND_P90_DESC;
|
||||
model = "\RH_smg\mags\mag_p90.p3d";
|
||||
picture = "\RH_smg\inv\m_p90.paa";
|
||||
count = 50;
|
||||
ammo = "B_57x28_Ball";
|
||||
|
||||
cartridgeName = "5.7x28";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 50Rnd_57x28_P90SD: 50Rnd_57x28_P90
|
||||
{
|
||||
displayName = $STR_DZ_MAG_50RND_P90SD_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_50RND_P90SD_DESC;
|
||||
picture = "\RH_smg\inv\m_p90.paa";
|
||||
ammo = "B_57x28_SD";
|
||||
|
||||
cartridgeName = "5.7x28_SD";
|
||||
};
|
||||
@@ -22,6 +22,7 @@
|
||||
#include "762x51.hpp" //M240, FN FAL, DMR, M24
|
||||
#include "762x54r.hpp" //PK, SVD, Mosin
|
||||
#include "46x30.hpp" //MP7
|
||||
#include "57x28.hpp" //P90
|
||||
#include "680x43.hpp" //ACR
|
||||
#include "86x70.hpp" //L115, MSR
|
||||
#include "762x67.hpp" //XM2010
|
||||
|
||||
Reference in New Issue
Block a user