Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgMagazines/Magazines/Shotgun.hpp
ebaydayz 8201643c00 Cleanup CfgLoot
There is no point in having CfgBuildingPos.hpp in dayz_epoch_b too. It
was identical to the one in dayz_code and can be included in the mission
from there.

@icomrade couple questions:

1. Why keep a CfgLootLegacy? I know they are very different formats, but
it will just make things messier and more confusing. Also it will be a
PITA to maintain and update two different sets of loot tables in the
long run. I don't think catering to lazy admins is a good enough reason.
It's not that hard to convert to the new format.

2. Why not use the new _DZ weapon classes in the loot tables like
PDW_DZ, AKM_DZ, etc.?

3. Why not use the new box names like DZ_AmmoBoxRU, DZ_AmmoBoxUS,
DZ_MedBox,  etc. in the loot tables?

4. Why remove the attachments from the loot tables?
2016-03-12 17:17:38 -05:00

123 lines
2.3 KiB
C++

/* Slugs */
class 8Rnd_B_Beneli_74Slug;
class 8Rnd_12Gauge_Slug : 8Rnd_B_Beneli_74Slug
{
model = "\z\addons\dayz_communityassets\models\greenshotgunslugs.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_greenshotgunslugs_ca.paa";
cartridgeName = "12Gauge_Slug";
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = "Split into 4 x 2 rounds";
script = "spawn player_reloadMag;";
use[] = {"8Rnd_12Gauge_Slug"};
output[] =
{
"2Rnd_12Gauge_Slug",
"2Rnd_12Gauge_Slug",
"2Rnd_12Gauge_Slug",
"2Rnd_12Gauge_Slug"
};
};
};
};
class 2Rnd_12Gauge_Slug : 8Rnd_12Gauge_Slug
{
model = "\z\addons\dayz_communityassets\models\2shells_slugshot.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_slugshot_CA.paa";
displayName = $STR_MAG_NAME_8;
descriptionShort = $STR_MAG_DESC_8;
count = 2;
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = $STR_MAG_COMBINE_1;
script = "spawn player_reloadMag;";
use[] =
{
"2Rnd_12Gauge_Slug",
"2Rnd_12Gauge_Slug",
"2Rnd_12Gauge_Slug",
"2Rnd_12Gauge_Slug"
};
output[] =
{
"8Rnd_12Gauge_Slug"
};
};
};
};
/* Buckshot */
class 8Rnd_B_Beneli_Pellets;
class 8Rnd_12Gauge_Buck : 8Rnd_B_Beneli_Pellets
{
model = "\z\addons\dayz_communityassets\models\redshotgunpellets.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_redshotgunpellets_ca.paa";
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = "Split into 4 x 2 rounds";
script = "spawn player_reloadMag;";
use[] = {"8Rnd_12Gauge_Buck"};
output[] =
{
"2Rnd_12Gauge_Buck",
"2Rnd_12Gauge_Buck",
"2Rnd_12Gauge_Buck",
"2Rnd_12Gauge_Buck"
};
};
};
};
class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck
{
model = "\z\addons\dayz_communityassets\models\2shells_slugshot.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_pellet_ca.paa";
displayName = $STR_MAG_NAME_9;
descriptionShort = $STR_MAG_DESC_9;
count = 2;
class ItemActions
{
COMBINE_MAG
class ReloadMag
{
text = $STR_MAG_COMBINE_1;
script = "spawn player_reloadMag;";
use[] =
{
"2Rnd_12Gauge_Buck",
"2Rnd_12Gauge_Buck",
"2Rnd_12Gauge_Buck",
"2Rnd_12Gauge_Buck"
};
output[] =
{
"8Rnd_12Gauge_Buck"
};
};
};
};