PDA

View Full Version : Problems with custom layouts



Dragonwing
09-04-2006, 02:03 AM
When trying all those custom layouts posted all over this forum, I encountered a handful of problems which I suspect to be rather general ones. Since I am hopelessly inept at coding I hope for your help to help myself. Any pointers are welcome ;)

Here is what I see:

The colors of the health/mana bars sometimes remain standard (i.e. those awfull light green blue shades that don't contrast too well) instead of being changed to the advertised ones in the screenshots. I encounter this with an uncomfortably high number of layouts. Are the bar colors handled in a different file than the layout.lua? If yes, which one, and where? Are they superseded by some different settings?

EDIT: Forget about that, have found the solution. Looks like I have to play around with the colors myself for the layouts that don't supply the nurfed_units.lua... oh well...

A similar problem sometimes occurs with the backdrop, although with less layouts. Instead of being fully transparent (invisible) there's a grey semitransparent box. I've also seen this same grey shade instead of some dark almost non transparent backdrop. Like the bar colors, this completely ruins a layout :(

Much less frequently I encounter missing PvP icons or health percentage display, although they are shown on the screenshots.

I never see others mention those things on the forums, so I reasoned I'm missing something here. All I see is "Great work!" or "Looking good", but when I try them out it's completely different. Now I'd like to know what it is, and would really appreciate any pointers on how to fix this.

Miaxi
09-05-2006, 01:22 AM
Most layouts recycle color schemes, so if you see blue colors, look in Tknp's Paradigm download for the right Nurfed_Units.lua. ^^

You can make backgrounds transparent by changing this line:
bgFile = "Interface\\Tooltips\\UI-Tooltip-Background",
to
bgFile = "",
or you can set the alpha for all backdrops to 0 but that's more work if you just want to completly remove the backdrop.

In other words the frames use the tooltip background, which is semi-transparent by itself.

Missing PvP icons and % displays sound like the author just didn't finish the layout in that regard. Check the layout.lua, they might just be hiding behind something and only need to be repositioned.

Dragonwing
09-05-2006, 06:30 AM
Thanks a lot for the pointers, I'll try playing around a bit. I just wish I hadn't slept through my software development courses ;)

a67rhf7823jn8747==