Jump to content

Xyf

Player
  • Content count

    27
  • Joined

  • Last visited

Everything posted by Xyf

  1. Xyf

    Need Help Changing a Texture

    Can't seem to get the blending as the other one, send me the other addon to see how it is on there. Also the buttons would need some changes, they are square with no transparency. (on black it's ok, but if the background is lighter they look like crap) If it's enough as it is above, the changes: KLHThreatMeter\Code\GUI\KTM_Gui.lua Line 285 KLHThreatMeter\Code\GUI\KTM_OptionsGui.lua Line 434 KLHThreatMeter\Code\GUI\KTM_TitleGui.lua Line 137 replace: gui.title.back:SetGradientAlpha("VERTICAL", col.minR, col.minG, col.minB, col.minA, col.maxR, col.maxG, col.maxB, col.maxA); with: gui.title.back:SetAlpha(0.15); KLHThreatMeter\Code\GUI\KTM_Frame.xml Line 314 replace: <Layer level="BACKGROUND"> <!-- The title bar background --> <Texture name="$parentBackground" > <Anchors> <Anchor point="TOPLEFT"> <Offset x="-1" y="1"/> </Anchor> <Anchor point="BOTTOMRIGHT"> <Offset x="1" y="0"/> </Anchor> </Anchors> <Color r="0.0" g="0.0" b="1.0" a="1.0" /> </Texture> </Layer> with: <Layer level="BACKGROUND"> <!-- The title bar background --> <Texture > <Anchors> <Anchor point="TOPLEFT"> <Offset x="-1" y="1"/> </Anchor> <Anchor point="BOTTOMRIGHT"> <Offset x="1" y="0"/> </Anchor> </Anchors> <Color r="0.0" g="0.0" b="0.0" a="1.0"/> </Texture> <Texture name="$parentBackground" file="Interface\Addons\KLHThreatMeter\Images\BarTexture"> <Anchors> <Anchor point="TOPLEFT"> <Offset x="-1" y="1"/> </Anchor> <Anchor point="BOTTOMRIGHT"> <Offset x="1" y="0"/> </Anchor> </Anchors> </Texture> </Layer> You could tweak the alpha in the lua a bit, maybe you can get it more as the other one, when they are side by side.
  2. Xyf

    Need Help Changing a Texture

    Place BarTexture.tga in KLHThreatMeter\Images\ Modifiy with a text editor KLHThreatMeter\Code\KTM_Frame.xml and KLHThreatMeter\Code\GUI\KTM_Frame.xml lines 213 and 268 (or search for UI-StatusBar ), replace <Texture name="$parentBar" file="Interface\TargetingFrame\UI-StatusBar"> with <Texture name="$parentBar" file="Interface\Addons\KLHThreatMeter\Images\BarTexture">
×