-
I am unable to use many of my mouse buttons for controls in radar screen. For example, my swap targets button is MB4, when I am out of radar screen it works just fine but in radar screen I am unable to use it. However, for swapping targets I do have a keyboard control as well, this does work for swapping targets in radar screen. The same issue occurs for my fire missile button, MB5.
-
I don’t think this is a bug hence why I am posting it on the forum.
I’d say the radar screen is probably swapping the mouse input from the game to UI focus, which overrides any of the mouse keybinds
I am sorry, I don’t really understand. Do you think you could explain a little more?
With game development, there’s usually a distinction between whether the player mouse inputs are focused to the Game or the User interface.
When you’re playing the game normally, its “Game focus”, mouse inputs go directly to controlling whatever object the player is in control of. Tank, plane, ship, whatever. In this case, an SPAA.
You open up the radar menu, its now “UI focus”, the mouse cursor is unhidden, and mouse inputs instead go to controlling the mouse cursor instead of the game directly. Which tends to prevent the mouse inputs from directly interacting with the vehicle anymore, it has to go through the User Interface system instead.
And the User Interface is controlled by either hardcoded inputs (RMB for guns, Ctrl for missiles) or by directly clicking on the UI buttons.
Keyboard inputs still work fine, its just a mouse focus thing.
So is it possible for this to be changed? Also like right click is used to fire guns in radar screen so I feel it would be possible to enable MB4 and MB5
Maybe, depends.
The RMB for firing guns is a hard coded input it seems, probably bypasses the custom keybind system entirely, just a raw input
From my time messing around with game development for fun, game and UI focus can be real finicky sometimes