PDA

View Full Version : Target


zendar
09-14-2004, 03:56 AM
HI ...

I really would like to see bigger target window with five bubble for both health and mana :) .... like EQ

Thanks

sarf
09-14-2004, 09:51 AM
Err... I'm not sure I understand you about the five bubbles for health/mana thingy.

Making the target window larger is rather easy - simply use the following code (in the chat edit box) and change the '1' to something larger to get an increase in size (it is, however, possible that the current scale is more than 1... experiment!).
/script TargetFrame:SetScale(1);

Sarf
---
"Here's what I know," said the physicist. "If we lived in a microscopic world, trucks would crash into walls, fly apart and then reassemble perfectly on the other side of the wall. This has been proven."

zendar
09-14-2004, 11:59 AM
Thanks :) that was helpfull ..

but what I ment is hp and mana bar like exp bar with only 5 or 6 bubble .

and is there anyway to change exp bar color ?

sarf
09-14-2004, 01:02 PM
Umm... sure, someone could probably add some "bubbles" thingies to the UI image of the target.

As for changing the XP bar color, I recommend the following code snippet:/script MainMenuExpBar:SetStatusBarColor(r, g, b, 1.0);
r, g and b should be values from 0 to 1, indicating how "much" of that color is to be used. r is red, g is green and b is blue.
Note that if you have "rested" XP you will need to redo this script snippet every time you get XP (I think) or use the following macro:/script if ( XPFIX ~= ChatFrame_OnEvent) then
/script XPFIX = ChatFrame_OnEvent;
/script function ChatFrame_OnEvent(event)
/script XPFIX(event);
/script MainMenuExpBar:SetStatusBarColor(r, g, b, 1.0);
/script end
/script endThis code should be executed only once per game session (and is made to fit inside a macro), but it should be sufficient. You will need to replace r, g and b as above, though.

I probably should code an AddOn to change the color of the XP bar though.

<WHAM BONK SLAM SMACK WHOOF>

Done.

XPBarColor (http://www.cosmosui.org/forums/viewtopic.php?t=293) v0.01 is now available. It should suit your purposes.

Sarf
---
A gleekzorp without a ternpee is like a quop without a fertsneet (sort of)