Avorion

Avorion

Custom Hotkeys
7 Comments
Der Liebe Frankie 23 Mar, 2024 @ 10:27am 
Will this mod let me navigate the game menus (such as click-click-"Escort Me") using keys instead of my mouse? Is there such a mod?
Nyrin 17 Sep, 2021 @ 8:56pm 
In the process of integrating this with my autopilot hotkey mod (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2597234464) , I found one small bug:

[code]
function CustomHotkeys:onGalaxyMapUpdate(timeStep)
return self:onPostRenderHud(5, timeStep) -- hud state 5 for map, which is not a part of PlayerStateType
end
[/code]

I think you read [code]PlayerStateType[/code] like any sane person would--which is to say zero-indexed. But lua... (╯°□°)╯︵ ┻━┻

[code]
enum PlayerStateType

Fly -- 1
BuildCraft -- 2
BuildTurret -- 3
Interact -- 4
Strategy -- 5
[/code]

Either that or they added in a state after you implemented it. Might want to use a bigger/more arbitrary dummy value just in case.

Effect of all that: hotkeys you want to work in strategy mode also end up unintentionally working on the galaxy map.

Loving the integration, though! You just need someone to make you a cool icon.
SirPhoenixBlood 14 Sep, 2021 @ 12:34am 
i had to make a whole new world for it to work but it was enable on the old world
Bubbet!  [author] 13 Sep, 2021 @ 12:29pm 
check your mods list in the escape menu when ingame to see if its even enabled
SirPhoenixBlood 13 Sep, 2021 @ 6:19am 
not working for me i dont get that tab at all
Shrooblord 10 Mar, 2021 @ 12:34am 
This is fricking sick. Good job bub!
Multox 9 Mar, 2021 @ 2:18pm 
Neat!