mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
CFG WEAPONS DONE
This commit is contained in:
60
SQF/dayz_code/Configs/CfgMagazines/Magazines/762x39.hpp
Normal file
60
SQF/dayz_code/Configs/CfgMagazines/Magazines/762x39.hpp
Normal file
@@ -0,0 +1,60 @@
|
||||
/* 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;
|
||||
|
||||
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";
|
||||
|
||||
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};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user