Added interaction and item

This commit is contained in:
BaerMitUmlaut 2015-07-07 16:10:21 +02:00
parent 22a4e213ac
commit fbb066d291
6 changed files with 52 additions and 2 deletions

View File

@ -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";
};
};
};
};
};

View 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;
};
};
};

Binary file not shown.

Binary file not shown.

View File

@ -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"

View 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>