mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
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.
41 lines
759 B
C++
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};
|
|
}; |