Jump to content
Sign in to follow this  
andersson

Move default action icon

Recommended Posts

For too long I been annoyed of the default action icon which pops up at the center of my screen. Sometimes it can even disrupt my gameplay, for example when I want to confirm a long shot with optics and that reload icon pops up hiding the target...

 

I should have done this long ago as this is a quick fix. I will not bother making this to an official addon as people have different opinions, wishes and aspect ratios. So I will post the config here for anyone to do whatever they see fit with it. By changing the numbers one can move the icon left, right, up and down, also relative or not to the cursor. It's also possible to change the size of the icon.

 

In this example I have my icon center at the bottom at my screen with normal size. I use a 16:10 monitor.

 

class CfgPatches
{
	class NameThisToWhatever
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"A3_UI_F"};
	};
};
class CfgInGameUI
{
	class DefaultAction
	{
		hotspotX = 0; // default 0
		hotspotY = -10; // default 0
		relativeToCursor = 0; // default 1
		size = "(	(	(	((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; // default 0.8
	};
};

It's probably possible to make this in a much fancier way to fit all different monitors and maybe even to tweak it in a more user friendly way? If you know how to do it please do it and release a signed addon as I'm sure more players would like that. I just don't have the time to do the research. Sorry.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×