mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
Add new attachments
made by @seelenapparat and @DeVloek
This commit is contained in:
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/ANPVS4.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/ANPVS4.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_ANPVS4 : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_anpvs4.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_ANPVS4_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_ANPVS4_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -25,3 +25,11 @@
|
||||
#include "Ghillie.hpp"
|
||||
|
||||
#include "SA58RIS.hpp"
|
||||
|
||||
#include "ANPVS4.hpp"
|
||||
#include "Laser.hpp"
|
||||
#include "NSPU.hpp"
|
||||
#include "NV.hpp"
|
||||
#include "TWS.hpp"
|
||||
#include "Sup762.hpp"
|
||||
#include "Sup_45.hpp"
|
||||
@@ -24,4 +24,19 @@ class Attachment_Ghillie : CA_Magazine
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
class Attachment_Ghillie_Desert : Attachment_Ghillie
|
||||
{
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_netting_desert.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_GHIL_DES_NAME;
|
||||
};
|
||||
class Attachment_Ghillie_Snow : Attachment_Ghillie
|
||||
{
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_netting_snow.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_GHIL_SNOW_NAME;
|
||||
};
|
||||
class Attachment_Ghillie_Urban : Attachment_Ghillie
|
||||
{
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_netting_urban.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_GHIL_URB_NAME;
|
||||
};
|
||||
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/Laser.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/Laser.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_Laser : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_laser.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_LASER_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_LASER_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/NSPU.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/NSPU.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_NSPU : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityweapons\attachments\pso\pso.p3d";
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_nspu.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_NSPU_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_NSPU_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
16
SQF/dayz_code/Configs/CfgMagazines/Attachments/NV.hpp
Normal file
16
SQF/dayz_code/Configs/CfgMagazines/Attachments/NV.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
class Attachment_NV : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_nv.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_NV_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_NV_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_Sup762 : 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_DZE_ATTACHMENT_762SUP_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_762SUP_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
19
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup_45.hpp
Normal file
19
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup_45.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
class Attachment_Sup_45 : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
|
||||
|
||||
displayName = $STR_DZE_ATTACHMENT_45SUP_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_45SUP_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp
Normal file
17
SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
class Attachment_Tws : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
|
||||
picture = "\dayz_epoch_c\icons\attachments\attachment_tws.paa";
|
||||
displayName = $STR_DZE_ATTACHMENT_TWS_NAME;
|
||||
descriptionShort = $STR_DZE_ATTACHMENT_TWS_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user