Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(1023 b)
Download
Updated: 01-03-11 08:16 PM
Pictures
File Info
Updated:01-03-11 08:16 PM
Created:06-26-09 05:06 PM
Downloads:2,024
Favorites:7
MD5:

FlyCandy

Version: 7
by: Phemoir [More]

Hide or show the UI and all name tags!

This is my first mod, made with the help of a few kindly folks on the WOW UI and Macro forum. I made this because I like to fly around with the UI off, and I wanted to hide all of the in game text as I did so.

Note: The default ALT+Z behavior does not hide player names, NPC names, etc. This will allow it to do so.

Note #2: If you have the interface off, and you get in combat, or if you have a target, that name will show.

7 -- Updated new CVar list:
  • - "UnitNameCompanionName",
  • - "UnitNameEnemyCreationName",
  • - "UnitNameFriendlyCreationName",
  • + "UnitNameFriendlySpecialNPCName",
  • + "UnitNameGuildTitle",
6 -- Updated for WoW patch 4.03. Added saving per character; seems to work fine.
5 -- Updated for WoW patch 3.3.x unit name changes.
4 -- Updated for WoW patch 3.3 unit name changes. Fixed issue with changing settings via interface menu. Got rid of invisa-frame.
3 -- Stores your current settings at launch, restores those 'OnShow', rather than just turning everything on.
2 -- Changed to use frames, now improves the standard ALT+Z functionality.
1 -- Initial release. Required a macro to run.
Archived Files (6)
File Name
Version
Size
Author
Date
6
1022B
Phemoir
12-27-10 02:42 PM
5
1kB
Phemoir
03-26-10 04:13 PM
4
1kB
Phemoir
12-11-09 08:15 PM
0.3
822B
Phemoir
07-01-09 01:02 PM
0.2
743B
Phemoir
06-26-09 06:52 PM
0.1
763B
Phemoir
06-26-09 05:06 PM


Post A Reply Comment Options
Unread 06-15-10, 06:02 PM  
Phemoir
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 5
Originally posted by Narune
I have a friend that plays WoW on a 15 inch laptop and she recently started raiding. She was looking for a mod that would allow her to toggle the name tags off when in a raid to reduce all the clutter. I know there used to be a mod to do this, but it seems to be out of development.

It looks like FLyCandy could do this with a little modification.
Why don't they just turn them off in the UI settings? There's loads of downtime in raids. Just hit escape, go into the inteface options, under .. name .. I think it is, and uncheck the box for friendly names, titles, and guild tags. Actually I think all you have to do is uncheck friendly names, and it automatically disables their associated guild tags and titles.
Phemoir is offline Report comment to moderator  
Reply With Quote
Unread 06-09-10, 11:29 PM  
Narune
A Deviate Faerie Dragon
 
Narune's Avatar

Forum posts: 17
File comments: 7
Uploads: 0
I have a friend that plays WoW on a 15 inch laptop and she recently started raiding. She was looking for a mod that would allow her to toggle the name tags off when in a raid to reduce all the clutter. I know there used to be a mod to do this, but it seems to be out of development.

It looks like FLyCandy could do this with a little modification.
__________________
Thank you for your time

Narune is offline Report comment to moderator  
Reply With Quote
Unread 07-17-09, 03:47 PM  
wesjr
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
You should have named this "Flying Blind"

wesjr is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 07:05 PM  
Phemoir
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 5
Originally posted by Tekkub
Either way, my point was, you should enhance alt-z (without introducing taint) rather than outright replacing it. Replacing it you will taint damn near everything with your code if you accidentally call that in combat... you'll basically break your UI until you reload, alt-z won't do that.
I've updated it with your suggested modifications. This is nice in that I don't have to fiddle with making an extra keybine also.
Phemoir is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 07:02 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 330
Uploads: 85
There's no way to hide the target's name as far as I'm aware. Either way, my point was, you should enhance alt-z (without introducing taint) rather than outright replacing it. Replacing it you will taint damn near everything with your code if you accidentally call that in combat... you'll basically break your UI until you reload, alt-z won't do that.
__________________
I have reached enlightment.
Thank you bacon!
Tekkub is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 06:54 PM  
Phemoir
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 5
Originally posted by Tekkub
Alt-z won't taint in combat either. You should just make a child frame to UIParent and use that frame's OnShow/OnHide to show/hide the names... then use Alt-z so you don't break things.
Sounds good.

It does look like entering combat will cause the name of the combat creature to appear above their head. Also, target names (such as clicking on a corpse, or targeting pretty much anything) will appear. But, clear your target, and don't get into combat, and it's nice and purdy.
Last edited by Phemoir : 06-26-09 at 06:54 PM.
Phemoir is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 06:29 PM  
Tekkub
Featured Artist
 
Tekkub's Avatar
Featured Addon Author

Forum posts: 953
File comments: 330
Uploads: 85
Alt-z won't taint in combat either. You should just make a child frame to UIParent and use that frame's OnShow/OnHide to show/hide the names... then use Alt-z so you don't break things.

*edit*
Here, code:
Code:
local cvs = {"Own", "NPC", "PlayerGuild", "PlayerPVPTitle", "FriendlyPlayerName", "FriendlyPetName", "FriendlyCreationName", "EnemyPlayerName", "EnemyPetName", "EnemyCreationName", "CompanionName"}
local f = CreateFrame("Frame", nil, UIParent)
f:SetScript("OnShow", function() for _,v in pairs(cvs) do SetCVar("UnitName"..v, 1) end end)
f:SetScript("OnHide", function() for _,v in pairs(cvs) do SetCVar("UnitName"..v, 0) end end)
__________________
I have reached enlightment.
Thank you bacon!
Last edited by Tekkub : 06-26-09 at 06:32 PM.
Tekkub is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 06:27 PM  
Phemoir
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 29
Uploads: 5
Originally posted by Sepioth
How does one "Click" the button again once the UI is gone??
Bind it to a key. Press the key.
Originally posted by Politig
Alt + Z does this already.
No it doesn't. Alt + Z only turns off the UI. It does not hide name tags when they are enabled. This hides player names, pet names, NPC names, etc.
Phemoir is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 06:26 PM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 816
File comments: 334
Uploads: 16
nice idea but yeah alt-Z is easier.
__________________


"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
tinyu is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 05:59 PM  
Sepioth
A Molten Giant
AddOn Author - Click to view AddOns

Forum posts: 894
File comments: 97
Uploads: 5
Other that what the poster below said.

How does one "Click" the button again once the UI is gone??

BUT Congrats on your first mod.

Now get back to coding more stuff and make us something nice
Sepioth is offline Report comment to moderator  
Reply With Quote
Unread 06-26-09, 05:23 PM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 399
Uploads: 1
Hello,

Alt + Z does this already.
Politig is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: