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,282
Favorites:209
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
Unread 04-15-08, 01:31 PM  
Ajuga
A Kobold Labourer

Forum posts: 1
File comments: 27
Uploads: 0
I think we're misunderstanding each other. Here's my first post:

Originally posted by Ajuga
I like FocusFrame because it feels like something that should've been in the default UI - not only because it uses the default Blizzard layout, but also because it's necessary for many classes. Enough with the praising - I hereby present you with an addon idea that should've been in the default UI; Party Cast Bars! Also Party Targets could be a hit (I'm thinking similar style as Player vs. Target, just smaller of course).

After 2 hours of fiddling with the focusspellbar part of FocusFrame I had to admit that my lua knowledge was far from sufficient. So I hope you'll give my suggestions a shot
I was first suggesting that you could work on some "Party Cast Bars" if you wanted to. After no replies from you I assumed that you weren't interested. Today I received a pm asking me where to get "Party Cast Bars". So I thought it might get you interested in the project if you knew that others were interested.

About X-Perl: I think it would be unwise to install a full scale UF addon with the sole purpose of showing 4 cast bars. Also - eventhough I haven't tried - I don't think I'd be satisfied with the result.
Ajuga is offline Report comment to moderator  
Reply With Quote
Unread 04-15-08, 11:45 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 260
Uploads: 16
Originally posted by Ajuga
Can you make cast bars that only shows when party# is casting (with XPerl)? And with a style similar to the target cast bar?
Yes. But I won't do without reasonable needs.
Tageshi is offline Report comment to moderator  
Reply With Quote
Unread 04-15-08, 06:34 AM  
Ajuga
A Kobold Labourer

Forum posts: 1
File comments: 27
Uploads: 0
Originally posted by Tageshi
Did you try X-Perl?
http://www.wowinterface.com/download...nitFrames.html
Can you make cast bars that only shows when party# is casting (with XPerl)? And with a style similar to the target cast bar?
Ajuga is offline Report comment to moderator  
Reply With Quote
Unread 04-15-08, 06:21 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 260
Uploads: 16
Originally posted by Ajuga
I just got a pm asking where to get "PartyCastBars"

Please make it!
Did you try X-Perl?
http://www.wowinterface.com/download...nitFrames.html
Tageshi is offline Report comment to moderator  
Reply With Quote
Unread 04-15-08, 05:53 AM  
Ajuga
A Kobold Labourer

Forum posts: 1
File comments: 27
Uploads: 0
I just got a pm asking where to get "PartyCastBars"

Please make it!
Ajuga is offline Report comment to moderator  
Reply With Quote
Unread 03-30-08, 02:12 PM  
Ajuga
A Kobold Labourer

Forum posts: 1
File comments: 27
Uploads: 0
I like FocusFrame because it feels like something that should've been in the default UI - not only because it uses the default Blizzard layout, but also because it's necessary for many classes. Enough with the praising - I hereby present you with an addon idea that should've been in the default UI; Party Cast Bars! Also Party Targets could be a hit (I'm thinking similar style as Player vs. Target, just smaller of course).

After 2 hours of fiddling with the focusspellbar part of FocusFrame I had to admit that my lua knowledge was far from sufficient. So I hope you'll give my suggestions a shot
Last edited by Ajuga : 03-30-08 at 02:13 PM.
Ajuga is offline Report comment to moderator  
Reply With Quote
Unread 03-22-08, 02:06 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 260
Uploads: 16
FocusFrame Version 2.3.5

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 .)
Tageshi is offline Report comment to moderator  
Reply With Quote
Unread 03-22-08, 02:05 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 260
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
Unread 02-20-08, 09: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
Unread 02-16-08, 12:08 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1191
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 01:28 PM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Unread 01-24-08, 10:57 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 260
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
Unread 01-23-08, 01: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
Unread 01-18-08, 12:36 PM  
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
Unread 01-18-08, 08:48 AM  
Tageshi
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 260
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
Unread 01-15-08, 03: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
Post A Reply



Category Jump: