Post screenshots of your ui - Page 2

Post screenshots of your ui

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

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

Re: Post screenshots of your ui

Post by lurker »

NOiZE wrote:http://www.unknown-files.net/spring/3948/NOiZEs_GUI/

Should i make that the standard GUI for BA?

Maybe someone can make it into a widget for me, so ppl can enable/disable it then.
I'll make you that widget later today, now that I finally figured out how to do it with evolution. But are you sure it would work as is with BA? Anything I tried, the user ctrlpanel.txt overrode the one in the mod.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Post screenshots of your ui

Post by LordMatt »

lurker wrote: I'll make you that widget later today, now that I finally figured out how to do it with evolution. But are you sure it would work as is with BA? Anything I tried, the user ctrlpanel.txt overrode the one in the mod.
As it should.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Post screenshots of your ui

Post by Gnomre »

Maelstrom and I made a widget that generates and loads a custom ctrlpanel file (and reloads the user's luaui/ctrlpanel.txt file when it's disabled). We made it to do some magical math that forces buildpics to be displayed square regardless of resolution or aspect ratio.

It's included in S44 at the moment, but Nemo sucks at following my instructions for making S44-specific modifications to it, so it doesn't work right; it should be fairly obvious to anyone what needs fixed, though (I think he pasted in the wrong place which meant he was trying to perform a comparison on a variable that hadn't been set yet).

We licensed it as one of the CC licenses (see its header, I forget which :P) so go nuts. I don't know how to do the modifications to the data in layout.lua though, but it would be nice to know since you can get rid of the "Commands"/"Build Orders" text by modifying that file as well.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Post screenshots of your ui

Post by lurker »

LordMatt wrote:
lurker wrote: I'll make you that widget later today, now that I finally figured out how to do it with evolution. But are you sure it would work as is with BA? Anything I tried, the user ctrlpanel.txt overrode the one in the mod.
As it should.
Well... Yes, the user one should always take precedence, but on the other hand when that is the case there shouldn't be a user one installed by default. You should have to actually put one there yourself for it to take over.


Gnome wrote:Maelstrom and I made a widget that generates and loads a custom ctrlpanel file (and reloads the user's luaui/ctrlpanel.txt file when it's disabled). We made it to do some magical math that forces buildpics to be displayed square regardless of resolution or aspect ratio.

It's included in S44 at the moment, but Nemo sucks at following my instructions for making S44-specific modifications to it, so it doesn't work right; it should be fairly obvious to anyone what needs fixed, though (I think he pasted in the wrong place which meant he was trying to perform a comparison on a variable that hadn't been set yet).

We licensed it as one of the CC licenses (see its header, I forget which :P) so go nuts. I don't know how to do the modifications to the data in layout.lua though, but it would be nice to know since you can get rid of the "Commands"/"Build Orders" text by modifying that file as well.
Oh goody. Whenever I tried to set or send individual pieces of the layout it tended to ignore me, though there is a chance I was editing the wrong file. In the end I just gave evolution two ctrlpanel versions with automatic switching, to get the ratio roughly right.

Edit: so you had to resort to literally writing out a file to load as the ctrlpanel? That works.
Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: Post screenshots of your ui

Post by Gnomre »

lurker wrote:Edit: so you had to resort to literally writing out a file to load as the ctrlpanel? That works.
Yeah, it's the only method we could come up with short of entirely writing our own GUI. It's on the to-do list, but it'll be a large undertaking so we wrote the widget as a stop-gap.

I'd love to hear/see if you manage to integrate Noize's layout.lua changes somehow. I much prefer the buildpics without dead space between them like he has it (especially with our new buildpics I've made in SWS), but afaik that can only be changed the way he did it. And as I said, I have my eyes set on removing that stupid menu header text as well :)
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Post screenshots of your ui

Post by lurker »

I'll have a nice widget form of Noize's gui that's squared today or tomorrow. It was far easier to figure what is needed to do the buildpics unshrunken from looking at the diff of his layout.lua than trying to find something in the mess of changes that is the tweaked layout widget.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Re: Post screenshots of your ui

Post by NOiZE »

Thanks lurker for investing time to make the widget :)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Post screenshots of your ui

Post by TradeMark »

NOiZE wrote:http://www.unknown-files.net/spring/3948/NOiZEs_GUI/

Should i make that the standard GUI for BA?

Maybe someone can make it into a widget for me, so ppl can enable/disable it then.
yes do it, i also used that, but LUA destroyed it somehow :shock: , thats why i hate lua...
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Post screenshots of your ui

Post by jK »

not very special but this is mine:

screenshot & ctrlpanel.txt+layout.lua

things I did:
*changed positions
*removed "Commands" text
*removed unneeded buttons (Move,Attack,SelectAI,etc.)
Last edited by jK on 23 Jan 2008, 03:09, edited 1 time in total.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Post screenshots of your ui

Post by jK »

:x
User avatar
kiki
Posts: 859
Joined: 05 Nov 2007, 03:06

Re: Post screenshots of your ui

Post by kiki »

so to change my layout I need ctrlpanel.txt? Do I need to use teh luas? I just want 4 collumns and more rows for my command/build menu
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Post screenshots of your ui

Post by jK »

there are 2 ctrlpanel.txt. One if you use LuaUI (in ./Spring/LuaUI/*) and one if you don't use LuaUI (in ./Spring/*).
You can open those with any text editor and adjust the settings (change # of rows etc.).
The layout.lua is only available if LuaUI is enabled and you find it in ./Spring/LuaUI/*. You can change a lot with it, but you need some lua and programming experience to change it.
User avatar
kiki
Posts: 859
Joined: 05 Nov 2007, 03:06

Re: Post screenshots of your ui

Post by kiki »

Image

This is not my own ui that i am working on, but i think its a good job on making an existing ui look good. Its also a good screenie of nook. Btw the control panel is also completely clear. I like that :)
User avatar
ginekolog
Posts: 837
Joined: 27 Feb 2006, 13:49

Re: Post screenshots of your ui

Post by ginekolog »

thx JJ i use your lua file now. Got rid of useless icons ;)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Post screenshots of your ui

Post by TradeMark »

kiki wrote:Image

This is not my own ui that i am working on, but i think its a good job on making an existing ui look good. Its also a good screenie of nook. Btw the control panel is also completely clear. I like that :)
Oh yeah! i like that how those messages are in different colors, and spectator quit isnt "player has quit", i want that. where to download?
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Post screenshots of your ui

Post by CarRepairer »

IceUI. See lua forum section.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: Post screenshots of your ui

Post by ZellSF »

TradeMark wrote:
kiki wrote:Image

This is not my own ui that i am working on, but i think its a good job on making an existing ui look good. Its also a good screenie of nook. Btw the control panel is also completely clear. I like that :)
Oh yeah! i like that how those messages are in different colors, and spectator quit isnt "player has quit", i want that. where to download?
"spectator has quit" has nothing to do with LuaUI or anything, it's what the default UI displays.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Post screenshots of your ui

Post by TradeMark »

Oh? last time i saw spec quitting, it showed me "player X has quited" or something similar, i just hate those confusing messages as they were actually players. so is it fixed now?
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: Post screenshots of your ui

Post by ZellSF »

Uh, it was fixed two months ago. Don't you actually play Spring?
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Post screenshots of your ui

Post by TradeMark »

yeah, i played 2 days ago, and it said player quited o_O
Post Reply

Return to “General Discussion”