mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Change scope and type of configs from name to numbers
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.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
class ItemSledge: ItemCore // Epoch class
|
||||
{
|
||||
scope = public;
|
||||
|
||||
model="\z\addons\dayz_epoch\models\sledge_mag.p3d";
|
||||
picture="\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
|
||||
displayName=$STR_EQUIP_NAME_SledgeHammer;
|
||||
descriptionShort=$STR_EQUIP_SLEDGE_DESC;
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_epoch\models\sledge_mag.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_SledgeHammer;
|
||||
descriptionShort = $STR_EQUIP_SLEDGE_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
@@ -24,30 +23,23 @@ class ItemSledge: ItemCore // Epoch class
|
||||
use[] = {"ItemSledge"};
|
||||
output[] = {"MeleeSledge"};
|
||||
};
|
||||
|
||||
/* Lets take this out for now and see how it goes.
|
||||
class MineOre
|
||||
{
|
||||
text="Mine Ore";
|
||||
script="spawn player_mineOre;";
|
||||
};
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSledgeBroken: ItemSledge // Epoch class
|
||||
class ItemSledgeBroken: ItemCore
|
||||
{
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_epoch\models\sledge_mag.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_sledge_CA.paa";
|
||||
displayName = $STR_name_ItemSledgeHammerBroken;
|
||||
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
//Vanilla sledge is using a different model.
|
||||
//All scripts have been changed to use Epoch ItemSledge, but leave this defined in case admins want to use it for something.
|
||||
class ItemSledgeHammer : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.paa";
|
||||
displayName = $STR_EQUIP_NAME_SledgeHammer;
|
||||
@@ -56,13 +48,11 @@ class ItemSledgeHammer : ItemCore
|
||||
|
||||
class ItemSledgeHammerBroken : ItemCore
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
model = "z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\models\sledge_hammer\sledgehammer.paa";
|
||||
displayName = $STR_name_ItemSledgeHammerBroken;
|
||||
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
|
||||
|
||||
descriptionShort = $STR_desc_ItemSledgeHammerBroken;
|
||||
fixedTool = "ItemSledgeHammer";
|
||||
|
||||
class ItemActions
|
||||
|
||||
Reference in New Issue
Block a user