View Single Post
11-17-11, 02:41 PM   #1
Miiru
A Flamescale Wyrmkin
 
Miiru's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 138
Re-coloring Textures

Hey there.

I'm trying to make my Texture pack Patch 4.3 ready, but i'm struggeling with the purple tinting they implemented to the Reforging, transmogrify and Void Storage Frames.

I tried to recolor them using SetVertexColor, but it doesnt seem to work.

Code:
<Frame name="TransmogrifyFrame" toplevel="true" parent="UIParent" hidden="true" enableMouse="true">
<Size x="338" y="424"/>
<Frames>
<DressUpModel name="TransmogrifyModelFrame" inherits="ModelWithControlsTemplate">
<Layers>
<Layer level="BACKGROUND" textureSubLevel="1">
<Texture name="$parentMarbleBg" file="Interface\FrameGeneral\UI-Background-Marble" horizTile="true" vertTile="true" setAllPoints="true"/>
</Layer>
<Layer level="BACKGROUND" textureSubLevel="2">
<Texture setAllPoints="true">
<Color r="0.302" g="0.102" b="0.204" a="0.5"/>
</Texture>
</Layer>
(whole xml: click)

I read a bit about $parent and so i concluded the tetures name should be "TransmogrifyFrameMarbleBg". Tried to change the color with setverteycolor, but it didnt change anything. I also tried to copy the whole xml file and then change the color code, which did not work either. I guess i'm doing it totally wrong? :X
  Reply With Quote