Download
(23Kb)
Download
Updated: 09-02-18 03:40 AM
Addon for:
oUF_Simple.
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:40 AM
Created:10-09-16 02:29 PM
Downloads:6,001
Favorites:9
MD5:

oUF SimpleConfig  Popular! (More than 5000 hits)

Version: 800.20180901
by: zork [More]


Intro

oUF_SimpleConfig contains the configuration settings used for oUF_Simple.

Important! As soon as you adjust the config it becomes your config. Do not override it lightly. You will loose your changes. The one uploaded is my personal setup.
Documentation
oUF_SimpleConfig documentation
Requires
rLib
Git
https://github.com/zorker/rothui/tre...F_SimpleConfig

Optional Files (0)


Post A Reply Comment Options
Unread 10-10-16, 04:00 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
I'm trying to get a documentation of the config done by tonight. Basically oUF_Simple is now a mediator between oUF_SimpleConfig and oUF.

As long as an element is defined in oUF_Simple you can create it for that unit.

You can enable/disable any element by setting the Boolean attribute enabled to true/false.
You can disable a unit spawn. You cannot disable health or absorb on a spawned unit. You can however enable/disable any other element (like power, castbar etc.)

*edit*

Documentation is available here: https://github.com/zorker/rothui/blo...nfig/README.md
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-13-16 at 08:01 AM.
Report comment to moderator  
Reply With Quote
Unread 10-10-16, 10:48 AM  
Mandraxon
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 12
Uploads: 2
Hey Zork. Iv been watching the progress of your UI and OUF stuff for a while.
today i found you are implamenting this feature and i just have to Trye it.

One thing that i feel is a bit Meh is all the files to download all over the place.
Why not make a complete kit and name it Zork_Mod and then people can just grab that and take what they like.

Keep up the damn good work m8

/M
Report comment to moderator  
Reply With Quote
Unread 10-10-16, 03:29 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Not sure why you have not seen it. But I did exactly that.
http://www.wowinterface.com/download...52-ZorkUI.html
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-13-16 at 08:01 AM.
Report comment to moderator  
Reply With Quote
Unread 10-15-16, 11:14 AM  
theruleof4
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
A config file for the focustarget would be really nice.
Last edited by : 10-27-16 at 03:29 PM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 10-17-16, 01:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Focustarget...sure I could add it but why? When do you need it?
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-17-16 at 01:10 AM.
Report comment to moderator  
Reply With Quote
Unread 10-26-16, 03:58 PM  
janangler
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
First of all, thanks for the new unit frames. I like the new "simple" look

In the diablo unit frames there was an option called "desaturateDebuffs" on the target unit frame, Is something like this also available for ouf_Simple?
Report comment to moderator  
Reply With Quote
Unread 10-27-16, 01:28 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
You can do this with the custom filter.
Lua Code:
  1. --custom filter
  2. local function CustomFilter(buttons, unit, button)
  3.   if button.isPlayer then
  4.     button.icon:SetDesaturated(false)
  5.   else
  6.     button.icon:SetDesaturated(true)
  7.   end
  8. end

Example for a custom filter is given for the nameplate unit. You can add the filter to any unit you like.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 10-27-16 at 02:45 AM.
Report comment to moderator  
Reply With Quote
Unread 10-27-16, 04:30 PM  
janangler
A Kobold Labourer

Forum posts: 0
File comments: 33
Uploads: 0
Great, thanks a lot for your help
Report comment to moderator  
Reply With Quote
Unread 11-05-16, 02:58 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi Zork,

It should be possible to setting differents values for differents spec/classes ?

I.e:

If I want to have when the player is in A tank spec (guardian druid, prot war and so on):

Lua Code:
  1. colorTapping = true,
  2.     colorReaction = true,
  3.     colorClass = true,
  4.     colorHealth = false,
  5.     colorThreat = true,
  6.     colorThreatInvers = true,

otherwise:

Lua Code:
  1. colorTapping = true,
  2.     colorReaction = true,
  3.     colorClass = true,
  4.     colorHealth = false,
  5.     colorThreat = false,
  6.     colorThreatInvers = true,

Which is the best way to achieve it (if it is possible
Have I to add a custom filter that set:

Lua Code:
  1. player.colorThreat = false
  2. target.colorThreat = false
  3. nameplate.colorThreat = false


Thanks.

P.s.
The same question I'll post in rFilter forum for it
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-05-16, 04:00 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
The configuration is bound by reference. Changing an attribute on runtime should lead to a change of the color values.

First to change stuff between classes just grab the classname like I do it in rFilter.
https://github.com/zorker/rothui/blo...g/init.lua#L16

Add a classspecific function set that adjusts the default config based on class or name of the player.
Spec is different you need an event handler to do this. You can use the rLib registercallback if you want.

Lua Code:
  1. local function OnSpellsChanged(args,...) --args as table followed by the default event arguments in ...
  2.   if GetSpecialization() == 3 then
  3.     oUF_SimplePlayer.Health.colorThreat = false
  4.   end
  5. end
  6. rLib:RegisterCallback("SPELLS_CHANGED", OnSpellsChanged) --event,function,arg0..n

All this can be done in oUF_SimpleConfig.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-05-16 at 04:31 AM.
Report comment to moderator  
Reply With Quote
Unread 11-06-16, 08:45 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Thanks Zork,

I'll check it ...
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-23-16, 12:27 PM  
onevox
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Hello Zork,

Any sort of error logging included or somewhere i can see why custom tags not working? IE. Unitframes just show blue with "Bugfix" on them.

Thanks!
Report comment to moderator  
Reply With Quote
Unread 11-23-16, 12:42 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Code:
/console scriptErrors 1
/reload
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 07:49 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Got a question on how to add group header titles. They are not supported but can of course added to the raid frame group header once it is created.

Lua Code:
  1. --SetRaidHeaderTitle
  2. local function SetRaidHeaderTitle(i)
  3.   local name = "oUF_SimepleRaidHeader"..i
  4.   local header = _G[name]
  5.   if not header then return end
  6.   if _G[name.."Title"] then return end
  7.   --fontstring
  8.   local fs = header:CreateFontString(name.."Title", "ARTWORK", GameFontNormalSmall)
  9.   local fontFamily, fontSize, fontOutline = fs:GetFont()
  10.   fs:SetFont(fontFamily, fontSize or 14, fontOutline)
  11.   fs:SetJustifyH("CENTER")
  12.   fs:SetPoint("TOP",0,0)
  13.   fs:SetText("Group"..i)
  14. end
  15.  
  16. --event handler
  17. local eventHandler = CreateFrame("Frame")
  18.  
  19. --OnLogin
  20. local function OnLogin()
  21.   for i=1,8 do
  22.     SetRaidHeaderTitle(i)
  23.   end
  24.   eventHandler:UnregisterEvent("PLAYER_LOGIN")
  25.   eventHandler = nil
  26. end
  27.  
  28. --register PLAYER_LOGIN event
  29. eventHandler:SetScript("OnEvent", OnLogin)
  30. eventHandler:RegisterEvent("PLAYER_LOGIN")
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-29-16 at 07:53 AM.
Report comment to moderator  
Reply With Quote
Unread 02-08-17, 12:54 PM  
kazama14
A Kobold Labourer

Forum posts: 0
File comments: 40
Uploads: 0
Hey Zork, I was wondering if there was a way to set a custom power color table in your config? In the past in other oUF frames I've used I've done something like:

local colors = setmetatable({
power = setmetatable({
['MANA'] = {0, 200/255, 1},
['RAGE'] = {255/255, 148/255, 148/255},
['FOCUS'] = {148/255, 255/255, 166/255},
['ENERGY'] = {255/255, 255/255, 150/255},
['RUNIC_POWER'] = {0, 131/255, 170/255},
['AMMOSLOT'] = {0.8, 0.6, 0},
['FUEL'] = {0, 166/255, 118/255},
['POWER_TYPE_STEAM'] = {140/255, 140/255, 140/255},
['POWER_TYPE_PYRITE'] = {140/255, 25/255, 25/255},
}, {__index = oUF.colors.power}),
runes = setmetatable({
[1] = {0.77, 0.12, 0.23},
[2] = {0.3, 0.8, 0.1},
[3] = {0, 0.4, 0.7},
[4] = {180/255, 0, 175/255},
}, {__index = oUF.colors.runes}),
}, {__index = oUF.colors})

but this does seem to work since oUF is custom embedded maybe? Any advice would be appreciated
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: