Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgWeapons/Rifles/M24.hpp
AirwavesMan 9675e2301f Add more _DZ versions of arma 2 weapons
All Arma 2 weapons except the TWS and launchers have a _DZ version now. So it is no longer confusing which weapon version should be spawned. Always use the _DZ versions.
2021-01-09 11:14:37 +01:00

41 lines
759 B
C++

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";
};
};
};
class M24_des_EP1;
class M24_DES_DZ : M24_des_EP1
{
displayName = $STR_DZ_WPN_M24_DESERT_NAME;
magazines[] = {5Rnd_762x51_M24};
};