Loading...
  OR  Zero-K Name:    Password:   

Chonsole

10 posts, 376 views
Post comment
Filter:    Player:  
sort
Introducing Chonsole:
Additional info at SpringRTS: https://springrts.com/phpbb/viewtopic.php?f=1&t=34069#p574245

May be of interest to ZK in the future (although liblobby isn't compatible with ZKLS).
+5 / -0

8 years ago
Epic! (apart from the funeral music >_>)
+1 / -0


8 years ago
Seems handy as a debug and dev tool, but it doesn't solve the issue of mixing chat and game debug feedback in one window (which the current default setup for ZK does fix).

That being said, the coolest part is definitely the '/' command autocomplete. If that can be done in a way that works with chat at arbitrary points on the screen (not just in the top, blocking half the game state), then it would be a cool addition.
+0 / -0
Chat /command autocomplete works with standard spring console and ZK's standard chat widget as well - but it's nowhere near as cool as this one.
+1 / -0


8 years ago
How is the '/' autocomplete turned on for the ZK chat? Also, does it autocomplete unit names for '/give', and give info about each command?
+0 / -0


8 years ago
The same way it works in bash: hit tab enough times. If you have the chat splitter thingy on, also hit F8 or you won't see the output.
+0 / -0


8 years ago
Oh, okay, I thought you meant the snazzy drop-down menu always existed and just had to be turned on.
+0 / -0
quote:

but it doesn't solve the issue of mixing chat and game debug feedback in one window (which the current default setup for ZK does fix).

The reason you see those "debug" messages is because I had to re-enable Spring.Echo for ZK ( https://github.com/gajop/chonsole/blob/master/luaui/widgets/ui_chonsole.lua#L64-L75 ) so I would get the required printout (it wouldn't print channel messages otherwise).
I think I'll find a more satisfactory solution when I improve message printout but I didn't want to deal with it yet (the idea of having to change all my Spring.Echo code because of ZK was irritating).
(PS: I think it's rather weird that ZK's using Spring.Echo in a rather non-standard way, thus preventing output from showing when it should. Spring.Log should be used for debug messages really.)

quote:

That being said, the coolest part is definitely the '/' command autocomplete. If that can be done in a way that works with chat at arbitrary points on the screen (not just in the top, blocking half the game state), then it would be a cool addition.

It's already possible to configure the size and position of the console and suggestions box ( https://github.com/gajop/chonsole/blob/master/luaui/config/globals.lua#L12-L20 ), although ZK may want the suggestions to be inverted (from bottom to top), which isn't supported yet.
I'm taking requests btw.
+0 / -0


8 years ago
Both bottom to top suggestions and chat from bottom are desired in ZK, but I'm sure you are aware of that.
+0 / -0

8 years ago
quote:

Both bottom to top suggestions and chat from bottom are desired in ZK, but I'm sure you are aware of that.

It is fixed now.
This is how it'll look if you set y to be 0.85:

quote:

Epic! (apart from the funeral music >_>)

Lamenting the death of the old console perhaps!
+0 / -0