Download
(13 Kb)
Download
Updated: 08-31-12 06:33 AM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:08-31-12 06:33 AM
Created:unknown
Downloads:114,128
Favorites:208
MD5:
FocusFrame  Popular! (More than 5000 hits)
Version: 2.5.3
by: Tageshi [More]
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.
Version 2.5.2
Updated for patch 3.2 .

Version 2.5.1
Now saves precise frame position in saved variables to fix
erroneous behavior of positioning and scaling while scale is not 1.

Version 2.5.0
Updated for WotLK 3.1.0
Copyed several new functions from Blizzard's TargetFrame.

Version 2.4.5
(Changed old function names)

Version 2.4.4
Bug fix: Debuff icons sometimes displayed target's debuffs instead of focus's.
Bug fix: Sometimes failed to show Castbar after loading.

Version 2.4.3
The last version 2.4.2 was broken;
It was not showing focus's name, debuffs, etc on the name bar.

Version 2.4.2
Fixed nil value error.

Version 2.4.1
Updated for WotLK beta 9061.
Now disables and replaces Blizzard's FocusFrame.

Version 2.4.0
Updated for WotLK beta.

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 (<- Skipped 2.2.0 to avoid confusion)
Updated for WoW client version 2.3 .

Version 2.2.1 (<- oops, this is typo. This version is actuallly 2.1.1)
Fixed a potential nil error.

Version 2.1.0
Updated for WoW client version 2.2.0 .
Added slash commands /focusframe lock and /focusframe unlock.

Version 2.0.2
Fixed a bug; tooltip of buff/debuff icons were not correctly updated. (Thanks to Alestane)

Version 2.0.1
Fixed a nil concatenate error at line 852. (Thanks to JMHammer)

Version 2.0
Mimics new Target frame of WoW client 2.1 ;
Displays maximum 32 buff icons.
Displays buff/debuff timer.
Mobhealth support added.

Version 1.3
Added slash command /focusframe reset -- which reset window position to center of screen.
Supported silver dragon decoration for rare-elite mobs.

Version 1.2
Added slash command /focusframe scale <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.
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
2.5.2
13kB
Tageshi
08-04-09 09:15 AM
2.5.1
13kB
Tageshi
04-25-09 10:41 AM
2.5.0
13kB
Tageshi
04-14-09 06:29 AM
2.4.4
12kB
Tageshi
10-17-08 03:37 AM


Post A Reply Comment Options
Old 11-25-07, 01:17 AM  
arainwen
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
Re: Re: Re: Problem with changing size

Originally posted by erica647
Hi and thanks for the fast response! To reproduce this, just try to resize the frame and see if it works for you since it doesn't work for me. What I see is I enter the command to resize and the frame disappears. I try to reset it but I can't get it back on my screen. The only way I can get the frame back on my screen is to delete the lua file to reset it. I hope this helps and would appreciate it if you can let me know if it's just me or if something's actually wrong. Oh and if it matters, I'm running 1600x1200 resolution and 85Hz refresh rate.
I was having the same problem, I set the scale for 50 thinking that would be 50%. I tried to get it back, then I noticed I was targering myself when I clicked on some places on the screen so I tried a scale of 1 and it was back at normal size. I then set the scale to .7 and moved it into the position I wanted. The only problem I am having now is my target of target is not displaying. I hope that heps and if anyone has any idea about the target of target not showing I would love to be able to get that to show.
arainwen is offline Report comment to moderator  
Reply With Quote
Old 11-25-07, 08:59 AM  
erica647
A Cobalt Mageweaver
 
erica647's Avatar
AddOn Author - Click to view AddOns

Forum posts: 209
File comments: 213
Uploads: 4
Re: Re: Re: Re: Problem with changing size

Originally posted by arainwen
I was having the same problem, I set the scale for 50 thinking that would be 50%. I tried to get it back, then I noticed I was targering myself when I clicked on some places on the screen so I tried a scale of 1 and it was back at normal size. I then set the scale to .7 and moved it into the position I wanted. The only problem I am having now is my target of target is not displaying. I hope that heps and if anyone has any idea about the target of target not showing I would love to be able to get that to show.
I had the problem with target of target not showing because of taint issues from other mods that blocked it. It was weird because the taint only seemed to happen with the default ui.
__________________
Karadra
Level 80 Human Deathknight
Silvermoon/Nerfed Guild
erica647 is offline Report comment to moderator  
Reply With Quote
Old 11-26-07, 10:00 AM  
Tageshi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 249
Uploads: 16
about taint

Originally posted by erica647
I had the problem with target of target not showing because of taint issues from other mods that blocked it. It was weird because the taint only seemed to happen with the default ui.
Any addons have taint from the begining, and they already have work around for taint.
But default UI depends on purity, and any tiny taint can destroy defautl UI.

FocusFrame was once a source of taint on default UI. I believe it's no longer the case.
(I do have problem, though, from some addons include Damagemater and HealBot.)
Tageshi is offline Report comment to moderator  
Reply With Quote
Old 12-16-07, 05:28 PM  
Tageshi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 249
Uploads: 16
BindPad

Everyone who loves FocusFrame,
Please check my other addon: BindPad too.
http://wow.curse.com/downloads/details/5002/
http://www.wowinterface.com/download...itemmacro.html

BindPad will allow you to set keybindings for spell/item/macro very easy way,
and allow you to clean up ActionBar slots.
Many peaple just don't know about BindPad and surprised when they first download it.
Tageshi is offline Report comment to moderator  
Reply With Quote
Old 01-12-08, 09:06 AM  
Kouri
A Kobold Labourer
 
Kouri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 121
Uploads: 4
Re: BindPad

Hi, first I'd just like to say great mod, thanks for all your hard work. One suggestion I have is to give an option to disable the cooldown display on buffs and debuffs, that way it won't interfere with mods such as CooldownCount which hook into the CooldownFrame_SetTimer function. Other than that, it's perfect, nice job!
Kouri is offline Report comment to moderator  
Reply With Quote
Old 01-13-08, 11:35 PM  
Tageshi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 249
Uploads: 16
Kouri
If you are using hshh's CooldownCount of WoWAce, it is CooldownCount's bug.
You can fix CooldownCount by doing this:

1. Open CooldownCount.lua using any text editor.

2. Change line 4 like below:
Before change : local blacklist = { "TargetFrame", "PetAction" }
After change : local blacklist = { "TargetFrame", "PetAction", "FocusFrame" }

3. Save changes. Then done.
Tageshi is offline Report comment to moderator  
Reply With Quote
Old 01-14-08, 02:37 AM  
Kouri
A Kobold Labourer
 
Kouri's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 121
Uploads: 4
Thanks Tageshi, that worked great.
Kouri is offline Report comment to moderator  
Reply With Quote
Old 01-15-08, 02:18 PM  
Nakawe
A Kobold Labourer

Forum posts: 0
File comments: 67
Uploads: 0
Any way to get rid of tot off focus frame. I use adapt and the picture blanks out. I dont use tot frame anyway....
Nakawe is offline Report comment to moderator  
Reply With Quote
Old 01-18-08, 07:48 AM  
Tageshi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 249
Uploads: 16
Originally posted by Nakawe
Any way to get rid of tot off focus frame. I use adapt and the picture blanks out. I dont use tot frame anyway....
I won't make target of focus optional.

But your problem will be solved with this command;
Code:
/adapt unanimate TargetofFocusPortrait
Then the picture will be fixed.
Tageshi is offline Report comment to moderator  
Reply With Quote
Old 01-18-08, 11:36 AM  
Nakawe
A Kobold Labourer

Forum posts: 0
File comments: 67
Uploads: 0
Originally posted by Tageshi
I won't make target of focus optional.

But your problem will be solved with this command;
Code:
/adapt unanimate TargetofFocusPortrait
Then the picture will be fixed.
Thank-you very much, this did the trick!!

Now my frames combined with your addon look sweet.
Nakawe is offline Report comment to moderator  
Reply With Quote
Old 01-23-08, 12:38 PM  
zanoc
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
Is there any way to automatically clear focus when focus target dies?
zanoc is offline Report comment to moderator  
Reply With Quote
Old 01-24-08, 09:57 AM  
Tageshi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 249
Uploads: 16
FocusFrame 2.3.2 released

Originally posted by zanoc
Is there any way to automatically clear focus when focus target dies?
Your comment was just in time.
FocusFrame 2.3.2 released now.

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.
Tageshi is offline Report comment to moderator  
Reply With Quote
Old 02-15-08, 11:08 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1190
File comments: 783
Uploads: 82
Two minor edits to my favorite addon for 2.4 compatibility

FocusFrame.lua: 757
Code:
if ( GetCVar( UIOptionsFrameCheckButtons["SHOW_TARGET_CASTBAR"].cvar ) == "0") then
must be changed to
Code:
if ( GetCVar("ShowTargetCastbar") == "0") then
Similarly
FocusFrame.lua: 767
Code:
if ( GetCVar( UIOptionsFrameCheckButtons[arg1].cvar ) == "0") then
to
Code:
if ( GetCVar("ShowTargetCastbar") == "0") then
Edit The above was referring to the 2.3.2 codebase,
It looks like 2.3.4 got rid of the CVars.. so these are irrelevant now.
Last edited by Dridzt : 02-18-08 at 12:28 PM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 02-20-08, 08:01 AM  
STFX
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 47
Uploads: 3
hi, love this addon
only one request: could you hide "Focus" label (above the health bar) when locking FocusFrame?
STFX is offline Report comment to moderator  
Reply With Quote
Old 03-22-08, 02:05 AM  
Tageshi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 249
Uploads: 16
Originally posted by STFX
hi, love this addon
only one request: could you hide "Focus" label (above the health bar) when locking FocusFrame?
Pondering about this possibility, nothing decided.
Nothing changed until more good reason to change come out.
Tageshi is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: