Add new attachments

made by @seelenapparat and @DeVloek
This commit is contained in:
A Man
2020-01-15 22:43:17 +01:00
parent acb2938653
commit e4a9bc1800
10 changed files with 213 additions and 0 deletions

View 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";
};
};
};

View File

@@ -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"

View File

@@ -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;
};

View 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";
};
};
};

View 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";
};
};
};

View 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";
};
};
};

View 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";
};
};
};

View 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";
};
};
};

View 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";
};
};
};