mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-17 05:32:57 +03:00
Add Groza
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "Sup556.hpp"
|
||||
#include "Sup545.hpp"
|
||||
#include "Sup762.hpp"
|
||||
#include "Sup939.hpp"
|
||||
#include "SupMakarov.hpp"
|
||||
#include "SupBizon.hpp"
|
||||
|
||||
|
||||
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup939.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup939.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_Sup939 : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
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_SUP939_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP939_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -87,4 +87,14 @@ class 30Rnd_762x39_RK95SD : 30Rnd_762x39_RK95
|
||||
ammo = "B_762x39_SD";
|
||||
|
||||
cartridgeName = "762x39_SD";
|
||||
};
|
||||
|
||||
class 30Rnd_762x39_Groza1: 30Rnd_762x39_RK95 {
|
||||
displayName = $STR_DZ_MAG_30RND_Groza1_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_30RND_Groza1_DESC;
|
||||
};
|
||||
|
||||
class 30Rnd_762x39_Groza1SD: 30Rnd_762x39_RK95SD {
|
||||
displayName = $STR_DZ_MAG_30RND_Groza1SD_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_30RND_Groza1SD_DESC;
|
||||
};
|
||||
52
SQF/dayz_code/Configs/CfgMagazines/Magazines/9x39.hpp
Normal file
52
SQF/dayz_code/Configs/CfgMagazines/Magazines/9x39.hpp
Normal file
@@ -0,0 +1,52 @@
|
||||
//VSS
|
||||
class 10Rnd_9x39_SP5_VSS: CA_Magazine
|
||||
{
|
||||
model = "dayz_epoch_c\models\magazines\VSS_vintorez_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_10Rnd_9x39_SP5_VSS_NAME;
|
||||
|
||||
cartridgeName = "9x39";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 20Rnd_9x39_SP5_VSS: CA_Magazine
|
||||
{
|
||||
model = "dayz_epoch_c\models\magazines\VSS_vintorez_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_20Rnd_9x39_SP5_VSS_NAME;
|
||||
|
||||
cartridgeName = "9x39";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
//Groza-9
|
||||
class 20Rnd_9x39_Groza9: CA_Magazine {
|
||||
scope = public;
|
||||
displayName = $STR_DZ_MAG_20RND_Groza9_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_20RND_Groza9_DESC;
|
||||
picture = "\RH_aks\inv\m_oc.paa";
|
||||
model = "\RH_aks\mags\mag_oc14.p3d";
|
||||
count = 20;
|
||||
cartridgeName = "9x39";
|
||||
ammo = "B_9x39_OC14_Ball";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 20Rnd_9x39_Groza9SD: 20Rnd_9x39_Groza9 {
|
||||
displayName = $STR_DZ_MAG_20RND_Groza9SD_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_20RND_Groza9SD_DESC;
|
||||
picture = "\RH_aks\inv\m_oc.paa";
|
||||
cartridgeName = "9x39_SD";
|
||||
ammo = "B_9x39_OC14_SD";
|
||||
};
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "86x70.hpp" //L115, MSR
|
||||
#include "762x67.hpp" //XM2010
|
||||
#include "20x102.hpp" //Anzio
|
||||
#include "9x39.hpp" //Groza, VSS
|
||||
#include "Misc.hpp" //CZ550, Lee-Enfield
|
||||
#include "Shotgun.hpp"
|
||||
#include "Arrows.hpp"
|
||||
|
||||
@@ -51,32 +51,6 @@ class 5Rnd_127x108_KSVK : CA_Magazine
|
||||
};
|
||||
};
|
||||
|
||||
//VSS
|
||||
class 10Rnd_9x39_SP5_VSS: CA_Magazine
|
||||
{
|
||||
model = "dayz_epoch_c\models\magazines\VSS_vintorez_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_10Rnd_9x39_SP5_VSS_NAME;
|
||||
|
||||
cartridgeName = "9x39";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
//VSS
|
||||
class 20Rnd_9x39_SP5_VSS: CA_Magazine
|
||||
{
|
||||
model = "dayz_epoch_c\models\magazines\VSS_vintorez_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_20Rnd_9x39_SP5_VSS_NAME;
|
||||
|
||||
cartridgeName = "9x39";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
//Sa61
|
||||
class 10Rnd_B_765x17_Ball: CA_Magazine
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user