Download
(163 Kb)
Download
Updated: 05-22-13 07:39 PM
Pictures
File Info
Compatibility:
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:05-22-13 07:39 PM
Created:08-07-09 11:52 PM
Downloads:11,682
Favorites:109
MD5:
Categories:Raid Mods, Mage, Healers, Mists of Pandaria Beta
5.3
Aptechka  Popular! (More than 5000 hits)
Version: 2.3.1
by: d87 [More]
Aptechka is a raid frames addon.

Addon is customized with lua config file
You can place your configuration changes into AptechkaUserConfig/userconfig.lua to avoid overwriting them when updating. Reference config - Aptechka/config.lua.
There's still some basic options available ingame from /apt console command. like positioning.

github

Default config file

FAQ:
How can i change manabar width, indicator placement etc etc?
See the custom skin part at the end of this FAQ.

How to switch skins?
change config.skin = "GridSkin" to config.skin = "MechanizeV"

How to make it hidden when i'm not in a group?
config.showSolo = false

What is UserConfig?
It's a separate addon that contains your personal settings.
Values from UserConfig replace default settings. That way you can safely update core module without losing your changes.
Or you can have 2 UserConfig modules.
It is also possible to add new skins as plugins, and switch between them depending on character class.

Lua knowledge is required?
Probably not, copy-pasting and changing values should be enough for most things.
But editor with Lua syntax highlighting will help you (SublimeText, SciTE, Notepad++). If you want to make your own skin you better be familiar with wow widget api.

What is priority?
When two or more actions assigned to the same spot are active, the one with higher priority is displayed.
Weakened soul is a good example. You won't see WS until PWS is still active.

What is "heal trace"?
That's when you want to know who exactly was healed by your Circle of Healing, Chain Heal, etc in the form of blinking indicator.

How to add new zones and spells for debuff loader?
Instances are identified by map id (assuming they have their own map).
To find out current zone map id type: /dump GetCurrentMapAreaID()
Map IDs are tied to instance name and instance name is tied to function that is pushing boss spells into your current spell set. More info inside userconfig file

What's that combat filtering option for?
Disabled until better days.
In 4.2 all autorefreshing spells (SWP-MF, Corruption-Haunt, Lifebloom, Renew-Chakra, etc) stopped generating SPELL_AURA_REFRESH event for combat log. So basically this feature is ruined until Blizzard fix this.
useCombatLogFiltering provides a huge perfomance boost over default behavior, which would be to listen only to UNIT_AURA event.
UNIT_AURA doesn't tell what exactly changed and every time addon had to scan current buffs/debuffs,
In raid combat unit_aura sometimes fired up to 8 times per second for each member with all the stacking trinkets and procs.
useCombatLogFiltering option moves this process mainly to combat log, where we can see what spell was updated.
Only if it's in our spell set it will update buff data for this unit.
The drawback is that it only works in combat log range, but it's big enough, and there's a fallback on throttled unit_aura (every 5s) for out of range units.
On lich king there was an issue, and maybe it's still present, that necrotic plague removal event didn't appear in combat log
and that caused glitches with boss debuff indicator. But that's a rare blizzard side bug.
Dispel idicators still work from unit_aura, so you'll see plague regardless as disease if you can dispel it.


What is Aptechka?
First Aid Kit

How to change skin layout from config?
So to customize frame elements, you'll have to create a custom skin, inherit default skin stuff and then add to/change it. Easy...
Default skin source is in frame.lua file
Code:
config.skin = "GridCustom"
config.useAnchors = "GridSkin" -- use parent skin anchors
config.GridCustom = function(self)
    config.GridSkin(self) -- inheriting
    -- how to create new icon
    local icon2 = config.GridSkin_CreateIcon(self,24,24,0.4,"TOPLEFT",self,"TOPLEFT",0,0)  -- w/h = 24, alpha = 0.4
    self.icon2 = icon2
    
    -- how to move existing indicators
    self.spell2:ClearAllPoints() -- clear previous position
    self.spell2:SetPoint("CENTER",self,"CENTER",0,0) -- set to center
    -- same way to move text
    self.text1:ClearAllPoints()
    self.text1:SetPoint("TOP",self,"TOP",0,-5)
    
    -- how to delete existsing indicators
    self.raidbuff = nil
    
    -- how to create new indicator
    local newind = config.GridSkin_CreateIndicator(self,6,6,"TOPLEFT",self,"TOPLEFT",0,0)  -- w/h = 6
    self.spell4 = newind
    -- change healthbar texture
    self.health.bg:SetTexture([[Interface\AddOns\Aptechka\white]])
    self.health:SetStatusBarTexture[[Interface\AddOns\Aptechka\white]]

    --how to change mana bar width
    self.power:SetWidth(2)

    --how to change indicator size
    self.spell2:SetWidth(3);    self.spell2:SetHeight(3);
