godot-console
godot-console copied to clipboard
[Behaviour] Minecraft-like (Awaiting modular structure)
Hi,
Would it be possible that you switch the commands with tab? (like for example in Minecraft)
You have these commands: sayhello seeversion
So if you type S, a small HBoxContainer will show all commands with S, and if you type TAB, the command line will show "sayhello", and if you type TAB a second time, the command line will show "seeversion.
Otherwise the chat will be crowded with all commands. (If you use it also as chat)
Thanks, Gamemap
Hello,
I can't say this would be supported out of the box. Currently console tries to mimic unix terminal that's why it behaves like that.
Right now I'm working on decoupling the console into smaller modules to allow people to add/replace/remove those modules without modifying the core of the console.
Right now I would suggest you go right away and modify console sources and add the features you want. Current autocomplete functionality is in godot/addons/quentincaffeino-console/src/ConsoleLine.gd on line 66. Please note that I'm unaware of how Godot acts when there's an update for an addon, so to prevent yourself from loosing your changes I suggest you to use git or etc.
After migration from monolith to module-based will be over we can include your autocomplete as a separate module for people to use.
Best)
Thank you
and good luck !
I have two new ideas:
- Maybe you canalso change the opening to a variable (toggel or open with key close with enter) (If TextLine empty no print)
- Maybe add chatcompability (multiplayer) (type a special key (var commandkey = "/") for command otherwise chattext) (for current behaviour var commandkey = "")
What do you think about this? Gamemap
Hey, those are great ideas but only for a specific project. The purpose of this project is to allow people to create any type of console. So as I said earlier, you can do that within your project) Those features could be implemented but as a separate modules so that people that don't need them could disable em and vice versa, but rn this addon is implemented as a monolith so it is impossible to create and use separate modules without affecting the core of the addon. I'm working on splitting it but it is not essy)
I also thought of separate modules for these ideas.
You build a really good addon. Good luck Gamemap