Add a way to register a mod gui as a normal game window
Posted: Fri Apr 21, 2017 3:20 am
IE like the player Inventory, production graphs, train controller, etc.
It frustrates me to no end that I can open my inventory with 'e' and close it with 'esc', but I can't also close mod guis with 'esc'. A great example of this is Bob's Inserters mod, but there are plenty of others. I can't tell you how many times I've opened the escape menu trying to close those windows. Even if mod authors by default might now want there guis to behave like the normal game guis (IE, you can only have one open at a time, but 'esc' will close them), I would edit that functionality into the mods personally if there was a way.
Maybe instead of 'frame', they can be 'window'? Then make them behave like the default stuff when you register them that way?
Edit: I think that came out a bit more harsh than I intended it. I basically just mean that it can be frustrating that after having played hundreds of hour of (near) vanilla factorio and getting used to the way the keybinds work, that I can't plug a mod in and have keybinds work the same way. For all the vanilla guis I can close them with the key that opens them OR escape, but for mod guys I can only close them with the key that opens them. The inconsistency is the annoying part.
It frustrates me to no end that I can open my inventory with 'e' and close it with 'esc', but I can't also close mod guis with 'esc'. A great example of this is Bob's Inserters mod, but there are plenty of others. I can't tell you how many times I've opened the escape menu trying to close those windows. Even if mod authors by default might now want there guis to behave like the normal game guis (IE, you can only have one open at a time, but 'esc' will close them), I would edit that functionality into the mods personally if there was a way.
Maybe instead of 'frame', they can be 'window'? Then make them behave like the default stuff when you register them that way?
Edit: I think that came out a bit more harsh than I intended it. I basically just mean that it can be frustrating that after having played hundreds of hour of (near) vanilla factorio and getting used to the way the keybinds work, that I can't plug a mod in and have keybinds work the same way. For all the vanilla guis I can close them with the key that opens them OR escape, but for mod guys I can only close them with the key that opens them. The inconsistency is the annoying part.