Context-sensitive tooltip
Moderator: Moderators
Context-sensitive tooltip
Hey guys,
I'd like to gather some information here because I'll add a tooltip to IceUI that shows more relevant information instead of always the same. Examples would be the amount of metal to be reclaimed when giving an area reclaim order (like another widget already does). Or the ETA of a construction site if you hover over one (also done by other widgets already).
The widgets that exist today add extra windows/overlays/whatever and I'd like to add it to the tooltip itself because I think that's where the info belongs.
Now I'd like to ask for any ideas about what information to show when performing what action. Of course we're limited to the capabilities of LuaUI here but it has pretty much all information you can have without cheating.
I'd like to gather some information here because I'll add a tooltip to IceUI that shows more relevant information instead of always the same. Examples would be the amount of metal to be reclaimed when giving an area reclaim order (like another widget already does). Or the ETA of a construction site if you hover over one (also done by other widgets already).
The widgets that exist today add extra windows/overlays/whatever and I'd like to add it to the tooltip itself because I think that's where the info belongs.
Now I'd like to ask for any ideas about what information to show when performing what action. Of course we're limited to the capabilities of LuaUI here but it has pretty much all information you can have without cheating.
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Context-sensitive tooltip
Well if you are doing this, can you start out with my modified tooltip lua? I have the units selected and the player owner in it.
the ENEMY UNIT tooltip is one of the most useless. Maybe add player name at least.
Maybe for move and attack orders, give an estimated eta to arrival?
Buildtime and progress and such is a really good idea, and the lua is already there in the form of many other widgets.
More unit stats for the build menu would be nice, like energy make etc. and other stuffs.
the ENEMY UNIT tooltip is one of the most useless. Maybe add player name at least.
Maybe for move and attack orders, give an estimated eta to arrival?
Buildtime and progress and such is a really good idea, and the lua is already there in the form of many other widgets.
More unit stats for the build menu would be nice, like energy make etc. and other stuffs.
Re: Context-sensitive tooltip
That's exactly the feedback I'd like to have. Thanks. But I'm sure there are more ideas.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Context-sensitive tooltip
This is exactly what kiki was making. Are you stealing from kiki?Tribulex wrote:Well if you are doing this, can you start out with my modified tooltip lua? I have the units selected and the player owner in it.
the ENEMY UNIT tooltip is one of the most useless. Maybe add player name at least.
Maybe for move and attack orders, give an estimated eta to arrival?
Buildtime and progress and such is a really good idea, and the lua is already there in the form of many other widgets.
More unit stats for the build menu would be nice, like energy make etc. and other stuffs.
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Context-sensitive tooltip
I was wondering what that was....
Sweetness i might finish this and take a copywrong :))))
Edit: No but those are my ideas. Just there is some funny broken lua I have gotten from her <3
Including a penis emote widget. What the hell is that O_O
Sweetness i might finish this and take a copywrong :))))
Edit: No but those are my ideas. Just there is some funny broken lua I have gotten from her <3
Including a penis emote widget. What the hell is that O_O
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Context-sensitive tooltip
Today i discovered that shield strength is a good thing to put in a tooltip...
Re: Context-sensitive tooltip
Larger buildpic image or 3D model of unit when choosing to build.
Re: Context-sensitive tooltip
Doesn't IceUI hide unit descriptions atm? That would be nice to have back. 

- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Context-sensitive tooltip
That was fixed like a year ago.lurker wrote:Doesn't IceUI hide unit descriptions atm? That would be nice to have back.
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Context-sensitive tooltip
Sinbad I was thinking the exact same thing.
Have you played that game... uerm.. oh yeah Warzone 2100? That style of 3d buildpic is cool. If i can be assed i want to try to lua it.
Have you played that game... uerm.. oh yeah Warzone 2100? That style of 3d buildpic is cool. If i can be assed i want to try to lua it.
Re: Context-sensitive tooltip
I installed IceUI on 77 a week ago. I only have a description when hovering over a buildpic; none at all when a unit is selected.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Context-sensitive tooltip
Yeah that's the old one from 1983. Go to the end of the thread and get the latest one.lurker wrote:I installed IceUI on 77 a week ago. I only have a description when hovering over a buildpic; none at all when a unit is selected.
Re: Context-sensitive tooltip
I'll get the latest then.CarRepairer wrote:very_bad_soldier is a fellatrix
Re: Context-sensitive tooltip
Well I got around to actually checking things. Seems that I have version 81. Everywhere I go suggests that version 81 is the latest. Care to explain this, car?
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Context-sensitive tooltip
Perhaps you have lost your mind. As you can plainly see here I made this very same request on February of 2008, and Meltrax had long since fixed it.lurker wrote:Well I got around to actually checking things. Seems that I have version 81. Everywhere I go suggests that version 81 is the latest. Care to explain this, car?
viewtopic.php?p=256047#p256047
But seriously, I don't know. Maybe there's a setting you need to turn on/off in the tweak mode, or perhaps you are trying it on a mod that doesn't work with it.
Edit: Perhaps you need to get the IceUI with Satirik's changes? Satirik's playerlist is one of the best features of IceUI so I'd recommend it.
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Context-sensitive tooltip
satirik ftw.
Except for major typos in the code i have to fix before everything works.
Except for major typos in the code i have to fix before everything works.
Re: Context-sensitive tooltip
hi,
fix the bug i told u and add this: viewtopic.php?f=23&t=15624&p=294845&hilit=nuke#p294845 :)
btw why adding stuff that is already done by a lua?
fix the bug i told u and add this: viewtopic.php?f=23&t=15624&p=294845&hilit=nuke#p294845 :)
btw why adding stuff that is already done by a lua?
Re: Context-sensitive tooltip
For modders, and this will need a debug switch, the actual unit name (e.g armpw) would be useful.
- Pressure Line
- Posts: 2283
- Joined: 21 May 2007, 02:09
Re: Context-sensitive tooltip
dont mod TA with its bizzare internal unit names 
I use unit names like dc_cyclops, fs_wasp, fwl_flea etc so i dont have to remember stuff like zipper = armfast and jeffy = armfav

I use unit names like dc_cyclops, fs_wasp, fwl_flea etc so i dont have to remember stuff like zipper = armfast and jeffy = armfav
Re: Context-sensitive tooltip
Yeah but it would still be useful as a quick memory jog, obviously you want to choose better names where possible.