Page 1 of 2
Context-sensitive tooltip
Posted: 25 Oct 2008, 14:53
by MelTraX
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.
Re: Context-sensitive tooltip
Posted: 26 Oct 2008, 14:56
by Tribulexrenamed
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.
Re: Context-sensitive tooltip
Posted: 26 Oct 2008, 15:09
by MelTraX
That's exactly the feedback I'd like to have. Thanks. But I'm sure there are more ideas.
Re: Context-sensitive tooltip
Posted: 27 Oct 2008, 03:21
by CarRepairer
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.
This is exactly what kiki was making. Are you stealing from kiki?
Re: Context-sensitive tooltip
Posted: 29 Oct 2008, 02:43
by Tribulexrenamed
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
Re: Context-sensitive tooltip
Posted: 08 Nov 2008, 00:56
by Tribulexrenamed
Today i discovered that shield strength is a good thing to put in a tooltip...
Re: Context-sensitive tooltip
Posted: 08 Nov 2008, 02:42
by SinbadEV
Larger buildpic image or 3D model of unit when choosing to build.
Re: Context-sensitive tooltip
Posted: 08 Nov 2008, 03:58
by lurker
Doesn't IceUI hide unit descriptions atm? That would be nice to have back.

Re: Context-sensitive tooltip
Posted: 08 Nov 2008, 07:49
by CarRepairer
lurker wrote:Doesn't IceUI hide unit descriptions atm? That would be nice to have back.

That was fixed like a year ago.
Re: Context-sensitive tooltip
Posted: 08 Nov 2008, 15:55
by Tribulexrenamed
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.
Re: Context-sensitive tooltip
Posted: 08 Nov 2008, 18:11
by lurker
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
Posted: 08 Nov 2008, 21:58
by CarRepairer
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.
Yeah that's the old one from 1983. Go to the end of the thread and get the latest one.
Re: Context-sensitive tooltip
Posted: 09 Nov 2008, 02:50
by lurker
CarRepairer wrote:very_bad_soldier is a fellatrix
I'll get the latest then.
Re: Context-sensitive tooltip
Posted: 11 Nov 2008, 18:14
by lurker
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?
Re: Context-sensitive tooltip
Posted: 11 Nov 2008, 19:56
by CarRepairer
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?
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.
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.
Re: Context-sensitive tooltip
Posted: 12 Nov 2008, 03:20
by Tribulexrenamed
satirik ftw.
Except for major typos in the code i have to fix before everything works.
Re: Context-sensitive tooltip
Posted: 27 Nov 2008, 15:42
by manolo_
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?
Re: Context-sensitive tooltip
Posted: 27 Nov 2008, 22:28
by MergeNine
For modders, and this will need a debug switch, the actual unit name (e.g armpw) would be useful.
Re: Context-sensitive tooltip
Posted: 27 Nov 2008, 23:03
by Pressure Line
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
Re: Context-sensitive tooltip
Posted: 28 Nov 2008, 01:18
by MergeNine
Yeah but it would still be useful as a quick memory jog, obviously you want to choose better names where possible.