beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.79k stars 299 forks source link

Grid menu/blueprint widgets conflict on alt+c keybind. #3934

Open resopmok opened 1 day ago

resopmok commented 1 day ago

Description

The blueprint widget's use of alt+c in the keybind configs prevents grid menu from inserting the unit from the "c" slot into a lab queue. For example, grunts or incisors cannot be added to the lab queue using the alt+c keybind.

Expected Behaviour

Users should be able to insert units into their lab queue using alt+c and game default settings.

Actual Behaviour

Alt+c does not insert units to the lab queue and an empty blueprint gets saved.

Reproduction steps

Other

One issue is that the engine prioritizes keybinds without any+ over those which have it. Grid menu keybinds are set up this way (e.g., bind Any+sc_c gridmenu_key 1 3) where the blueprint hotkey gets prioritized because it does not use Any+ (bind Alt+sc_c blueprint_create). Some proposed potential solutions:

SethDGamre commented 1 day ago

@hihoman23