![]() |
Auto Tooltip - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion) +--- Thread: Auto Tooltip (/Thread-Auto-Tooltip) |
Auto Tooltip - Oxtar - 12-13-2012 08:50 AM Well i've been fighting with the new clients for a couple days. Older versions required you to click a player/item/deco to show it's name. Now just by hovering it, it display itself automatically. What i am wondering is this, is it possible to turn off that feature or is it hardcoded into the client? OR is it possible to use this feature only on items? OR If it has to stay as it is, what are the ways to alter the character names with that hovering tooltip? RE: Auto Tooltip - Mordaunt - 12-13-2012 09:13 AM It's a tooltip that can be turned off in the sphere.ini if you wish I beleive it's this one: // FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support so the line FeatureAOS = should not include the number 02 Unfortunately it's either on or off that way. You could add an event on players so that it is cancelled out for players/NPC's Code: ON=@ClientToolTip RE: Auto Tooltip - Oxtar - 12-13-2012 11:03 AM I already tried removing that option into the Sphere.ini file. It didn't stop UO for firing the Tooltip. Gonna test it manually from a script. I'll keep in touch. EDIT : It still pop-up. Tried with ClientTooltip and CharClientToolip. I think it comes from the UO Client itself, not a sphere action. Using 7.0.23.1 at the moment. RE: Auto Tooltip - Mordaunt - 12-13-2012 11:17 AM If that AOS feature is not enabled, tooltips will not work at all. However if you're wanting to keep them but only on items, try what I posted RE: Auto Tooltip - Oxtar - 12-13-2012 11:28 AM It seems you were right. I was wondering why my name wasn't changed after .set name bleh It kept showing my original name. Reloged, and it don't prompt anymore. Thanks Mordaunt. Btw, what are cliloc? (addcliloc) i never used them in lower versions of sphere. Are there any documentation about those? What are their main purpose? RE: Auto Tooltip - Mordaunt - 12-13-2012 11:35 AM cliloc is where the text displayed in tooltips are defined. Many of them are set and cannot be altered, there are some however which will accept custom text and can be used in conjunction with other "clilocs" to create a more complex tooltip or on their own. e.g. Code: ON=@ClientToolTip You can only use a number once in each tooltip, the 2 listed there are both empty thus allowing for 2 lines editable to your text completely. If you need a third, 1061640 is also blank Unfortunately the wiki page for ADDCLILOC has not yet been created RE: Auto Tooltip - Oxtar - 12-13-2012 11:41 AM Thanks, it clears out some questions i had in mind. Well, i came across another problem which is indirectly related to the Tooltip. With the version i'm using, when i click myself or a NPC, it brings up a menu(for myself it brings up Open Paperdoll or Open Backpack, and NPC's it brings up Buy, Sell, etc) I tried altering it with @Click and @CharClick. I wish to make it stop like it did for the player Tooltip. Maybe i'm using the wrong ON=@something... EDIT : And yeah i know @Click wouldn't have worked. lol. RE: Auto Tooltip - Mordaunt - 12-13-2012 11:46 AM That is a context menu, not a tool tip: http://wiki.sphere.torfo.org/index.php?title=@ContextMenuRequest SRC.AddContextEntry EntryTag,TextID,Flags,Color EntryTag - the number to return as ARGN by @(item)ContextMenuSelect. Make it unique. - EntryTags from 0 to 100 are reserved by Sphere for internal use, so do not use it. TextID - CLILOCed name of the button. The number from cliloc.[your_localization] WITHOUT the leading "300" or such! Just type "5194" or "11010" Flags - 01 - locked (will be grayed out) - 02 - consecutive entries with this flag set will be summarized under a golden arrow - 020 - can be colored Color (applied only if Flags & 020) - hue RE: Auto Tooltip - Oxtar - 12-13-2012 11:50 AM Bite me... Lol gotta get used to new features huh? Thanks Mordaunt (again) ![]() RE: Auto Tooltip - Mordaunt - 12-13-2012 12:06 PM Yeah, but some of the new features are really nice once you get into them |