FocusFrame
| Last Update: | March 30, 2008 (3 months ago) |
|---|---|
| Category: | Unit Frames |
| Tags: | focus, frame, and unit |
| Project Manager: | Tageshi |
| Current Version: | FocusFrame 2.3.6 (for World of Warcraft 2.4.0) |
| Downloads Today: | 497 |
| Downloads Total: | 129,001 |
| Favorites: | 424 |
| Comments: | 76 |
- Screenshot
- More
- More Information
| Created On: | Dec. 31, 2006 |
|---|
- About FocusFrame
FocusFrame -- Created by Tageshi
1. WHAT IS "FocusFrame"?
FocusFrame is very simple addon to show your focus.
The frame looks almost exactly same as Blizzard's TargetFrame; It provide following features. - Click to target your focus or your focus's target. - Shows your focus's health and mana. - Shows your focus's target. - Shows cast bar of your focus. - Supports Click-Casting such as Clique addon by utilizing ClickCastFrames. - Movable by dragging the title tab. - Supports MobHealth.
2. WHAT IS "focus"?
The "focus" is a new feature of WoW API 2.0.
Basically you can use "focus" as a second target.
It works in similar way as your real Target
and allows you to use DOUBLE targets at the same time. (essentially)
From API 2.0 Changes: > * There is a new unit "focus" which behaves like target, > the "PLAYER_FOCUS_CHANGED" event is fired when it is changed, > and you receive unit events for this unit.
> * Spell casting and targetting (including focus) are only allowed > using secure templates or special slash commands (not /script).
3. HOW TO USE "focus"?
You can set "focus" by using new standard Keybinding "Focus Target" or
by using new macro command "/focus" with target name or target id.
Another new standard keybindings "Target Focus" will change your target
to your focus. For example, you don't need to remember which mob is
your "sheep" to poly again.
Also you can use a keyword "focus" as a target id like "player", "target", "party2", etc.
Example1: You can assist your focus by this macro.
/assist focus
You may want to focus your main tank/main assist if you will do DPS. Or focus raid boss and 'assist' it if you are healing.
Example2: You can cast your Earth Shock on your focus by this macro.
/cast [target=focus] Earth Shock
You can watch spell casting bar on FocusFrame.
4. COMMANDS
FocusFrame has a few slash commands;
/focusframe scale <num> (Changes size of FocusFrame window.) /focusframe reset (Reset window position.) /focusframe lock (Prevent dragging the frame by accident.) /focusframe unlock (Allows to move again.)
If your screen space is limited, try smaller window size: /focusframe scale 0.7
When you accidently lost FocusFrame from your sight, reset it's position and FocusFrame will appear again at the center of screen.
5. CHANGES
Version 2.3.6 TOC updated for WoW 2.4 .
Version 2.3.5 Fixed slash command "/focusframe hidewhendead" so that it respects Saved Variables. Restored dependency on the standard Interface option "Show Enemy Cast Bar". (which I removed hastily on version 2.3.4 .)
Version 2.3.4 Added slash command "/focusframe hidewhendead" to toggle the new function introduced on 2.3.3 . Suports WoW patch 2.4 PTR.
Version 2.3.3 Added additional condition so that FocusFrame will be hidden only when focused target is dead AND is enemey.
Version 2.3.2 FocusFrame will be hide when focused target is dead.(Finally!) Added warning message for when too big scale argument is passed for /focusframe scale command. Added warning message for when user tried to change frame scale in combat.
Version 2.3.1 Fixed broken MobHealth support.
Version 2.3.0 (<num> -- which changes size of FocusFrame.
Version 1.1 Fixed broken initialization. FocusFrame window is now really displayed.
Version 1.0 First release. But initialization was broken.
- Downloads (5)
- Screenshots (1)
- Tickets
- Comments
- RSS
You need to login or register to post comments.
Benefits of Registration
- Interact with hundreds of thousands of other gamers on an open social network.
- Post your stories, news, images, videos, and other content to share.
- Create a network with your fellow gamers or join an existing one.
- Gain reputation for everything you do.
- Recommended Addons
- RSS
Users who liked FocusFrame also liked these.
- 41 InventoryOnPar Inventory & Bags
- 91 MobInfo-2 Browser Unit Frames
- 17 TalentPlanner Other
- 8 MyTPS Combat
- 7 ThreatU Combat
- Similar Addons
- 2,463 X-Perl UnitFrames Unit Frames
- 1,672 Proximo Unit Frames
- 1,644 MobInfo-2 ... Unit Frames
- 1,095 Grid Unit Frames
- 833 PitBull Unit Frames
- 11,432 QuestHelper Map and Quest & Leveling
- 4,880 Atlasloot Enhanced PvP, Map, Tradeskill, and ...
- 3,838 GroupCalendar Group/Guild Management, Quest ...
- 3,694 Omen Threat Meter Raids & Encounters
- 3,389 Preform AV Enabler PvP




- +0
- Thumbs Down
- Thumbs Up
Isler saidlocalization file for zhCN & zhTW:
if GetLocale() == "zhCN" then
FOCUSFRAME_TITLE = "\231\132\166\231\130\185\231\155\174\230\160\135"
FOCUSFRAME_DRAG = "\230\140\137\228\189\143\233\188\160\230\160\135\229\183\166\233\148\174\230\139\150\229\138\168\230\157\165\231\167\187\229\138\168\230\161\134\228\189\147"
FOCUSFRAME_DRAG_LOCKED = "\228\189\191\231\148\168 /focusframe unlock (\231\167\187\229\138\168)"
elseif GetLocale() == "zhTW" then
FOCUSFRAME_TITLE = "\231\132\166\233\187\158\231\155\174\230\168\153"
FOCUSFRAME_DRAG = "\230\140\137\228\189\143\230\187\145\233\188\160\229\183\166\233\141\181\230\139\150\229\139\149\228\190\134\231\167\187\229\139\149\230\161\134\233\171\148"
FOCUSFRAME_DRAG_LOCKED = "\228\189\191\231\148\168 /focusframe unlock (\231\167\187\229\139\149)"
end
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidThanks for translation. But your FOCUSFRAME_DRAG_LOCKED is mistranslation.
With FOCUSFRAME_DRAG_LOCKED = "Use /focusframe unlock to move.", this tooltip text is explaining what command you need to use. That is "/focusframe unlock" command; so you shouldn't translate this keyword "unlock" into chinese.
I mean "\228\189\191\231\148\168 /focusframe unlock (\231\167\187\229\139\149)", or something like this.
Do you have better idea?
- +0
- Thumbs Down
- Thumbs Up
Isler saidYell,sorry for the mistake.
- +0
- Thumbs Down
- Thumbs Up
Capsian saidCommand line option hidewhendead does not respect saved variable.
It seems that the FocusFrame_HideWhenDead function is initialized prior to the variables being loaded. The fix is rather is to call this function as a result of the VARIABLES_LOADED event, rather than the OnLoad callback of the FocusFrame.
Also, it would be nice if it were possible to toggle the visiblity of the TargetofFocusFrame, FocusFrameSpellBar, etc..
It would make sense to have the visibility of these frame respect the options in the standard Interface options. Otherwise, adding individual slash commands for each of these.
Also, scaling the FocusFrame requires a reload of the GUI.
Also, when TargetofFocus changes the player buff cooldowns referesh themselves causing them to flash.
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidThanks for great report, Capsian!
>>Command line option hidewhendead does not respect saved variable.
Oh! No. Noone else noticed until now?
>> It seems that the FocusFrame_HideWhenDead function is initialized prior to the variables being loaded. The fix is rather is to call this function as a result of the VARIABLES_LOADED event, rather than the OnLoad callback of the FocusFrame.
I'm working on it and next version will come soon.
>>Also, it would be nice if it were possible to toggle the visiblity of the TargetofFocusFrame, FocusFrameSpellBar, etc..
>>It would make sense to have the visibility of these frame respect the options in the standard Interface options. Otherwise, adding individual slash commands for each of these.
FocusFrameSpellBar will be toggled bia the standard interface options in the next version.
About TargetofFocusFrame, someone may need TargetofFocus while they set the standard interface option off.
For now, I don't change anything about TargetofFocusFrame until someone discovers good reason to do so.
>>Also, scaling the FocusFrame requires a reload of the GUI.
I cannot reproduce this problem.
>>Also, when TargetofFocus changes the player buff cooldowns referesh themselves causing them to flash.
??? How to see this? Hot to fix??
- +0
- Thumbs Down
- Thumbs Up
Capsian saidYou're welcome.
>>Command line option hidewhendead does not respect saved variable.
>>>>Oh! No. Noone else noticed until now?
>> It seems that the FocusFrame_HideWhenDead function is initialized prior to the variables being loaded. The fix is rather is to call this function as a result of the VARIABLES_LOADED event, rather than the OnLoad callback of the FocusFrame.
>>>>I'm working on it and next version will come soon.
Great.
>>Also, it would be nice if it were possible to toggle the visiblity of the TargetofFocusFrame, FocusFrameSpellBar, etc..
>>It would make sense to have the visibility of these frame respect the options in the standard Interface options. Otherwise, adding individual slash commands for each of these.
>>>>FocusFrameSpellBar will be toggled bia the standard interface options in the next version.
About TargetofFocusFrame, someone may need TargetofFocus while they set the standard interface option off.
For now, I don't change anything about TargetofFocusFrame until someone discovers good reason to do so.
This is fine. To be consistant I would bind the visibility to of the TargetofFocusFrame to the standard options as well.
>>Also, scaling the FocusFrame requires a reload of the GUI.
>>>>I cannot reproduce this problem.
Scale the window and it becomes disfigured (at least on my machine). Reloading the UI clears the problem.
>>Also, when TargetofFocus changes the player buff cooldowns referesh themselves causing them to flash.
>>>>??? How to see this? Hot to fix??
Give yourself any number of buffs (which contain a cooldown). Focus on yourself. Target / untarget yourself repeatedly and you will see it flicker. The debuffs are initially set to 100% then decrease to their actual cooldown after a single frame.
This also occurs with the mana/hp bars. For a single frame when they are shown they appear as 100% then quickly move to their actual value (if its below 100%).
To help reproduce these quickly target/untarget yourself while you are focused.
- +0
- Thumbs Down
- Thumbs Up
Draemon saidI don't mind using 2.3.3, however the toggle option of showing/hiding focus target when dead is something I like, and don't want to have to keep using 2.3.3 if future updates come out.
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidOh, I just removed dependence to standard Interface option "Show Enemy Cast Bar" in 2.3.4 .
Cast bar of FocusFrame used to be disabled when "Show Enemy Cast Bar" was off (from version 2.0 to version 2.3.3.)
Do you want to restore this? Try using older version 2.3.3, and tell me how did you feel.
- +0
- Thumbs Down
- Thumbs Up
Draemon saidIs there any possibility of making the cast bar optional? Adding a "/" command to enable/disable it? Or a line of code I can remove so that it does not appear? I use Quartz cast bars and this addition to an already perfect mod is conflicting with it =/
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidVersion 2.3.4
Added slash comand "/focusframe hidewhendead" to toggle the new function introduced on 2.3.3 .
Suports WoW patch 2.4 PTR.
- +0
- Thumbs Down
- Thumbs Up
beest75 saidok this was a swell addon, but i can't get it to work on my new pc. maybe the vista is the reason? when i try and extract the files into addons folder it keeps saying "such and such folder already exsists? i have no idea how to get this to work.
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidThis is not where you ask about how to use your OS....
- +0
- Thumbs Down
- Thumbs Up
zxp024 saidmany dissussions about the "dead" focus,and thanks for the change of the add on.
it seems some user don't want it to be disapper,no matter the focus is dead or alive.
but i still think it is useless when the focus "monster enemy" is dead.
well,maybe a slash command is realy needed.eg.the focus is a player(partner or outdoors pvp),the focus is still on,if the focus is a monster,and is dead,disapper!
so,slash command to turn this "disapper" option on/off is needed.
thanks again for tageshi's hard work,i really like this addon,and we all want it to be better.
- +0
- Thumbs Down
- Thumbs Up
Lombra saidI have to agree. I always want to know if I have a focus or not, whether it's dead or not. That being said, I love this addon as well. I really don't see why there isn't a focus frame like this in the default UI.
- +1
- Thumbs Down
- Thumbs Up
Tageshi saidPlease try this version if you are troubled with new behavior of version 2.3.2 .
Version 2.3.3
Added additional condition so that FocusFrame will be hidden only when focused target is dead AND is enemey.
- +0
- Thumbs Down
- Thumbs Up
JMHammer saidWhat about mobs like the ones in the Scholomance which "die" and then pop back up about 20 seconds later?
Sorry to continue pestering you about this. It's just that, for me, I want FocusFrame to show my Focus all the time. I don't care what the status of my Focus is (alive, dead, crowd-controlled, in combat, out of combat, dancing...), I want FocusFrame to show it for as long as it continues to be my focus. This new behavior where FocusFrame won't display a focus if that focus is a dead enemy is, to me, counter-intuitive.
One of the things I have liked most about FocusFrame is that it doesn't DO anything, it simply displays the current focus in a style which is as much a duplicate of the default target frame as possible. However, a focus is NOT a target so this attempt to emulate the target frame is going too far. For example: If an enemy target dies, the target frame is cleared; but if an enemy focus dies, the focus is NOT cleared. Therefore, I don't see why the FocusFrame frame should be cleared on focus death, because the focus itself is NOT cleared on focus death.
I won't post about this again, but I do hope I have made my point regarding the fundamental difference between a target death and a focus death.
Thank you again for one of the truly essential addons.
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidOk, I understand well.
I will add an slash command later.
But wait for at least 1 week. 3 versions in 3 days are just too much. lol.
- +1
- Thumbs Down
- Thumbs Up
JMHammer saidWhy did you change it so the default behavior causes FocusFrame to be hidden when the focus is dead? A dead focus still exists; it's just dead. A focus might be the target of something like Rebirth, where the player casts on a DEAD focus. Some macros using the form [target=focus,exists] will be harder to manage because a dead focus still exists; it's just dead. I strongly recommend you revert this behavior, or provide a command to toggle this behavior on and off.
By the way, I absolutely LOVE FocusFrame. It is one of the most important addons I use.
The 2.3.2 file is now (2008-1-25, 10:37am EST) available here on Curse. I just downloaded it.
- +0
- Thumbs Down
- Thumbs Up
Tageshi saidHow about if I add [nohelp] condition for hide?
Which means FocusFrame won't be hidden when focus is friendly, and will be hidden only when focus is dead AND is enemy.
I don't want to make it optional behavior it just too subtle difference to easily understand for everyone.
About macros, try using [target=focus,exists,nodead] .
- +0
- Thumbs Down
- Thumbs Up
JMHammer saidYes, I understand the value of the nodead condition in an argument.
Perhaps you can leave the remove-on-dead behavior as the default, and provide display-current-focus-even-if-dead as an option which can be toggled on via a slash command.