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:
122
SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp
Normal file
122
SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp
Normal file
@@ -0,0 +1,122 @@
|
||||
class 200Rnd_556x45_M249: CA_Magazine
|
||||
{
|
||||
cartridgeName = "556x45";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 100Rnd_556x45_M249 : 200Rnd_556x45_M249
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\magazines\100rnd_m249.p3d";
|
||||
displayName = $STR_DZ_MAG_100RND_556X45_M249_NAME;
|
||||
};
|
||||
|
||||
|
||||
|
||||
/* STANAG <-> G36 */
|
||||
|
||||
class 20Rnd_556x45_Stanag;
|
||||
class 30Rnd_556x45_Stanag : 20Rnd_556x45_Stanag
|
||||
{
|
||||
//model = "\dayz_equip\models\mag30.p3d";
|
||||
|
||||
cartridgeName = "556x45";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
|
||||
class ReloadMag
|
||||
{
|
||||
text=$STR_MAG_CONV_STANAG_G36;
|
||||
script="spawn player_reloadMag;";
|
||||
use[] =
|
||||
{
|
||||
"30Rnd_556x45_Stanag"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"30Rnd_556x45_G36"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class 30Rnd_556x45_G36 : 30Rnd_556x45_Stanag
|
||||
{
|
||||
cartridgeName = "556x45";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
|
||||
class ReloadMag
|
||||
{
|
||||
text=$STR_MAG_CONV_G36_STANAG;
|
||||
script="spawn player_reloadMag;";
|
||||
use[] =
|
||||
{
|
||||
"30Rnd_556x45_G36"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"30Rnd_556x45_Stanag"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class 30Rnd_556x45_StanagSD : 30Rnd_556x45_Stanag
|
||||
{
|
||||
picture = "\z\addons\dayz_communityweapons\magazines\data\m_30stanagsd_ca.paa";
|
||||
|
||||
cartridgeName = "556x45_SD";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
|
||||
class ReloadMag
|
||||
{
|
||||
text = $STR_MAG_CONV_STANAG_G36;
|
||||
script = "spawn player_reloadMag;";
|
||||
use[] =
|
||||
{
|
||||
"30Rnd_556x45_StanagSD"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"30Rnd_556x45_G36SD"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class 30Rnd_556x45_G36SD : 30Rnd_556x45_G36
|
||||
{
|
||||
picture = "\z\addons\dayz_communityweapons\magazines\data\m_g36sd_ca.paa";
|
||||
|
||||
cartridgeName = "556x45_SD";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
|
||||
class ReloadMag
|
||||
{
|
||||
text = $STR_MAG_CONV_G36_STANAG;
|
||||
script = "spawn player_reloadMag;";
|
||||
use[] =
|
||||
{
|
||||
"30Rnd_556x45_G36SD"
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
"30Rnd_556x45_StanagSD"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user