diff --git a/addons/tagging/CfgVehicles.hpp b/addons/tagging/CfgVehicles.hpp index cc0437146d..76a3f0a16c 100644 --- a/addons/tagging/CfgVehicles.hpp +++ b/addons/tagging/CfgVehicles.hpp @@ -2,17 +2,18 @@ class CfgVehicles { class UserTexture1m_F; class ACE_tagWall0 : UserTexture1m_F { 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"}; }; - class ACE_tagWall2 : UserTexture1m_F { + class ACE_tagWall2 : ACE_tagWall0 { 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"}; }; - class ACE_tagWall4 : UserTexture1m_F { + class ACE_tagWall4 : ACE_tagWall0 { hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag4.paa"}; }; @@ -27,9 +28,30 @@ class CfgVehicles { showDisabled = 0; priority = 3; 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); + }; + }; }; \ No newline at end of file diff --git a/addons/tagging/CfgWeapons.hpp b/addons/tagging/CfgWeapons.hpp index 345ddcc214..d9fbef4ad7 100644 --- a/addons/tagging/CfgWeapons.hpp +++ b/addons/tagging/CfgWeapons.hpp @@ -3,8 +3,9 @@ class CfgWeapons { class InventoryItem_Base_F; class ACE_Spraypaint : ACE_ItemCore { + author = "BaerMitUmlaut"; displayname = CSTRING(spraypaint); - descriptionshort = CSTRING(descSpraypaint); + descriptionShort = CSTRING(descSpraypaint); picture = QUOTE(PATHTOF(UI\itemSpraypaint.paa)); scope = 2; class ItemInfo: InventoryItem_Base_F { diff --git a/addons/tagging/config.cpp b/addons/tagging/config.cpp index 8c26241d39..a4c6ff19b4 100644 --- a/addons/tagging/config.cpp +++ b/addons/tagging/config.cpp @@ -2,8 +2,8 @@ class CfgPatches { class ADDON { - units[] = {}; - weapons[] = {}; + units[] = {"ACE_tagWall0", "ACE_tagWall1", "ACE_tagWall2", "ACE_tagWall3", "ACE_tagWall4", "ACE_Item_Spraypaint"}; + weapons[] = {"ACE_Spraypaint"}; requiredVersion = REQUIRED_VERSION; requiredAddons[] = {"ace_interaction"}; author[] = {"BaerMitUmlaut"};