Closed Cepheid-UK closed 4 years ago
Do you have the data? If you have it, I can code something up. Not that hard, to be honest. But I do not want to go through the abilities one by one xD
You can search through customkeys.txt, if they have a "buttonpos" field, they can be moved.
At least that's what I've been reported. (Source: Ag3nt)
you mean in the default hotkeys? Also pretty tedious imo :/ Those are 500 hks or so that i would have to go through. Maybe I ask Ag3nt if he wants to do that and give me the data.
I'll try figure out which ones it is, but really I anticipated parsing a default custom hotkeys for all the 4-digit codes that don't have a "buttonpos" field and then flagging those codes as unmovable.
yes, not that hard, but we have a tree structure to represent the ui. So you would at least have to go through those to mark the ones that are not movable. IT is basically those files here:
I can make the code change and implement it for gargoyle. Then Ag3nt could go through those and mark the ones that he needs as a PR?
Yes if you can implement the flag once, I can add it as a PR for the ones ag3nt has found.
Hey, I just pushed this feature to the branch "Hotkey-Fixes". If you want to participate there, or ask Ag3nt, should be pretty easy. To mark a Ability as not movable, replace Ability.Create('Prioritize', 'btnairattackon', 'aatp', 'R', []),
with Ability.Unmovable('Prioritize', 'btnairattackon', 'aatp', 'R', []),
Some of the Warcraft 3 abilities cannot be moved around on the command card (e.g. Gargoyle Prioritize)
It would be nice if we could catalogue those abilities and label them as unmovable in the UI somehow.