UI questions

UI questions

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

Moderator: Moderators

Post Reply
johanhagelback
Posts: 13
Joined: 17 Sep 2009, 10:49

UI questions

Post by johanhagelback »

Hi,

A few UI questions:

- Is it possible to hide the

Code: Select all

ALLIES
<- AI-Bot
ENEMIES
<- Player
SPECS
Player(spec)
widget?

- Is it possible to hide the message widget in replay mode?

Cheers,
Johan
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: UI questions

Post by lurker »

Actual widgets or part of Spring itself?
/info
/console
johanhagelback
Posts: 13
Joined: 17 Sep 2009, 10:49

Re: UI questions

Post by johanhagelback »

Not sure if they can be controlled by Lua or if I need to recompile Spring to do it.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: UI questions

Post by manolo_ »

advanced playerlist?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: UI questions

Post by jK »

I knew it was a bad idea to remove the eyes widget ...
johanhagelback
Posts: 13
Joined: 17 Sep 2009, 10:49

Re: UI questions

Post by johanhagelback »

I think I solved it. The Observer player window can at least be minimized to not show information. The console position can be moved outside the game window.

The reason for this is that I want to hide all information about who plays the game, if it is a human player or an AI bot.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI questions

Post by Tribulex »

l2p etc.


next spring version include eyes widget please.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: UI questions

Post by lurker »

A little button in the corner would be much nicer than EYES.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: UI questions

Post by Beherith »

5 posts whining about eyes, and none with this info, GJ!

Press F11 to access the list of widgets and click on a widget name to disable it. In this case you want to disable Advanced Players List.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: UI questions

Post by manolo_ »

why do u like this stupid eyes so much?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: UI questions

Post by Tobi »

You may also want to pick one of the custom tooltip widgets and use/modify this, because the engine default tooltip displays the AI (nick-)name when hovering over it's commander.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: UI questions

Post by zwzsg »

johanhagelback wrote:if I need to recompile Spring to do it.
:shock:

Either you have zero idea of what a Lua widget is, either I missed something. Because recompiling Spring just to disable a widget. Image

Are you aware of the list you get when you press F11? And about what clicking those green, yellow and red name do?

Oh, and try the F5 key some times too.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI questions

Post by Tribulex »

pros recompile spring to enable/disable widgets. FTW
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: UI questions

Post by Argh »

That reminds me: must build Widget Use Tutorial in the next P.U.R.E. demo. I often forget how confusing people find this stuff.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: UI questions

Post by CarRepairer »

Argh wrote:That reminds me: must build Widget Use Tutorial in the next P.U.R.E. demo. I often forget how confusing people find this stuff.
No you mustn't. In CA we are (mostly I am) hiding the layer of widgets, making no mention of the word. Configurations of widgets appear to be part of the game itself. For example, menu->view->(brightness slider) and no one needs to know it's a widget (but if you must know, it's jK's darkening widget).
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: UI questions

Post by Argh »

Well, problem is, I have a lot of stuff that I turn off in the installer package, because I don't think they're necessary to play, but I've heard whining in the past if they weren't there. Nobody will ever see them otherwise, given that I am not primarily focused on people who are already very familiar with Spring.

So, I thought I'd maybe clean up the ON/OFF Widgets that actually run bigger systems (things like the LUPS controller) and consolidate them, and then give end-users a, "hi, welcome to P.U.R.E., this part is about Widgets, which can improve your experience".

But maybe you're right, and I should add UI controls instead. My new layout has room for the most important things to be (small) buttons. Or perhaps I should write another version of the Options Widget, that includes checkboxes for the Widgets I don't normally include.
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI questions

Post by Tribulex »

CarRepairer wrote:
Argh wrote:That reminds me: must build Widget Use Tutorial in the next P.U.R.E. demo. I often forget how confusing people find this stuff.
No you mustn't. In CA we are (mostly I am) hiding the layer of widgets, making no mention of the word. Configurations of widgets appear to be part of the game itself. For example, menu->view->(brightness slider) and no one needs to know it's a widget (but if you must know, it's jK's darkening widget).
Thats not true at all. Press f11 in ca and you get a (very confusing for noobs) hard to use menu for enabling and disabling widgets.
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

Re: UI questions

Post by manolo_ »

d_b wrote:
CarRepairer wrote:
Argh wrote:That reminds me: must build Widget Use Tutorial in the next P.U.R.E. demo. I often forget how confusing people find this stuff.
No you mustn't. In CA we are (mostly I am) hiding the layer of widgets, making no mention of the word. Configurations of widgets appear to be part of the game itself. For example, menu->view->(brightness slider) and no one needs to know it's a widget (but if you must know, it's jK's darkening widget).
Thats not true at all. Press f11 in ca and you get a (very confusing for noobs) hard to use menu for enabling and disabling widgets.
the normal widget menu is also confusing for noobs
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: UI questions

Post by Tribulex »

thats exactly what im saying.
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: UI questions

Post by luckywaldo7 »

d_b wrote:
CarRepairer wrote:
Argh wrote:That reminds me: must build Widget Use Tutorial in the next P.U.R.E. demo. I often forget how confusing people find this stuff.
No you mustn't. In CA we are (mostly I am) hiding the layer of widgets, making no mention of the word. Configurations of widgets appear to be part of the game itself. For example, menu->view->(brightness slider) and no one needs to know it's a widget (but if you must know, it's jK's darkening widget).
Thats not true at all. Press f11 in ca and you get a (very confusing for noobs) hard to use menu for enabling and disabling widgets.
He wasn't talking about f11. Press Esc and it will bring up the menu.
Post Reply

Return to “Lua Scripts”