end
2.3.1:
- Small bugfixes

2.3.0:
- Absorb bar
- Corner type indicator
- LibCombatLogHealth

2.2.3:
- new resizing system. you now can resize and switch anchors based on spec/role and raid members count.
By default frames are scaled down for healers after 27 members, and for non healers after 11 members.

2.2.2:
- fixed debuff loader map ids (still no debuffs for mop raids tho)

2.2.1:
- bugfixes and config tweaks since mop release

2.2.0:
- Small fixes
- LibCLHealth, but it's disabled by default

2.1.10:
- GetNumRaidMembers => GetNumGroupMembers

2.1.9:
- temporary fix for UnitInRange function.
- ROSTER_UPDATE bugfix
- Paladin and Shaman config seem to be fine
2.1.8:
- TOC updated to 50000
- UnitInRange function seems to be broken, enabled IsSpellInRange check for healing classes.
- Monk config
2.1.7:
- Bugfixes
2.1.6:
- Dragon Soul raid debuffs, TOC Update
2.1.5:
- Manabar frame changes. Now using texture drawing layers
- Crappy LoS status, it can flash only once every 10 or so seconds, because of spam protection on "Out of sight" error messages, config.LOSStatus = nil to disable
- New indicator type for default skin: bar1, by default renew and rejuv assigned to it.
2.1.2:
- ZA,ZG,Firelands boss spells, Grim Batol vehicles are maybe fixed, spellsets autoloading (by default tank cooldowns and common healing reduction spells)
2.1.1a:
- config.useCombatLogFiltering turned off because of combat log bug
2.1.1:
- Update for WoW 4.2 combat log changes
2.1.0:
- Update for WoW 4.1 combat log changes
2.0.10:
- Removed LibQuickHealth, it wasn't updated since Burning Crusade.
- Replaced it with similar native feature ( config.useCombatLogHealthUpdates )
- Autoscale for pets, tho they're still on separate anchor so it won't be pretty
- Death status update when leaving vehicle

2.0.9:
- Changed clique integration to group headers variant.
- Custom bindings bugfix

2.0.8:
- Secure scaling and config.scale var
- Mouse bindings for frames moved to initial config func

2.0.7:
- Pet group. ( /apt createpets command and config.petgroup option )
- Another vehicle bug.

2.0.6:
- Another vehicle bug.

2.0.5:
- Bastion of Twilight spells added
- changes to fix taint, width and height for skin now should be preloaded via <SkinName>Settings function. (See upgrading instructions on description tab)
- bugfix for vehicles, probably not the last one

2.0.3:
- various small fixes

2.0.2:
- I forgot git rep inside prev version archive
- InVehicleStatus
- icon now stands above health text
- anchors fixed

2.0.1:
- Shaman's earth shield and trace heals fixed, added Light of dawn traceheal

2.0:
- boss debuffs for TotFW, Blackwing Descent
- lockedOnStartup restored and renamed to "unlocked"
- vehicle health/power updates restored

2.0 RC6:
- useGroupAnchors option. resize will not work with group anchors enabled
- groupGrowth restored
- text3 is font string object now, like text1 and text2.

2.0 RC5:
- New group anchors, unique for every skin. group growth options removed. /inj unlockall command, config.useAnchors options to use anchors from another skin
- Stupid getfrom field was removed, and replaced with almost just as stupid alternatives. But anyway, previous version was horrible. = Now you can customize health format
- disableManaBar option restored
- GridSkin_CreateTextTimer function
- Horizontal child skin.

2.0 RC4: CreateIndicator and CreateIcon functions now accessible from config.
Info about custom skins and loadable debuffs added to user config comments

