Euflorium: The Eufloria Community

Eufloria => Eufloria Classic => Eufloria Classic Mods => Topic started by: annikk.exe on January 12, 2011, 06:48:55 PM

Title: What does this command do? :>
Post by: annikk.exe on January 12, 2011, 06:48:55 PM
Code: [Select]
Globals.P.ToolTipWait (float)
Globals.P.ToolTipWaitUI (float)

I was thinking they would govern the amount of time you have to mouse-over an asteroid or a part of the information bar (respectively) before a tooltip appears.  But it doesn't seem to affect that at all.
I tried using values 1, 0.0001, and 1000.  The time seems the same for all of them, the level still loads though and there is no error message so it seems to be changing something...

What do these commands do? :>  Anyone know?
Title: Re: What does this command do? :>
Post by: Alex on January 12, 2011, 07:18:50 PM
ToolTipWait: I think this is the asteroid tooltips, yeah. Maybe it doesn't work. Does changing it in the options menu work? It might only have an effect when changed from there...
ToolTipWaitUI: The tooltips are when you see when you hover over part of the UI (some parts don't have a tooltip). e.g. hover over part of the info bar and it will tell you what it does.
Title: Re: What does this command do? :>
Post by: annikk.exe on January 12, 2011, 07:20:42 PM
Hmm, I didn't see any method to change it in the options menu.  Maybe I'm just being blind??
At work now so can't really check..
Title: Re: What does this command do? :>
Post by: Bonobo on January 12, 2011, 08:20:01 PM
The first two sliders in options, IIRC.

BTW I’ve found that both tooltips frequently set themselves back to zero. Mentioned it somewhere else, then forgot about it.
Title: Re: What does this command do? :>
Post by: annikk.exe on January 12, 2011, 09:14:01 PM
Ok I sneaked an opportunity to try this again (it's lunch hour) and confirmed that this is bugged.

I realised that setting the variable to 0 is what disables it in the Options menu, so it should disable it completely with the command too.
I tried it, and sure enough, setting the tooltip wait times to 0 meant that asteroid tooltips are now disabled.
However, only asteroids belonging to an empire other than empire 1 are affected.  Player asteroids still display tooltips.
In addition, the UI continues to display tooltips according to whatever behaviour is set in the options menu.  It seems like the UI wait time command didn't have any effect at all.


Is it possible to change this with a wuwei import of some kind?  It will be a bit of a downer otherwise - I would need to specify in the post with the level that it's recommended to turn it off.  Not turning it off leaves my new level with popups appearing every time you issue an order.

It's a minor point I guess but would still be cool to find a way to fix it.. :>
Title: Re: What does this command do? :>
Post by: annikk.exe on January 12, 2011, 10:16:34 PM
PS - the sliders in the options menu work as intended.  Seems like it's just the commands that are bugged.
Title: Re: What does this command do? :>
Post by: Pilchard123 on January 13, 2011, 12:03:55 AM
Quote from: The scripting reference
Program vars - try not to change these yourself :)
Globals.P.ToolTipWait (float)
Globals.P.ToolTipWaitUI (float)
Globals.P.AutoHide (int)
Globals.P.FullScreen (int)
Globals.P.SeenHelp (int)
Globals.P.FontSize (float)
Globals.P.BGFade (float)
Globals.P.PlayerColour  (int)

You can set LeafColour or whatever it was you were messing with a while back to equal whatever you want, but it has no effect, either. I think that might be the case here too.