Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
A Man e4a9bc1800 Add new attachments
made by @seelenapparat and @DeVloek
2020-01-15 22:43:17 +01:00

42 lines
1.1 KiB
C++

class Attachment_Ghillie : CA_Magazine
{
scope = public;
count = 1;
type = WeaponSlotItem;
model = "ca\weapons\mag_univ.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\ghillie\data\m_ghillie_ca.paa";
displayName = $STR_DZ_ATT_GHIL_NAME;
descriptionShort = $STR_DZ_ATT_GHIL_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
/*class AttachToSecondary
{
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
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;
};