2.0 RC3: "raidX in not in your party" spam fixed. GetPartyAssignment function was causing it... and so, now that it's removed MainTankStatus only works for LFD tanks

2.0 RC2: removed long raid buffs, and power type changing functions restored

2.0: A lot

0.9.7: Moved to animation groups, UserConfig addon, skin settings moved to frame.lua, renamed to Aptechka

0.8.2: Click-Casting macro support, Ruby Sanctum spells.

0.8.1.7: MT indicator for lfg tanks, target indicator(disabled by default), foreigncolor option.

0.8.1.6: pulse option for spells, simple animation for activating indicator.

0.8.1.5: incoming heals text bug fixed, libhealcomm updated to 1.6.3, nothing new

0.8.1.4: Lich King spells added
Readycheck fixed, paste updated readycheck indicator into your config from default one.
type parameter on trace now actually means something. and for example "HEAL" means that when SPELL_HEAL is fired for given (yours) spell name it's trigger indicator. PERIODIC_HEAL for ticks, AURA_APPLIED for initial application. More: http://www.wowwiki.com/API_COMBAT_LOG_EVENT_UNFILTERED

0.8.1.3: nothing new, small bugfixes

0.8.1.2: offline status, loadables.lua improved, /inj load, Essence of the Blood Queen added, petanchor bug

0.8.1.0: clumsy loadbalancer removed, mixed combatlog/unit_aura checks added instead, InjectorConfig.useCombatLogFiltering option. disabled buggy healbar updates for vehicles

0.8.0: ... a lot, check comments

0.7.1.7: bug with stacks and dispell auras fixed, trace function now works with periodic heals

0.7.1.6: omnicc and stacktext options added to icon setup

0.7.1.5: few typos fixed (position & scale settings will be reset because of that), healcomm updated to 1.5.5, more icc_ipwnyanow debuffs (until lich king)

0.7.1.4: first iCC wing debuffs added (mark of the fallen champion, boiled blood, bonestorm dot)
debuff from marrowgar spike missing. Naxx and Ulduar debuffs are disabled by default now

0.7.1.3: IncomingHeals bugfix

0.7.1.2: LibHealComm-4 updated to 1.5.4, TOC updated, added InjectorConfig.disableBlizzardParty option, you may assign debuff types to icons now

0.7.1: Should be stable... fixed crucial bug with missing debuff type indicators, added healtrace for glyph of HL, chain heal, coh & pom.

0.7.03: "routine for disabling unused indicators kills the border" fixed

0.7.02: bug with disabled raidicons, toggle/show/hide commands, anchor strata increased, not creating indicators without any spells assigned to them

0.7: raid icons, MT indicators, optional UnitInRange function overrides for healers, options to disable quickhealth & healcomm, lockedOnStartUp option

0.6.5: some requested stuff, bugs. kinda stable version (i hope...)

0.6.2: bug + inverting colors

0.6.1: isMine and isMissing fixed, other litte fixes

0.6: border, ability to assign spells to multiple indicators, and options to grow groups and units in all sides, and scaling down 25+ raids

0.5: Reliable dragging, charspec function.

0.4: Perfomance update, limited functionality pet frames, readycheck indicator.

