IceUI - Page 12

IceUI

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

Moderator: Moderators

User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

If you reload LuaUI it improves remarkably. I just bound it to a hot key and hit it after starting each game.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

Does right click on energy bar control regular metalmaker widget?

Also, will you be adding a way to see what that's set at?
Smiff
Posts: 123
Joined: 03 Oct 2007, 12:54

Post by Smiff »

any chance IceUI will run faster in the next ver of Spring? I'd love to use it but just can't afford a 2-3 FPS hit let alone 20, when it drops to single digits in large games every bit of speed is needed.. and without any weird workarounds like tabbing out and in.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

LordMatt wrote:If you reload LuaUI it improves remarkably. I just bound it to a hot key and hit it after starting each game.
Also use quantum's FPS manager.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Post by MelTraX »

ZellSF, that's what it should do.. I'm not sure though if it ever worked (my side should at least)..

But that will probably be dropped because trepan and I agreed on an options format that will hopefully be adopted by all widgets and can then be set in IceUI (or any other widget that implements the options handler)..

Other than that I just wanted to say that IceUI should work with the current SVN builds and the next release now..
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

I tried playing the SVN version some and I can't seem to issue order via the minimap, sort of annoying.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: IceUI

Post by jK »

that's an engine bug
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

Uh? The default minimap just works fine, just as the LuaUI minimap redirection widget things works just fine.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

Thanks for your and LordMatts bug reports..

I fixed all problems with 0.76b1 that I could find in an hour :P.. If you find anything else, please let me know..
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

Uh, that update screwed up things pretty badly here, so much that I needed to do a clean reinstall. No idea why though.

Edit: ah, found it, disallow helper AIs is not an option you should enable.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

Is there a reason windows can't be placed at the top of the screen? Currently if I edit current.lua to say

Code: Select all

	energyresbar = {
		position = {
			[1] = 543,
			[2] = 0,
Then the energy bar ends up one pixel from the top, negative values doesn't seem to be accepted.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

Maybe you disabled the borders or something? Or maybe it's because borders are blurred atm with anti aliasing enabled.

Negative values mean "from the bottom" so -1 makes it _start_ at the bottom most pixel..
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

oh, right, I disabled borders because IceUI window borders aren't perfectly square. why aren't they :(

After changing that, there's still a 1 pixel border at the top and left of the minimap though.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

Hmm.. Can you post a screenshot of those borders? Do you have anti-aliasing enabled?

Maybe you changed the border color of the minimap too.. It doesn't inherit the general border color anymore then..
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Re: IceUI

Post by ZellSF »

Oh right, that's me being stupid, I do have it set to be transparent, like all windows, I just forgot that that would end up looking stupid on the minimap.
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Re: IceUI

Post by CaptainMaim »

When are you going to release a version for 0.76b1? I can't find it.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: IceUI

Post by LordMatt »

Use the updater in IceUI/Accessories
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Re: IceUI

Post by LOrDo »

Whenever I try to use IceUI nowadays I get :
Loading: LuaUI\Widgets\gui_IceUI.lua
false
Error in Initialize(): [string "-------------------------------------------..."]:153: attempt to compare nil with number
Removed widget: IceUI
Thats with the latest version, fresh updated.
MelTraX
Posts: 470
Joined: 02 Jan 2007, 16:18

Re: IceUI

Post by MelTraX »

Thanks for reporting..

Should be fixed now. Please test :).
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Re: IceUI

Post by LOrDo »

Hmm, well that one seems to be fixed. But now I get:
Loading: LuaUI\Widgets\gui_IceUI.lua
Sorting roster by Allies
false
Error in Initialize(): [string "local groupDescs = {..."]:180: attempt to concatenate field 'author' (a nil value)
Removed widget: IceUI
Post Reply

Return to “Lua Scripts”