mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 09:32:02 +03:00
CFG WEAPONS DONE
This commit is contained in:
33
SQF/dayz_code/Configs/CfgWeapons/Rifles/M24.hpp
Normal file
33
SQF/dayz_code/Configs/CfgWeapons/Rifles/M24.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
class M24_DZ : M24
|
||||
{
|
||||
model = "ca\weapons\m24_green.p3d";
|
||||
displayName = $STR_DZ_WPN_M24_NAME;
|
||||
|
||||
magazines[] = {5Rnd_762x51_M24};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "M24_Gh_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class M24_Gh_DZ : M24_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m24\m24_ghillie.p3d";
|
||||
picture = "\ca\weapons\data\equip\w_m24_camo_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_WPN_M24_GH_NAME;
|
||||
|
||||
memoryPointCamera = "opticView";
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie',_id,'M24_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user