0.3: second text line and requests from 2 first comments
Archived Files (45)
File Name
Version
Size
Author
Date
2.3.0
163kB
d87
04-07-13 01:00 AM
2.2.3
159kB
d87
11-23-12 09:03 AM
2.2.1
158kB
d87
10-14-12 06:06 AM
2.2.0
158kB
d87
08-28-12 08:09 AM
2.1.10 [50000]
151kB
d87
08-19-12 10:57 AM
2.1.9 [50000]
151kB
d87
07-03-12 05:14 AM
2.1.8 [50000]
151kB
d87
07-01-12 07:23 AM
2.1.7
151kB
d87
12-05-11 11:19 AM
2.1.5
151kB
d87
09-22-11 09:51 AM
2.1.2
150kB
d87
08-16-11 08:38 AM
2.1.1a
149kB
d87
06-28-11 05:46 PM
2.1.1
149kB
d87
06-28-11 06:24 AM
2.1.0
149kB
d87
04-26-11 06:59 AM
2.0.10 _BETA_
149kB
d87
03-23-11 10:59 AM
2.0.9 _BETA_
162kB
d87
03-06-11 06:00 AM
2.0.8 _BETA_
158kB
d87
03-05-11 10:42 PM
2.0.7 _BETA_
158kB
d87
03-05-11 12:20 PM
2.0.6 _BETA_
158kB
d87
02-18-11 11:32 PM
2.0.5a
158kB
d87
02-05-11 04:39 PM
2.0.5
877kB
d87
02-05-11 04:09 PM
2.0.3
162kB
d87
11-12-10 02:25 PM
2.0.2
162kB
d87
11-06-10 07:56 AM
2.0.1
732kB
d87
11-05-10 12:03 PM
2.0
163kB
d87
11-02-10 02:14 PM
2.0 RC6
164kB
d87
10-26-10 03:55 PM
2.0 RC5
163kB
d87
10-26-10 11:45 AM
2.0 RC4
162kB
d87
10-20-10 07:23 AM
2.0 RC3
162kB
d87
10-19-10 01:47 AM
2.0 RC1
162kB
d87
10-16-10 07:14 AM
2.0 RC1
454kB
d87
10-11-10 07:53 PM
0.8.2
194kB
d87
08-01-10 12:34 PM
0.8.1.7
192kB
d87
03-06-10 06:53 AM
0.8.1.6
192kB
d87
02-19-10 10:40 PM
0.8.1.5
191kB
d87
02-08-10 05:07 AM
0.8.1.3
190kB
d87
01-26-10 02:19 AM
0.8.1.2
190kB
d87
01-21-10 11:59 PM
0.8.1.0
189kB
d87
01-14-10 11:01 PM
0.8.0
189kB
d87
01-13-10 07:58 AM
0.7.1.7
187kB
d87
01-04-10 09:25 PM
0.7.1.6
187kB
d87
01-03-10 09:25 PM
0.6.5
190kB
d87
10-18-09 07:44 AM
0.5
163kB
d87
09-23-09 12:41 AM
0.4
163kB
d87
09-10-09 01:01 PM
0.3
160kB
d87
08-08-09 10:16 AM
0.2
160kB
d87
08-07-09 11:52 PM


Post A Reply Comment Options
Old 10-26-10, 12:34 PM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 423
Uploads: 33
uploaded RC5 version and CTRA skin
You mentioned earlier that this option would be reintroduced, but after installing the latest version I'm unable to find that option.
config.disableManaBar now restored

More importantly, with new anchors (/inj unlockall) there's a little thing you better know.
Because anchor positions are tied to skin name, when you create "GridCustom" skin you should add config.useAnchors = "GridSkin"

Also i changed a bit how name and health text works. So if you're using mechanize skin or your own, or if you have custom HealthDificitStatus/UnitNameStatus, update is required.

Now i think this addon is complete. Tho some polishing for skin api is required. You can create nearly anything and 3 existing skins provide enough examples.
d87 is offline Report comment to moderator  
Reply With Quote
Old 10-26-10, 07:20 AM  
Alenari
A Defias Bandit

Forum posts: 2
File comments: 32
Uploads: 0
disable power or mana bar

You mentioned earlier that this option would be reintroduced, but after installing the latest version I'm unable to find that option.

I tried
Code:
config.manabarwidth = 0
config.disableManaBar = true
without success.
Last edited by Alenari : 10-26-10 at 07:49 AM.
Alenari is offline Report comment to moderator  
Reply With Quote
Old 10-24-10, 05:08 AM  
strickland
A Deviate Faerie Dragon

Forum posts: 11
File comments: 143
Uploads: 0
i've used your addon injector long time ago, I used to have the color inverted. is it possible with this new aptechka? I'm looking at the lua and nothing, sorry if this has been asked before but as you know wowinterface search option is meh.


also about loadable specially the pvp ones, I haven't raided yet, but in BGs they aren't working, for example the icon that shows "fear, sap, polymorph" for harmful spells are not work, also the helpful like "sheildwall - stealth - evasion" etc, Are not working, is it only me?
Last edited by strickland : 10-24-10 at 01:07 PM.
strickland is offline Report comment to moderator  
Reply With Quote
Old 10-21-10, 08:01 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 423
Uploads: 33
alright, i'll add that later
d87 is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 04:51 PM  
Amnerys
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Love the customization in the latest build. Bothering you once more though - possible to add functions to create our own corner text indicators like text3 as well? Also, how would I modify the formatting of some of the text? For example, healthdeficit currently just displays 5k. I went into Aptechka.lua to change it to -5k, but would be nice to change it in userconfig.

