Volts 0 Report post Posted November 16, 2016 Hey all, I've been building my UI for upcoming launch. I'm a bit anal when it comes to things, so I have been going through and modifying a bunch of textures in certain addons and what not. Usually this just involves renaming a .tga file and then your done, however with KTM threat meter, I can't figure out how to modify the bar textures, they look pretty ugly as they are. To see what I mean, here is my UI, What I would like is for the red bar in KTM to be the same texture as everything else. I have included both the texture and AddOn below. Texture: https://drive.google.com/open?id=0B8Bcvjkn6UtxZjRSbEJaYnlFMGM Addon: https://drive.google.com/open?id=0B8Bcvjkn6UtxTjN4aEFkMVpYeDg If anyone could instruct me on how to do this or do it an upload it for me, I would very much appreciate it. Thanks in advance - Volts 0 Share this post Link to post Share on other sites
Renew 26 Report post Posted November 16, 2016 did you try to replace the UI-StatusBar.blp inside the images folder? 0 Share this post Link to post Share on other sites
nevomm 4 Report post Posted November 16, 2016 Hey OP, i'm afraid i dont' know much about manual minipulation of addons or files, however i may be able to guide to toward some help. Nostalrius's website is still up, heck i'll bet the forums are still active. If you can't find info in their Addons Section of the forums then you're sure to find someone that can there. 0 Share this post Link to post Share on other sites
euron 1 Report post Posted November 16, 2016 did you try to replace the UI-StatusBar.blp inside the images folder? I'd go with this guy ^ 0 Share this post Link to post Share on other sites
Aero 13 Report post Posted November 16, 2016 (edited) If you ever need to figure out what .blp to replace, I highly recommend using http://www.wowinterface.com/downloads/info16700-BLPView.html since it gives .blp files preview icons in windows explorer. If you need to actually edit them, the best way is to use https://mods.curse.com/addons/wow/photoshop-blp-format-plugin Edited November 16, 2016 by Aero 0 Share this post Link to post Share on other sites
Xyf 1 Report post Posted November 16, 2016 (edited) 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"> Edited November 16, 2016 by Xyf 0 Share this post Link to post Share on other sites
Volts 0 Report post Posted November 16, 2016 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"> This worked, thanks a ton Xyf! 0 Share this post Link to post Share on other sites
Volts 0 Report post Posted November 16, 2016 One more nit-picky thing, is there a way to change the title bar at the tops texture and color match the one i have for swstats? I also want to remove the border around KTM. It's the same texture file. Let me know. Thanks a ton guys. 0 Share this post Link to post Share on other sites
euron 1 Report post Posted November 16, 2016 (edited) Same way as you replaced the other one. Figure out which texture is the title bar, then replace it manually by renaming your new texture and deleting the old one or by changing the code like Xyf suggested to use your new texture. Just open up the .tga files and look for the one that's the title bar you want to replace. Same goes for the border, al though I don't see anything that looks like a border.tga so it might not be possible to remove the border without removing the entire background too. (since they're probably the same texture). Edit: Went through the .tga files, none of them appear to be the background or the border, which will make things a little more difficult. Looks like you'll have to dig through the .xml or .lua files to sort it out. Edited November 16, 2016 by euron 0 Share this post Link to post Share on other sites
Xyf 1 Report post Posted November 16, 2016 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. 0 Share this post Link to post Share on other sites
Volts 0 Report post Posted November 17, 2016 Xyf, it does not work. Could you double check what you copy and pasted? When I change the xml file, the whole frame disappears 0 Share this post Link to post Share on other sites
Volts 0 Report post Posted November 17, 2016 (edited) Nevermind it works. Is there a way I can change the color of the title bar like RGB? Also can I remove the dark border around the whole frame to make it crisp like SWstats? If you want to see how the other addon does it. Here is the link. https://drive.google.com/open?id=0B8Bcvjkn6UtxbXpzVFRJQ1k1MTg The texture is listed as b1.tga in the images folder. I must really thank you Xyf for doing this. I know I'm being quite anal, but I do really appreciate it. If I ever distribute this I will give you credit. Cheers Edited November 17, 2016 by Volts 0 Share this post Link to post Share on other sites
Xyf 1 Report post Posted November 17, 2016 https://drive.google.com/file/d/0B7mgGJ9vgPjiYXppNjNSUHpVOEU/view You can change colors in KLHThreatMeter\Code\GUI\KTM_Gui.lua Lline 81 0 Share this post Link to post Share on other sites
Volts 0 Report post Posted November 18, 2016 You are amazing. One final thing and then it should be good to go. Could you remove the black space between the threat bar and the right edge. It looks kinda funny. Thanks again. 0 Share this post Link to post Share on other sites
Xyf 1 Report post Posted November 18, 2016 KLHThreatMeter\Code\GUI\KTM_Gui.lua Line 498 change that 12 to like 6 or something. Also you change the damage meter so the buttons I've changed don't match anymore lol. 0 Share this post Link to post Share on other sites
Volts 0 Report post Posted November 18, 2016 Yeah but the buttons you changed them too are 1000x better DPSMate is better than SWStats Thanks a lot Xyf. 0 Share this post Link to post Share on other sites