Download
(159Kb)
Download
Updated: 05-06-10 12:31 PM
Pictures
File Info
Updated:05-06-10 12:31 PM
Created:04-09-10 09:20 PM
Downloads:3,692
Favorites:9
MD5:

Mok Frames

Version: 2.2c
by: Mokane [More]

==DELETE ANY OLD oUF_Mok FILES YOU HAVE==

Newly rewritten. Layout is now proof of concept for an in-game layout designer for those that want to harness the power of oUF but don't have the coding skills to make their own. I will add features if requested.
Author Portal now enabled. Please leave any feature requests or bug reports there. General questions will get answered in comments section.

After making any changes type /rl to enable the changes.
== Now you can move the frames and set heights and widths without needing to reloadui. Other settings like showing/hiding frames still needs a reloadui done.==


-- Frames Supported --
Player
Target
ToT
Party
Raid
Player Pet
Focus

-- Optional Plugins--
Smooth Update
Experience
Reputation
Aura Watch
Raid Debuffs
HealComm4
TotemBar
Swing
PowerSpark

-- To Do--

Clean up code
Add SharedMedia Support
Add ButtonFacade Support

--Notes--
Raid and party style work like grid. I realized as a healer that all I used was that but didn't want the extra features so I built something similar out of oUF.

I'm open to any all suggestions and would love to hear feedback.

--Configuration Options--
All configurable settings can be found in-game now. Simply type /mokconfig to access in game settings.

--Thanks to--
Zork -- for his work on oUF_D3Orbs, gave me a great grasp on how oUF worked and how to build a layout.
P3lim -- Your work made it very easy to understand what each function did and how to work within the framework
Haste -- oUF, great framework and very lightweight, who could ask for more?

v2.2c
Fix for target and tot positions not setting correctly

v2.2b
Removed a lot of extra wording in config section.
Fixed bug where target castbar was not hiding itself when you changed targets
Fixed bugs with frames not having the right defualt sizes and not moving the way they should be headed.
Removed excess "About" page in config that was not nested in my addon.
Added 2 new tags: Mokperhp and Mokperpp, these are percentages and will show nothing at 100% of either.
Removed archived versions prior to 2.0 as they are no longer useful to anyone.
v2.2a
Fixed issues with frame heights and widths not working properly.

v2.2
Frames can be moved and resized on screen without reloading the UI. -- The show/hide settings still require a reload of the UI.

v.2.10
Configuration menus have been redone. They are grouped by unit now with a page for module controls.
Code cleanup.
Added ability to change the height and width of the castbars
Added ability to configure size of castbar icons.
Castbar icons shown/hidden on a per frame basis.

v2.01
Added toggles to use party and raid frames
Added toggle to show/hide party frame while in raid group.

v2.0
Changed name to reflect layout is now more of a conceptual framework for you to configure to your liking
Added in-game config use /mokconfig to access
All previously configurable options now in-game
Major rewrite of code
Added oUF_Swing and oUF_PowerSpark support

v1.30
Added support for Castbar Icons with configurable sizes.
Added full support for oUF_Totembar
Change line 32 in config.lua from usetotembar = 0, to usetotembar = 1,
Small tweaks to default frame locations(shouldn't be hidden by default blizzard bars for those that use it)

v1.20

Added options to change experience and reputation bar width/height
All configurable options have been moved to config.lua file.
Various cleaning of code
Totembar support added but not tested yet.
NOTE: Code has been commented out. If you wish to test this part of the layout you can edit out the comments.

v1.11

Added options to change height,width,hpheight, and scale to all avaiable units
Added option to show party and player buffs and debuffs
Each unit now has it's own oUF sytle, this allows for much more customization from user

v1.1

Party and raid frames work similar and look similar to Grid
HealComm4 and AuraWatch support added
Custom tags made for HealComm and raid/party health/name
Various code tweaks/removal of junk code that was not needed

v1.0

Leader, LFD Roles, and Raid Icons have appeared on the scene.
Added classification texts to UF's elite = "+" etc
Small other tweaks to default positions and gave focus frame a default position
Optional Files (0)


Post A Reply Comment Options
Unread 05-05-10, 01:45 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Addon is well on its way!

- The "about" page still isn't properly nested with the rest of the addon's cascading menus. "About" still appears at the very top of my in-game addons menu.

- For player and target cast bar locations, could you please consider changing the first X and Y to state to read "width" and "height" or something similar?

- Also, since you have headings such as "Player Castbar Frame Settings", would you consider removing instances of "Player Castbar" (for example)? This way, you could avoid the repetition and save space.

- Also, for the cast bar itself, the black background does not seem to stretch when the width of the cast bar is increased passed a certain point.

- If I target myself, use my hearthstone, and then untarget myself, the cast bar will still display while the target frame goes away. If I target myself, use my hearthstone, untarget myself and move (to break the cast), the cast bar actually continues ticking down. If I retarget myself while the ticking down happens, it will see I am no longer casting and the cast bar goes away. Just a strange little bug.

Will post more as I come across things.
Report comment to moderator  
Reply With Quote
Unread 05-04-10, 10:01 PM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Changes 5/4

2.2a Bugfix for 2.2, fixed frame default heights and some naming issues

2.2
Almost all frames can have height and width set by the slider without reloaduing UI. Exceptions are currently Party and Raid Frames.
All frames can have X and Y locations moved without reload of UI.
All toggles and checkboxes do require a reload of the UI though.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 11:17 PM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Changes 5/1/10.

v.2.10
Configuration menus have been redone. They are grouped by unit now with a page for module controls.
Code cleanup.
Added ability to change the height and width of the castbars
Added ability to configure size of castbar icons.
Castbar icons shown/hidden on a per frame basis.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 10:00 PM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Re: Hitpoint display

Originally posted by loctrinh01
This is my current setting in config.lua:

-- Health
hpval = "[Mokabshp][Mokmaxhp] | [perhp]%", -- 26k/26k | 100%
--hpval = "[Mokmissinghp][Mokperhp]", -- -1k | 90%
--hpval = "[perhp]%", -- 100%

In-game, the target Health bar still show the original display: "-1k | 90%"
It's a bug in the code, update that I'll be putting up tonight or tomorrow morning will address this.
Last edited by Mokane : 04-30-10 at 10:01 PM.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 09:46 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
Hitpoint display

This is my current setting in config.lua:

-- Health
hpval = "[Mokabshp][Mokmaxhp] | [perhp]%", -- 26k/26k | 100%
--hpval = "[Mokmissinghp][Mokperhp]", -- -1k | 90%
--hpval = "[perhp]%", -- 100%

In-game, the target Health bar still show the original display: "-1k | 90%"
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 07:34 PM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Re: /mokconfig

Originally posted by loctrinh01
Typed in /mokconfig but no menu showed up. The same happens for version 2.0 last night, but after a while I typed /mokconfig and it popped up the menu.
It has been working for me, If you have commented out the end of the frames to remove the party/raid frames prior to v2.0 you will lose the slash command usability. I will be moving this function to a better location to prevent this from happening.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 04:18 PM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
/mokconfig

Typed in /mokconfig but no menu showed up. The same happens for version 2.0 last night, but after a while I typed /mokconfig and it popped up the menu.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 11:24 AM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Originally posted by Mokane
Thanks for the feedback!

My upload always includes the oUF folder and all plugins that I support currently.

I'm looking very intently on ways to make the config screen easier to navigate and read. I was thinking of putting each frame on it's own page and then putting each setting there. IE: height/width/scale/show buffs/debuffs/ and any other requested options.

How'd you know I was working on custom code values too? It's in progress right now with a few options for hpval and ppval include in the top of the config.lua file.

The "hot" updates or updating without reloading the UI is another feature that's in beta and not ready for the spotlight.
1) First version of MokFrames I had (the 2.0) did not have oUF for whatever reason, but did have all supported plugins. 2.01 does have oUF though - so no troubles there!

2) I do think that you've got a good idea with having each frame on its own page. My UF addon of choice (Stuf on WoWInterface) also handles frame modification as such and I must state it is a very straight-forward method of organization. It saves a lot of headaches!

3) Custom code values - haha, nifty to hear. Any integration is better than none, for sure! While GUI would be fantastic, at the top of the config.lua works too so long as fields are clearly defined. I greatly appreciate the oUF framework but as I am not familiar with how it works, and hand-holding or clearly defined fields are greatly appreciated.

3a) I stumbled around online and found that "[solid_if_mp99ercmp]" makes the mana percentage only shown if it is 99% or less (rough expanation). However, this "[solid_if_mp99ercmp]" example was provided for Stuf, which has a field for Custom Lua. For custom code values - is that Custom Lua, like the example I provided? If it is... Would you happen to know of a website/thread/something that has a list (complete or partial) of what is allowed? It would be handy to have, but I've yet to find anything aside from people asking "how do I do this?"

4) Looking forward to "hot" updates.

Will download this update and continue tinkering. I think there was an addon once before that was similar in purpose to Mok Frames, but I think it has been left untouched and now is buggy. I do appreciate what you are providing with Mok Frames because I like oUF and would love to replicate my current UF layout using it.
Last edited by Sec : 04-30-10 at 08:59 PM.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 10:57 AM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Originally posted by Sec
I humbly ask that you either include oUF itself, or make notice on your description page that the user will need to download their own copy of oUF.

Other suggestions/bugs (from brief usage of Mok Frames).

- Please consider shortening long phrases (such as "Target of Target") to make things easier to read.

- Would it be possible for changes to be made on the fly, without having to reload the UI?

- For whatever the reason, your "about" frame in the default AddOns in-game menu is disjointed from MokFrames - it appears at the very top, rather than being a sub-category of MokFrames.

SharedMedia/MyMedia and ButtonFacade support will be certainly nice to have, when you are able to integrate.

- Custom code values - will MokFrames be able to handle this somehow? For example, for the Player HP value to be hidden if at 100%, then shown if HP goes lower than 100%? Example provided differing from how Player HP is handled by default.

Will keep testing.
Thanks for the feedback!

My upload always includes the oUF folder and all plugins that I support currently.

I'm looking very intently on ways to make the config screen easier to navigate and read. I was thinking of putting each frame on it's own page and then putting each setting there. IE: height/width/scale/show buffs/debuffs/ and any other requested options.

How'd you know I was working on custom code values too? It's in progress right now with a few options for hpval and ppval include in the top of the config.lua file.

The "hot" updates or updating without reloading the UI is another feature that's in beta and not ready for the spotlight.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 10:48 AM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
I humbly ask that you either include oUF itself, or make notice on your description page that the user will need to download their own copy of oUF.

Other suggestions/bugs (from brief usage of Mok Frames).

- Please consider shortening long phrases (such as "Target of Target") to make things easier to read.

- Would it be possible for changes to be made on the fly, without having to reload the UI?

- For whatever the reason, your "about" frame in the default AddOns in-game menu is disjointed from MokFrames - it appears at the very top, rather than being a sub-category of MokFrames.

SharedMedia/MyMedia and ButtonFacade support will be certainly nice to have, when you are able to integrate.

- Custom code values - will MokFrames be able to handle this somehow? For example, for the Player HP value to be hidden if at 100%, then shown if HP goes lower than 100%? Example provided differing from how Player HP is handled by default.

Will keep testing.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 10:04 AM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Re: Disable party/raid frame

Originally posted by loctrinh01
Currently running vuhdo raid frame, how to disable the raid/party frame? Will it be added to the in-game configuration?
I'm actually going to add another toggle switch in to enable/disable both of these in the next update.

--UPDATE--

v2.01
Added toggles to use party and raid frames
Added toggle to show/hide party frame while in raid group.

-Pending approval on upload right now.
Last edited by Mokane : 04-30-10 at 10:35 AM.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 09:10 AM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 177
Uploads: 0
Re: Disable party/raid frame

Originally posted by loctrinh01
Currently running vuhdo raid frame, how to disable the raid/party frame? Will it be added to the in-game configuration?
Originally posted by Mokane
You can actually just comment out all of line 814 to the end of the file. It will disable my party and raid frames and re-enable the blizzard ones. Freebgrid will take over from there.
Hope this helps.
Report comment to moderator  
Reply With Quote
Unread 04-30-10, 04:04 AM  
loctrinh01
A Kobold Labourer

Forum posts: 0
File comments: 39
Uploads: 0
Disable party/raid frame

Currently running vuhdo raid frame, how to disable the raid/party frame? Will it be added to the in-game configuration?
Report comment to moderator  
Reply With Quote
Unread 04-24-10, 10:24 PM  
Mokane
A Deviate Faerie Dragon
 
Mokane's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 21
Uploads: 1
Update 4/25

v1.30
Added support for Castbar Icons with configurable sizes.
Added full support for oUF_Totembar
Change line 32 in config.lua from usetotembar = 0, to usetotembar = 1,
Small tweaks to default frame locations(shouldn't be hidden by default blizzard bars for those that use it)
Report comment to moderator  
Reply With Quote
Unread 04-21-10, 08:57 AM  
Msunderstood
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Originally posted by Mokane
Update 4/18

v1.11
Added options to change height,width,hpheight, and scale to all avaiable units
Added option to show party and player buffs and debuffs
Each unit now has it's own oUF sytle, this allows for much more customization from user
k, commented out party and raid, perfect now, thanks
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: