mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
116 lines
2.8 KiB
C++
116 lines
2.8 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;
|
|
descriptionShort = $STR_DZ_MAG_30RND_AK47M_DESC;
|
|
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 60Rnd_762x39_AK47_Taped : 30Rnd_762x39_AK47
|
|
{
|
|
picture = "\dayz_epoch_c\icons\magazines\m_akm_taped.paa";
|
|
model = "\z\addons\dayz_epoch_w\magazine\dze_akm_twinmag.p3d";
|
|
displayName = $STR_DZ_MAG_60RND_762X39_AK47_NAME;
|
|
descriptionShort = $STR_DZE_MAG_60RND_762X39_AK47_DESC;
|
|
count = 60;
|
|
|
|
class ItemActions
|
|
{
|
|
COMBINE_MAG
|
|
|
|
delete ReloadMag;
|
|
};
|
|
};
|
|
|
|
class 75Rnd_762x39_RPK : 30Rnd_762x39_AK47
|
|
{
|
|
model = "\z\addons\dayz_epoch_w\magazine\dze_RPK_mag.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;
|
|
descriptionShort = $STR_DZ_MAG_30RND_SA58_DESC;
|
|
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};
|
|
};
|
|
};
|
|
};
|
|
|
|
class 30Rnd_762x39_RK95 : 30Rnd_762x39_AK47
|
|
{
|
|
model = "\RH_aks\mags\mag_rk.p3d";
|
|
picture = "\dayz_epoch_c\icons\magazines\m_rk95.paa";
|
|
displayName = $STR_DZ_MAG_30RND_RK95_NAME;
|
|
descriptionShort = $STR_DZ_MAG_30RND_RK95_DESC;
|
|
cartridgeName = "762x39";
|
|
|
|
class ItemActions
|
|
{
|
|
COMBINE_MAG
|
|
|
|
delete ReloadMag;
|
|
};
|
|
};
|
|
|
|
class 30Rnd_762x39_RK95SD : 30Rnd_762x39_RK95
|
|
{
|
|
picture = "\dayz_epoch_c\icons\magazines\m_rk95_sd.paa";
|
|
displayName = $STR_DZ_MAG_30RND_RK95SD_NAME;
|
|
descriptionShort = $STR_DZ_MAG_30RND_RK95SD_DESC;
|
|
ammo = "B_762x39_SD";
|
|
cartridgeName = "762x39_SD";
|
|
};
|
|
|
|
class 30Rnd_762x39_Groza1: 30Rnd_762x39_RK95 {
|
|
model = "\RH_aks\mags\mag_ak47.p3d";
|
|
picture = "\dayz_epoch_c\icons\magazines\m_g1.paa";
|
|
displayName = $STR_DZ_MAG_30RND_Groza1_NAME;
|
|
descriptionShort = $STR_DZ_MAG_30RND_Groza1_DESC;
|
|
};
|
|
|
|
class 30Rnd_762x39_Groza1SD: 30Rnd_762x39_RK95SD {
|
|
model = "\RH_aks\mags\mag_ak47.p3d";
|
|
picture = "\dayz_epoch_c\icons\magazines\m_g1_sd.paa";
|
|
displayName = $STR_DZ_MAG_30RND_Groza1SD_NAME;
|
|
descriptionShort = $STR_DZ_MAG_30RND_Groza1SD_DESC;
|
|
}; |