Config improvements

This commit is contained in:
BaerMitUmlaut 2015-07-07 18:34:12 +02:00
parent 86fbe3c423
commit 1748d23613
3 changed files with 31 additions and 8 deletions

View File

@ -2,17 +2,18 @@ class CfgVehicles {
class UserTexture1m_F; class UserTexture1m_F;
class ACE_tagWall0 : UserTexture1m_F { class ACE_tagWall0 : UserTexture1m_F {
hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag0.paa"}; hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag0.paa"};
scope = 1;
}; };
class ACE_tagWall1 : UserTexture1m_F { class ACE_tagWall1 : ACE_tagWall0 {
hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag1.paa"}; hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag1.paa"};
}; };
class ACE_tagWall2 : UserTexture1m_F { class ACE_tagWall2 : ACE_tagWall0 {
hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag2.paa"}; hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag2.paa"};
}; };
class ACE_tagWall3 : UserTexture1m_F { class ACE_tagWall3 : ACE_tagWall0 {
hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag3.paa"}; hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag3.paa"};
}; };
class ACE_tagWall4 : UserTexture1m_F { class ACE_tagWall4 : ACE_tagWall0 {
hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag4.paa"}; hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag4.paa"};
}; };
@ -27,9 +28,30 @@ class CfgVehicles {
showDisabled = 0; showDisabled = 0;
priority = 3; priority = 3;
icon = QUOTE(PATHTOF(UI\iconTagging.paa)); icon = QUOTE(PATHTOF(UI\iconTagging.paa));
hotkey = "T";
}; };
}; };
}; };
}; };
class Item_Base_F;
class ACE_Item_Spraypaint: Item_Base_F {
author = "BaerMitUmlaut";
scope = 2;
scopeCurator = 2;
displayName = CSTRING(spraypaint);
vehicleClass = "Items";
class TransportWeapons {
class ACE_Spraypaint {
name = "ACE_Spraypaint";
count = 1;
};
};
};
class Box_NATO_Support_F;
class ACE_Box_Misc: Box_NATO_Support_F {
class TransportItems {
MACRO_ADDITEM(ACE_Spraypaint,5);
};
};
}; };

View File

@ -3,8 +3,9 @@ class CfgWeapons {
class InventoryItem_Base_F; class InventoryItem_Base_F;
class ACE_Spraypaint : ACE_ItemCore { class ACE_Spraypaint : ACE_ItemCore {
author = "BaerMitUmlaut";
displayname = CSTRING(spraypaint); displayname = CSTRING(spraypaint);
descriptionshort = CSTRING(descSpraypaint); descriptionShort = CSTRING(descSpraypaint);
picture = QUOTE(PATHTOF(UI\itemSpraypaint.paa)); picture = QUOTE(PATHTOF(UI\itemSpraypaint.paa));
scope = 2; scope = 2;
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {

View File

@ -2,8 +2,8 @@
class CfgPatches { class CfgPatches {
class ADDON { class ADDON {
units[] = {}; units[] = {"ACE_tagWall0", "ACE_tagWall1", "ACE_tagWall2", "ACE_tagWall3", "ACE_tagWall4", "ACE_Item_Spraypaint"};
weapons[] = {}; weapons[] = {"ACE_Spraypaint"};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_interaction"}; requiredAddons[] = {"ace_interaction"};
author[] = {"BaerMitUmlaut"}; author[] = {"BaerMitUmlaut"};