-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Item Context Menu - Add icon for items that have context menu options #1375
Comments
How is this supposed to work? The listboxes don't have support for arbitrary icons in Arma. Unless you find a method, this is not viable. Still not liking feature requests on an issue tracker. |
I'd imagine it would work similarly to the DLC banners, or magazine capacity. |
Ok, how does that work :) ? |
Unsure as of yet, but there's Config snippetclass RscDisplayInventory_DLCTemplate
{
class controls
{
class DlcBg
{
idc = 101;
text = "\A3\Ui_f\data\GUI\Rsc\RscDisplayInventory\InventoryStripe_ca.paa";
color[] = {1,1,1,1};
x = 0;
y = 0;
w = "1.8 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
h = "1.8 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
class DlcIcon
{
idc = 100;
text = "";
color[] = {1,1,1,1};
x = "0 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
y = "0 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
w = "1 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
};
};
}; class GroundContainer: RscListBox
{
class DLCTemplate: RscDisplayInventory_DLCTemplate
{
class Controls;
};
}; |
I don't see how this helps at all. How to turn that on or off? |
Not feasible, unless someone finds a way to do something like this. |
2 big problems
tested how to show it has actions
moving item to ground and then back to uniform would cause everything to reset |
The second issue could possibly be handled by player "loadout" eventhandler. |
Very useful feature, tbh. Caching will be a pretty good solution, as loadouts doesn't change completely all the time, so most of invetory changes will cause only a few real config reads. Basically we don't need all actions now, just any 1 non-disabled per item to mark item as interactive. Plus items in non-active containers may be skipped until container is opened. As alternative: bind some key to inventory display, on press/hold - start scanning all items for actions and draw icons. From user side it will be like 'show interactive' mode, which may be used when needed. |
Is your enhancement related to a problem?
Currently it is difficult to tell which items have context menu items on them without prior knowledge
Solution you'd like:
Having say, a white dot or arrow at the corner of items could help identifying which items have context menu items, as currently unless you know about it being there it is very difficult to tell.
Quick mock-up:
Alternatives you've considered:
N/A
The text was updated successfully, but these errors were encountered: