Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x39.hpp
ebaydayz 73d557806e Mag names, Attachments names, Translation fixes
Vanilla development commit:

af9e009bae

- renamed magazines for better sorting
- renamed attachments for better sorting ([A] prefix added) some fixes,
some strings moved to proper section
- Remington 870 added to new attachment system (weapon flashlight)
- Double-barrel shotgun will now spawns with pellets and has Doubleshot
option (maybe this will make it more popular?)
2016-07-10 15:25:36 -04:00

61 lines
1.2 KiB
C++

/* AK47 <-> SA58 */
class 30Rnd_762x39_AK47 : CA_Magazine
{
model = "z\addons\dayz_communityweapons\magazines\ak47.p3d";
picture = "\z\addons\dayz_communityweapons\magazines\data\m_ak47_ca.paa";
displayName = $STR_DZ_MAG_30RND_762X39_AK47_NAME;
cartridgeName = "762x39";
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = $STR_MAG_CONV_AK47_SA58;
script = "spawn player_reloadMag;";
use[] = {30Rnd_762x39_AK47};
output[] = {30Rnd_762x39_SA58};
};
};
};
class 75Rnd_762x39_RPK : 30Rnd_762x39_AK47
{
model = "ca\weapons\mag_univ.p3d";
picture = "\z\addons\dayz_communityweapons\magazines\data\m_rpk_ca.paa";
displayName = $STR_DZ_MAG_75RND_762X39_RPK_NAME;
descriptionShort = $STR_DZ_MAG_75RND_762X39_RPK_DESC;
count = 75;
tracersEvery = 4;
lastRoundsTracer = 4;
class ItemActions
{
COMBINE_MAG
};
};
class 30Rnd_762x39_SA58 : CA_Magazine
{
model = "z\addons\dayz_communityweapons\magazines\vz58.p3d";
displayName = $STR_DZ_MAG_30RND_762X39_SA58_NAME;
cartridgeName = "762x39";
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = $STR_MAG_CONV_SA58_AK47;
script = "spawn player_reloadMag;";
use[] = {30Rnd_762x39_SA58};
output[] = {30Rnd_762x39_AK47};
};
};
};