Thanks for your patience so far.
Amnerys is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 01:25 PM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 423
Uploads: 33
helpers.BindTarget(false)
d87 is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 01:13 PM  
thelurkerbelow
A Murloc Raider

Forum posts: 5
File comments: 56
Uploads: 0
Gah...just one more thing, I swear...

Spell casts bound to left-click using Clique aren't working. I noticed this in the config notes:

Code:
-- Unmodified left click is reserved for targeting by default.
How does one disable this, so left-click spells using Clique work correctly?
thelurkerbelow is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 12:38 PM  
thelurkerbelow
A Murloc Raider

Forum posts: 5
File comments: 56
Uploads: 0
Originally posted by d87
[b]self.raidbuff:SetWidth(3)
self.raidbuff:SetHeight(3)

self.raidbuff is a topleft indicator iirc
Haha...I feel embarassed now. That's super-easy!



Thank you for your help!
thelurkerbelow is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 12:23 PM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 423
Uploads: 33
Let's say I want to simply resize an existing indicator. For example, the top-left indicator is by default a 5x5 square but I want it to be a 3x3 square. Can I do this, or do I have to remove the indicator and make a new one?
self.raidbuff:SetWidth(3)
self.raidbuff:SetHeight(3)

self.raidbuff is a topleft indicator iirc




@lainbh
просто выставляй сам текскоорд после того как создал
self.icon.texture:SetTexCoord(.1, .9, .1, .9)
self.icon2.texture:SetTexCoord(.1, .9, .1, .9)
...
d87 is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 11:42 AM  
thelurkerbelow
A Murloc Raider

Forum posts: 5
File comments: 56
Uploads: 0
Ok...I'm trying my best to get through the new changes, but there's something I'm stuck on.

Let's say I want to simply resize an existing indicator. For example, the top-left indicator is by default a 5x5 square but I want it to be a 3x3 square. Can I do this, or do I have to remove the indicator and make a new one?
thelurkerbelow is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 11:38 AM  
lainbh
A Kobold Labourer

Forum posts: 1
File comments: 24
Uploads: 0
Спасибо. Но вот возникает небольшая проблема с отображением(проблема наверное для меня больше).

Если использовать иконки, то они отображаются с границами, т.е. вокруг иконки не очень привлекательный бордер.

Возможно в функцию создания иконок CreateIcon добавить:

Code:
  icontex:SetTexCoord(.1, .9, .1, .9)
137 строка в frame.lua

Значения можно и другие, мне так больше понравилось.
lainbh is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 07:26 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 423
Uploads: 33
@lainbh, Amnerys
Yes, that's possible. First of all download RC4 version. I made some cosmetic changes to make it really short and easy for Grid skin.

Code:
--~ -- HOW TO CHANGE SKIN LAYOUT FROM USERCONFIG
--~ config.skin = "GridCustom"
--~ config.GridCustom = function(self)
--~     config.GridSkin(self)
--~     -- how to create new icon
--~     local icon2 = config.GridSkin_CreateIcon(self,24,24,0.4,"TOPLEFT",self,"TOPLEFT",0,0)  -- w/h = 24, alpha = 0.4
--~     self.icon2 = icon2
--~     
--~     -- how to move existing indicators
--~     self.spell2:ClearAllPoints() -- clear previous position
--~     self.spell2:SetPoint("CENTER",self,"CENTER",0,0) -- set to center
--~     -- same way to move text
--~     self.text1:ClearAllPoints()
--~     self.text1:SetPoint("TOP",self,"TOP",0,-5)
--~     
--~     -- how to delete existsing indicators
--~     self.raidbuff = nil
--~     
--~     -- how to create new indicator
--~     local newind = config.GridSkin_CreateIndicator(self,6,6,"TOPLEFT",self,"TOPLEFT",0,0)  -- w/h = 6
--~     self.spell4 = newind
--~     -- change healthbar texture
--~     self.health.bg:SetTexture([[Interface\AddOns\Aptechka\white]])
--~     self.health:SetStatusBarTexture[[Interface\AddOns\Aptechka\white]]
--~ end


