Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Magazines/45ACP.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

43 lines
849 B
C++

class 7Rnd_45ACP_1911: CA_Magazine
{
model = "\dayz_equip\models\ammo_1911.p3d";
//picture = "\dayz_equip\textures\equip_1911_ca.paa";
displayName = $STR_DZ_MAG_7RND_45ACP_1911_NAME;
cartridgeName = "45ACP";
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = $STR_MAG_CONV_45ACP_Revolver;
script = "spawn player_reloadMag;";
use[] = {"7Rnd_45ACP_1911"};
output[] = {"6Rnd_45ACP"};
};
};
};
class 6Rnd_45ACP: CA_Magazine
{
model = "\dayz_equip\models\ammo_acp45.p3d";
//picture = "\dayz_equip\textures\equip_45acp_ca.paa";
displayName = $STR_DZ_MAG_6RND_45ACP_NAME;
cartridgeName = "45ACP";
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = $STR_MAG_CONV_45ACP_M1911;
script = "spawn player_reloadMag;";
use[] = {"6Rnd_45ACP"};
output[] = {"7Rnd_45ACP_1911"};
};
};
};