IceUI, spring 98 and Ba 8.03 ...

IceUI, spring 98 and Ba 8.03 ...

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

IceUI, spring 98 and Ba 8.03 ...

Post by qray » 11 Oct 2014, 20:21

Just noticed when running BA 8.03 with IceUI on Spring 98:

Somehow the standard widgets (or built-ins?) for ressource bars, clock, fps, tooltip and console don't get disabled anymore. Or rather enabled again after IceUI disabled them...
So in the end, I have both displays: from IceUI and the standard ones (though they are displayed as disabled in the widget list).

ATM, I work around by a simple small widget that disables them using Spring.SendCommands, which I have to do in GamePreload(), since when I do it in widget:Initialize() it is also resetted.

But would be nice to understand where this comes from. Somebody has an idea what has changed that affects this?
The work-around seems a bit ugly to me :-)
0 x

User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: IceUI, spring 98 and Ba 8.03 ...

Post by CarRepairer » 11 Oct 2014, 23:30

Are you running it on Windows 95? Upgrade to Windows 98.
0 x

User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: IceUI, spring 98 and Ba 8.03 ...

Post by qray » 12 Oct 2014, 01:34

:shock: ... and I would have thought at least ZK folks could understand my preference for old versions :wink:
0 x

User avatar
Silentwings
Moderator
Posts: 3570
Joined: 25 Oct 2008, 00:23

Re: IceUI, spring 98 and Ba 8.03 ...

Post by Silentwings » 12 Oct 2014, 01:49

Nothing comes to mind, if you attach the IceUI code I'll have a second look.

With your widget that does a SendCommands, maybe try setting its layer to some crazy large number and then using widget:Initialize.
0 x

User avatar
Jools
XTA Developer
Posts: 2802
Joined: 23 Feb 2009, 16:29

Re: IceUI, spring 98 and Ba 8.03 ...

Post by Jools » 12 Oct 2014, 02:14

Not sure if it's relevant, but some widgets need 'widget' or 'self' as argument to the shut down method instead of just void, You could try that.
0 x

User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: IceUI, spring 98 and Ba 8.03 ...

Post by qray » 12 Oct 2014, 02:58

Thanks for the layer tip: this worked for my work-around widget :-)

The code of the IceUI version I can be found here: https://github.com/ecraven/ice-ui. I tried to simply give it a high layer number in gui_iceui.lua but to no effect...
I compared and Red UI also seems to do only a simple Spring.SendCommands("console 0").

I started to dig through the code of IceUI, but so far to no success. Well, maybe I just have to pull up my sleeves and dig harder :wink:
...and if nothings helps live with the work-around
0 x

Grimshad
Posts: 27
Joined: 31 Dec 2009, 03:54

Re: IceUI, spring 98 and Ba 8.03 ...

Post by Grimshad » 05 Aug 2015, 00:33

Did you find a solution or could i possibly have access to your work around?
0 x

klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: IceUI, spring 98 and Ba 8.03 ...

Post by klapmongool » 05 Aug 2015, 22:01

Also interested in this. Atm I run some modified version of iceUI on spring 100 and latest BA version. Works fine after I disable/enable red console, tooltip, map, every game. Then it just shows iceUI.
0 x

User avatar
Floris
Balanced Annihilation Developer
Posts: 599
Joined: 04 Jan 2011, 20:00

Re: IceUI, spring 98 and Ba 8.03 ...

Post by Floris » 06 Aug 2015, 02:18

what is so attractive to ICE ui over RED ui?
0 x

User avatar
Silentwings
Moderator
Posts: 3570
Joined: 25 Oct 2008, 00:23

Re: IceUI, spring 98 and Ba 8.03 ...

Post by Silentwings » 06 Aug 2015, 09:31

Works fine after I disable/enable red console, tooltip, map, every game.
Why every game? Can't you just turn off the RedUI widgets permanently in the widget selector?
0 x

User avatar
Floris
Balanced Annihilation Developer
Posts: 599
Joined: 04 Jan 2011, 20:00

Re: IceUI, spring 98 and Ba 8.03 ...

Post by Floris » 06 Aug 2015, 16:26

...one argument for ICE ui over RED ui is fixed in ba 9.03.

It is: UI elements in ba 9.03 wont be draggable with middlemouse anymore. You must be in tweakui mode (ctrl+f11) to be able to do that.

(oh and you can also already disable icon spacing gaps with /iconspace)
0 x

klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: IceUI, spring 98 and Ba 8.03 ...

Post by klapmongool » 08 Aug 2015, 22:10

Floris wrote:what is so attractive to ICE ui over RED ui?
Widget list is better imho: see all widgets in one screen instead of long list to scroll through
It shows handy information about your team like metal and energy income per player in a decent menu. Also current m/e bars of allies which also allow for easy sharing (better than redui). Better because you can share less/more depending on where you click on the m/e bar of your ally.
Console looks way better and less annoying (but maybe i see a bugged version of RedUI console cos it look insanely bad).
0 x

User avatar
qray
Posts: 377
Joined: 02 Feb 2009, 18:49

Re: IceUI, spring 98 and Ba 8.03 ...

Post by qray » 03 Mar 2016, 16:03

Sorry for resurrecting this thread.
Grimshad wrote:Did you find a solution or could i possibly have access to your work around?
Sorry for the muuuuuuuch too late answer. I didn't find a solution, but the workaround still works (when red ui widgets are disabled). Apart from widget selector.
The workaround widget is attached, just place in Luaui /widgets.
Floris wrote:what is so attractive to ICE ui over RED ui?
Basically what klapmongool said, but IMHO sharing works also fine with the current redui.
Apart from that simply: Configurability.
I can easily without going to configuration files set a lot of things to my liking. Most importantly for me the size of order/build menus and chat, so I don't have to scroll through pages, which I personally find extremely annoying when it gets busy ingame, and I can get them small on the side. I have a rather big monitor and want to see more of the map and not large menus :wink:
As an example a screenshot of my current setting below (chat window of ice vanishes when not used).

Image
compared to the standardui
Image

Doesn't mean that the BA standard UI is bad. Many of my friends like it and play with it. It's just personal taste... and I like to configure things to my taste :wink:
Attachments
screen00271.jpg
(457.03 KiB) Not downloaded yet
screen00260.jpg
standardui
(328.44 KiB) Not downloaded yet
gui_disable_standards.lua
(1.66 KiB) Downloaded 6 times
0 x

Post Reply

Return to “Help & Bugs”