Also about loadables in userconfig:
Code:
--~ -- HOW TO ADD NEW ZONES AND BOSS SPELLS FOR LOADING
--~ AptechkaDefaultConfig.MapIDs[9001] = "Deathwing Cave"
--~ -- Every zone with a map have it's own area id, you can found out current area id typing /dump GetCurrentMapAreaID()
--~ -- In this case let's assume 9001 is the id of Deathwing Cave dungeon
--~ -- Next we create a function which will add new spells to our current spell set
--~ AptechkaDefaultConfig.LoadableDebuffs["Deathwing Cave"] = function()
--~     A{ id = 999999, prototype = AptechkaUserConfig.BossDebuffPrototype } --BIG-BADA-BOOM
--~     A{ id = 100500, priority = 45, prototype = AptechkaUserConfig.BossDebuffPrototype } --SHADOWFLAME!
--~     A{ id = 666, color = { 0,0,1}, priority = 50, prototype = AptechkaUserConfig.BossDebuffPrototype } --DEATH FURY
--~ end,
--~ --Now when we enter Deathwing Cave, these spells will be loaded.
--~ --Note that by using AptechkaDefaultConfig we're just editing default map id and loadable debuffs tables

--~ --AptechkaUserConfig.BossDebuffPrototype is the default bossdebuff job object template
--~ --prototype field means our new spells will inherit settings from that job object
--~ --You can either change default prototype by:
--~ --AptechkaDefaultConfig.BossDebuffPrototype.assignto = { "icon" }     -- now all boss debuffs will be assigned to center icon
--~ --Or you can create your our prototype in user config
--~ --config.BossDebuffPrototype = { type = "HARMFUL", assignto = { "bossdebuff" }, color = { 1,0,0 }, priority = 40, pulse = true }
--~ --Or you can forget about this prototype crap and use same syntax as for your own spells
d87 is offline Report comment to moderator  
Reply With Quote
Old 10-20-10, 05:47 AM  
lainbh
A Kobold Labourer

Forum posts: 1
File comments: 24
Uploads: 0
&#1057;&#1086;&#1073;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1077; &#1080;&#1085;&#1076;&

Раньше в версии 0.9.6 можно было в конфиг файле создавать свои собственные индикаторы и иконки. Сейчас же они жестко прописаны в файле frame.lua.
Можно ли так же создать в конфиг файле свои иконки или необходимо редактировать фаил frame.lua и при каждом обновлении аддона менять данную часть кода?
lainbh is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 04:21 PM  
Amnerys
A Kobold Labourer

Forum posts: 0
File comments: 17
Uploads: 0
Does config.SetupIcons no longer work with the new versions? I really liked being able to set icon indicators rather than just the default squares. I've tried setting up a custom skin, but I've only been able to modify existing icons (raidicon, icon) and am having trouble creating new icons. Even when I create a custom skin directly in frame.lua rather than in userconfig and copy the code for creating icon (except renaming it icon2), the raid frames won't recognize icon2 - and yes, I've set self.icon2 to icon2 at the end. I don't get any errors, the icon simply doesn't appear.

Thanks for any help you can offer.
Last edited by Amnerys : 10-19-10 at 04:21 PM.
Amnerys is offline Report comment to moderator  
Reply With Quote
Old 10-19-10, 11:55 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 423
Uploads: 33
Yeah, it was dropped. Tho I thought i'd make a few child skins that modify default skin maybe, but then i forgot.
Like this:
(also nice example of how to tweak skin from userconfig)
Code:
config.skin = "GreenTransparent'
config.GreenTransparent = function(self)
    config.GridSkin(self)
    self:SetBackdropColor(0,0,0,0.5)
    self.health.bg:SetTexture(nil)
    self.health:SetStatusBarTexture[[Interface\AddOns\Aptechka\white]]
    self.health:SetStatusBarColor(0,1,0)
    self.health.SetJob = nil
    self.health._SetValue = self.health.SetValue
    self.health.SetValue = function(self,value)
        self:_SetValue(100-value)
    end
end
Last edited by d87 : 10-19-10 at 11:55 AM.
d87 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: