IceUI - Page 24

IceUI

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

Moderator: Moderators

User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: IceUI

Post by Gota »

Pressure Line wrote:Got a few million US dollars lying around to fund R&D?

Srsly. You're an idiot.
You don't need a few million dollars to make the gui look like that you moron.
Go troll someplace else.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: IceUI

Post by Hoi »

You're the one trolling here, stop it, it wouldn't be nice for meltrax to get his topic locked just becaus of your trolling.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: IceUI

Post by Satirik »

gota, just make a 9picts component for IceUI, it's the first step, i guess you could find a lot of people to make the pictures for each windows then

it should not even be hard to make :

Code: Select all

frames:New("rows", {
    texture:New({
      filename = "camera.png",
      innerW = 32,
      innerH = 32
    }),
    text:New({
      text = "TA",
      align = "center"
    })
  }, { 32/47, -32/47 })
it makes a two rows frame with 1pict of the camera and a name, what you need to do is a component with 3*3 frames (3rows with 3cols in each) with a texture inside, you must not resize any pict but repeat them (maybe texture doesn't support that yet but you can improve it), then you need to add that new 9picts component to the windows layers, and read the pict names from a file somewhere
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: IceUI

Post by Forboding Angel »

http://www.imagebam.com/image/3e322322713217

ICEUI at 1920x1200 looks totally miserable. COuld you do something about it?
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

ctrl-f11?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: IceUI

Post by Forboding Angel »

Can't adjust font size. Can't magically make everything fit on the top row. THe font that massive looks pretty ugly. Perhaps something could be done with the scaling so that it doesn't go all omg?
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

It doesn't do that on Windows, current Spring version...
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

That does look pretty miserable. Let's find out why.

Which OS do you use? Which version of IceUI? You can find out the version by opening the updater (sh or bat) and looking for the Revision variable.

It is pretty weird though either way. Maybe you'll have to talk to me in the lobby so I can give you a few files with debug output.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: IceUI

Post by Forboding Angel »

latest version as per your link on the first page, and the updated bat telling my no notable changes (rev81)

vista

1920x1200

Edit: Found the issue. Had nothing to do with ICEUI. Sorry about that.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: IceUI

Post by Masure »

Forboding Angel wrote:latest version as per your link on the first page, and the updated bat telling my no notable changes (rev81)

vista

1920x1200

Edit: Found the issue. Had nothing to do with ICEUI. Sorry about that.
What was the issue then ? Maybe it could be useful to others.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: IceUI

Post by Acidd_UK »

In the latest version as of now, UnitCollection starts as being 'on' every game, though it shows up as off in the widget list. When I ckick it in the widget list, it goes away and still shows off. From then on I can toggle it on and off as normal, but I can't get rid of it automatically at the start of games.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

Yeah, sorry, that has nothing todo with the latest version of Spring. Been like that since it's been released.

For now just rename the lua file in Widgets/IceUI to anything but .lua if you don't want to use it. Sorry.
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Re: IceUI

Post by Acidd_UK »

NP - I thought renaming/deleting it might be a quick workaround, but didnt try it yet.

While I'm here, the default cmd bar has a width of 3 (controlpanel.lua line 156). I manually editied that line to give 5 command icons per row, but when I updated recently it got reverted to the default of 3. If I change it via the options menu, does it get saved somewhere else so that the value is protected between updates?

Finally, IceUI rocks, it makes Spring sooo much prettier!
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

If you change it through tweak-mode (like you're supposed to :P ), it gets saved in your IceUI profile. And if an update overwrites that, please tell me. That's not supposed to happen.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: IceUI

Post by Masure »

MelTraX wrote:If you change it through tweak-mode (like you're supposed to :P ), it gets saved in your IceUI profile. And if an update overwrites that, please tell me. That's not supposed to happen.
Command columns setup through tweak mode works fine for me.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: IceUI

Post by Forboding Angel »

Sorry, the above happened when I included it in the mod archive. COuld you make it so that it can be included with the mod?
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: IceUI

Post by lurker »

Well that was fun.
  • 2x Spring.CreateDir(GUI_DIRNAME) Spring.CreateDir(PROFILES_DIRNAME) before table.save
  • adjust glGetTextWidth * vsx / vsy * 1.33333333 by zerggin's equation
And it works!
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: IceUI

Post by Jazcash »

How do I set the grey box backgrounds that most elements have to transparent?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: IceUI

Post by smoth »

WE WILL TAKE AWAY THEIR GREY BOXES!
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: IceUI

Post by Jazcash »

smoth wrote:WE WILL TAKE AWAY THEIR GREY BOXES!
You don't have to take them away. I'd just like a transparency option please ^_^
Post Reply

Return to “Lua Scripts”