Console ++

Console ++

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Console ++

Post by Argh »

I'm thinking about writing a new Console, that replaces the current one with one that's only going to pass selected messages to users (i.e., cut down on spam, cut out non-important information, look better).

If anybody else is interested in this, perhaps this can be done somewhat collaboratively. Please let me know.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: Console ++

Post by zwzsg »

/movewarnings 0 helps alot already.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Console ++

Post by Argh »

I'm interested in doing a lot more than that. Colored text, for example, so that users know what's important. Maybe only allowing the first "unit name X cannot reach destination!" through, but cutting the next 20 spam. Stuff like that. And I'd like to make it pretty.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Console ++

Post by smoth »

take a look at ice ui.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Console ++

Post by Tribulexrenamed »

smoth wrote:take a look at ice ui and make it better.
f'x'd
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Console ++

Post by Forboding Angel »

What's wrong with IceUI? Tbh It's amazing the amount of cool stuff you can do with it. And thanks to lurker, it can even be included in the mod archive.

Sure, there are aspects that could be improved, but in my mind they are relatively small, if not trivial.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Console ++

Post by Argh »

I didn't say anything about IceUI. It's great, if you want an all-in-one solution and don't want to code stuff from scratch. I'm not interested in adapting it to my needs, though, I'd rather code something new. I'll get back to this next week.
User avatar
Adonai_Jr
Posts: 11
Joined: 26 Nov 2008, 14:04

Re: Console ++

Post by Adonai_Jr »

hum, preferably something who dont throw my (already low) fps away. :)
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Console ++

Post by ginekolog »

i use iceui now and console is great but on old 3200 amd it ate half of fps away.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Console ++

Post by Forboding Angel »

what video card?
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Console ++

Post by Tribulexrenamed »

Sure, thats fine. The nice think about Iceui is that i can disable the iceui console to use a different one, ie yours.


I cant commit myself to people's projects, because ultimately I find I am not a very reliable team mate on OS projects. However, I can suggest a few things.

Spring's whisper chat is really a nice feature, but its hard to use because u have to type out a person's name. I think if you could make it easier to use, it would be very nice. In BZFlag, there is a key shortcut ('n') to talk to your nemesis, who is the last person you killed or who killed you. This could be applied to a console with a shortcut to talk to the person you just did a significant amount of damage to (with some sort of settable threshold).


Color coding, of course, is useful. Everyone should have a teamcolored name, and a teamcolored faction icon. Then messages should be color coded by who they are coming from and where they are going, like ally chat, ally global chat, enemy global chat, etc.

Sorry, ill stop there.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Console ++

Post by smoth »

wasn't saying use it was saying see what he did and you will know how it works.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Console ++

Post by trepan »

If you want speed, render with a texture buffer; then the console
becomes nothing more than a single textured quad to draw. You
can keep the texture buffer updated using FBOs, or use a couple
of textures with some copy/clear action if FBOs are not available.

For scrolling, you can use texture coordinates shifting with "wrap_t".
That way, you can avoid having to copy old lines to new positions
when scrolling.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Console ++

Post by Argh »

I don't know how to use render buffers yet. Is there a tutorial or place I can read about the concepts I need to understand to implement that stuff? I'd like to use that all over my UI, tbh.
User avatar
Adonai_Jr
Posts: 11
Joined: 26 Nov 2008, 14:04

Re: Console ++

Post by Adonai_Jr »

Tribulex wrote: Spring's whisper chat is really a nice feature, but its hard to use because u have to type out a person's name. I think if you could make it easier to use, it would be very nice.
Tribulex, this actually already exists at Advanced Players List widget, but need to be activated in Tweak mode. (Ctrl+F11, u know :D) The very last button is a "chat balloon" (idk what's the name for it in english). When activated, u can click at any ally and send that wanted individual messages :)
Attachments
chat_button.PNG
chat_button.PNG (44.15 KiB) Viewed 2767 times
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Console ++

Post by Google_Frog »

The little balloon needs to be clicked every time you want to send a pm though. It would be good if the chat state was remembered like alt+enter. Maybe holding down a number and enter could set the chat state to pm that player ID.
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Console ++

Post by ginekolog »

Forboding Angel wrote:what video card?
on 3200 amd and nv7600gt iceui ate half of fps away. Now on e8400 fps stays similar on same gfx :roll: That is what u get from allmost 10times faster cpu :mrgreen:
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Console ++

Post by Auswaschbar »

Tribulex wrote: Spring's whisper chat is really a nice feature, but its hard to use because u have to type out a person's name. I think if you could make it easier to use, it would be very nice.
Use tab for autocompletition.
User avatar
Tribulexrenamed
Posts: 775
Joined: 22 Apr 2008, 19:06

Re: Console ++

Post by Tribulexrenamed »

No, but the point is to be able to reply to a whisper, and have a shortcut key for your (N)emesis, so you can send them pertinent information as a whisper, such as "LOLOL!O!L1o1l11o1one PwnZ0r33d11o1o1)!ooone!1!1!!!".
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Console ++

Post by Regret »

Made a console myself, it is included in my UI.

Image
Post Reply

Return to “Lua Scripts”