mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added interaction and item
This commit is contained in:
parent
22a4e213ac
commit
fbb066d291
@ -15,4 +15,21 @@ class CfgVehicles {
|
||||
class ACE_tagWall4 : UserTexture1m_F {
|
||||
hiddenSelectionsTextures[] = {"\z\ace\addons\tagging\UI\tag4.paa"};
|
||||
};
|
||||
|
||||
class Man;
|
||||
class CAManBase: Man {
|
||||
class ACE_SelfActions {
|
||||
class ACE_Equipment {
|
||||
class ACE_tagWall {
|
||||
displayName = CSTRING(tagWall);
|
||||
condition = QUOTE(('ACE_Spraypaint' in items ACE_player) && ([] call FUNC(checkTaggable)));
|
||||
statement = QUOTE([] call FUNC(tagWall));
|
||||
showDisabled = 0;
|
||||
priority = 3;
|
||||
icon = QUOTE(PATHTOF(UI\iconTagging.paa));
|
||||
hotkey = "T";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
15
addons/tagging/CfgWeapons.hpp
Normal file
15
addons/tagging/CfgWeapons.hpp
Normal file
@ -0,0 +1,15 @@
|
||||
class CfgWeapons {
|
||||
class ACE_ItemCore;
|
||||
class InventoryItem_Base_F;
|
||||
|
||||
class ACE_Spraypaint : ACE_ItemCore {
|
||||
displayname = CSTRING(spraypaint);
|
||||
descriptionshort = CSTRING(descSpraypaint);
|
||||
model = "\A3\Structures_F_Mark\Items\Sport\AirHorn_01_F.p3d";
|
||||
picture = QUOTE(PATHTOF(UI\itemSpraypaint.paa));
|
||||
scope = 2;
|
||||
class ItemInfo: InventoryItem_Base_F {
|
||||
mass = 10;
|
||||
};
|
||||
};
|
||||
};
|
BIN
addons/tagging/UI/iconTagging.paa
Normal file
BIN
addons/tagging/UI/iconTagging.paa
Normal file
Binary file not shown.
BIN
addons/tagging/UI/itemSpraypaint.paa
Normal file
BIN
addons/tagging/UI/itemSpraypaint.paa
Normal file
Binary file not shown.
@ -6,11 +6,12 @@ class CfgPatches {
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_interaction"};
|
||||
author[] = {"BlauBär"};
|
||||
author[] = {"BaerMitUmlaut"};
|
||||
authorUrl = "https://github.com/BaerMitUmlaut";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgEventHandlers.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
17
addons/tagging/stringtable.xml
Normal file
17
addons/tagging/stringtable.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project name="ACE">
|
||||
<Package name="Tagging">
|
||||
<Key ID="STR_ACE_tagging_tagWall">
|
||||
<English>Tag wall</English>
|
||||
<German>Wand markieren</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_tagging_spraypaint">
|
||||
<English>Spray paint</English>
|
||||
<German>Sprühfarbe</German>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_tagging_descSpraypaint">
|
||||
<English>A can of spray paint for tagging walls.</English>
|
||||
<German>Eine Farbsprühdose um Wände zu markieren.</German>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user