mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +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.
103 lines
2.6 KiB
C++
103 lines
2.6 KiB
C++
class desert_large_net_kit: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_LARGEDESERTCAMONET;
|
|
descriptionShort = $STR_EPOCH_LARGECAMONET_DESC;
|
|
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_ACTIONS_BUILD;
|
|
script = "spawn player_build;";
|
|
require[] = {"ItemEtool","ItemToolbox"};
|
|
create = "DesertLargeCamoNet_DZ";
|
|
};
|
|
};
|
|
};
|
|
class forest_large_net_kit: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_LARGEFORESTCAMONET;
|
|
descriptionShort = $STR_EPOCH_LARGECAMONET_DESC;
|
|
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_ACTIONS_BUILD;
|
|
script = "spawn player_build;";
|
|
require[] = {"ItemEtool","ItemToolbox"};
|
|
create = "ForestLargeCamoNet_DZ";
|
|
};
|
|
};
|
|
};
|
|
class desert_net_kit: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_DESERTCAMONET;
|
|
descriptionShort = $STR_EPOCH_CAMONET_DESC;
|
|
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_ACTIONS_BUILD;
|
|
script = "spawn player_build;";
|
|
require[] = {"ItemEtool","ItemToolbox"};
|
|
create = "DesertCamoNet_DZ";
|
|
};
|
|
class Crafting
|
|
{
|
|
text = $STR_EPOCH_PLAYER_229;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox","ItemKnife"};
|
|
output[] = {{"desert_large_net_kit",1}};
|
|
input[] = {{"desert_net_kit",3}};
|
|
};
|
|
};
|
|
};
|
|
class forest_net_kit: CA_Magazine
|
|
{
|
|
scope = 2;
|
|
count = 1;
|
|
type = 256;
|
|
displayName = $STR_EPOCH_FORESTCAMONET;
|
|
descriptionShort = $STR_EPOCH_CAMONET_DESC;
|
|
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
|
|
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
|
|
|
|
class ItemActions
|
|
{
|
|
class Build
|
|
{
|
|
text = $STR_ACTIONS_BUILD;
|
|
script = "spawn player_build;";
|
|
require[] = {"ItemEtool","ItemToolbox"};
|
|
create = "ForestCamoNet_DZ";
|
|
};
|
|
class Crafting
|
|
{
|
|
text = $STR_EPOCH_PLAYER_229;
|
|
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
|
neednearby[] = {"workshop"};
|
|
requiretools[] = {"ItemToolbox","ItemKnife"};
|
|
output[] = {{"forest_large_net_kit",1}};
|
|
input[] = {{"forest_net_kit",3}};
|
|
};
|
|
};
|
|
};
|