mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
@@ -4,6 +4,9 @@
|
||||
#include "FL.hpp"
|
||||
#include "FL_Pist.hpp"
|
||||
|
||||
#include "MFL.hpp"
|
||||
#include "MFL_Pist.hpp"
|
||||
|
||||
#include "CCO.hpp"
|
||||
#include "Holo.hpp"
|
||||
#include "ACOG.hpp"
|
||||
@@ -21,4 +24,4 @@
|
||||
|
||||
#include "Ghillie.hpp"
|
||||
|
||||
#include "SA58RIS.hpp"
|
||||
#include "SA58RIS.hpp"
|
||||
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_MFL : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_MFL_RFL_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_MFL_RFL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL_Pist.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/MFL_Pist.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_MFL_Pist : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_MFL_PST_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_MFL_PST_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user