Page 1 of 1

make building and unit hotkeys customizable

Posted: Mon Apr 14, 2014 8:21 pm
by GeneralFrost
problem, for example I want to use E as a hotkey for like select all. but it wont work if i am in the building menu, because E is also the hotkey for ore refinery.

I might soon be able to help out, teaching myself GIT right now (the basics, it's totally different to TFS / subversion). But under the week I dont really have the power anymore after 9 hours of coding at work for anymore hobby-coding. But I will try next weekend to get my first compile :)

Posted: Tue Apr 15, 2014 4:01 am
by Hiro
Not exactly what you're looking for, but the hotkeys for structures etc are in the rules folder of the mod, like
https://github.com/OpenRA/OpenRA/blob/b ... /ra/rules/
So I guess it would be possible to change them on your side without needing to do any coding, but it would be nicer if there was a part of the program which would do that.
Would that mean that the hotkey info would be stored in settings? Or would changing the settings actually change the rules yaml files?

Posted: Tue Apr 15, 2014 4:40 am
by Matt
I made an attempt for it at https://github.com/Mailaender/OpenRA/co ... otkey-conf which allows hotkey configuration in a per mod configuration file similiar to how ego-shooters like Quake do it. Not sure if that is the best way to expose it.