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.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.
Post screenshots of your ui
Moderator: Moderators
Re: Post screenshots of your ui
Re: Post screenshots of your ui
As it should.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.
Re: Post screenshots of your ui
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
) 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.
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

Re: Post screenshots of your ui
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.LordMatt wrote:As it should.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.
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.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) 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.
Edit: so you had to resort to literally writing out a file to load as the ctrlpanel? That works.
Re: Post screenshots of your ui
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.lurker wrote:Edit: so you had to resort to literally writing out a file to load as the ctrlpanel? That works.
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 :)
Re: Post screenshots of your ui
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.
Re: Post screenshots of your ui
Thanks lurker for investing time to make the widget :)
Re: Post screenshots of your ui
yes do it, i also used that, but LUA destroyed it somehowNOiZE 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.

Re: Post screenshots of your ui
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.)
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.
Re: Post screenshots of your ui
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
Re: Post screenshots of your ui
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.
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.
Re: Post screenshots of your ui
thx JJ i use your lua file now. Got rid of useless icons 

Re: Post screenshots of your ui
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?
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Post screenshots of your ui
IceUI. See lua forum section.
Re: Post screenshots of your ui
"spectator has quit" has nothing to do with LuaUI or anything, it's what the default UI displays.TradeMark wrote: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?
Re: Post screenshots of your ui
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?
Re: Post screenshots of your ui
Uh, it was fixed two months ago. Don't you actually play Spring?
Re: Post screenshots of your ui
yeah, i played 2 days ago, and it said player quited o_O