WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   Hearts (https://www.wowinterface.com/forums/showthread.php?t=9418)

Link34543 04-07-07 11:22 PM

Hearts
 
How would I go about replacing my portrait with hp and mana with hearts (like from Zelda games :P.) I kinda want each heart to represent 100 hp...and it would be awesome to have half-hearts and no hearts too...anyways is this even possible? Thanks :D

Riraito 04-08-07 09:47 PM

hey that is a great idea, I definatly think its possible, you would probably have to create a bunch of heart frames , and hide/show them depending on how much hp you have
Code:

if UnitHealth("player") / UnitHealthMax("player) == .5 then
    for i = 1,5 do
        getglobal("HeartFrame"..i):Show();
    end
end

etc.

thijsdaniels89 04-09-07 06:21 AM

this is the best idea for a UI mod ever!!! can some1 please make this mod? :P i can't write .lua :(... maybe 25 health per 1/4th of a heart is too little though... a 70 warrrior would need 100 hearts then xD but the idea is rly cool!

robthedude 04-09-07 08:43 AM

perhaps the amount of health per heart could scale with level, or be manually adjustable

this would be great :)

Seerah 04-09-07 09:58 AM

What I was thinking was to have a bar texture of hearts and use that for health bars in ag_UF or something... You wouldn't get one heart per 100 health or whatever, and they wouldn't be able to overflow into rows, but I think that might be the easiest solution...

Link34543 04-09-07 11:59 AM

i feel special for thinking of this ^_^...only problem is i have no idea how to do this...im a noob to computers :P

thijsdaniels89 04-09-07 05:56 PM

1 Attachment(s)
we have to find someone who can and wants to program this in lua! the sprites for the hearts and magic bar aren't a problem, just cut em from a screenshot of OoT (i have actually done that yesterday (except for quarter hearts), see attachment for the image)

Link34543 04-09-07 09:22 PM

Oh ok, well if anyone wants to do this then PLEASE do it! :D

Riraito 04-11-07 03:49 PM

http://s8.quicksharing.com/v/6955474/.html hows that?
if anyone could get the sound effects, tha*t would be cool to add

thijsdaniels89 04-12-07 10:51 AM

i don't believe the link to quicksharing works :( it didn't display the file info and when i clicked download, it went straight to the index page :/ could you please share it again in a different way? :D

Riraito 04-12-07 02:57 PM

http://upload2.net/page/download/Dq7...earts.zip.html
try that, the DL info is near the bottom

thijsdaniels89 04-13-07 07:42 AM

wow that is reeeally cool riraito :D

thijsdaniels89 04-13-07 08:10 AM

could u tell me how to change the background so that the black area around the grey hearts and magic bar will be transparant? I couldn't make the black area transparent in photoshop because targa doesn't support layers :/

darko265 04-13-07 08:31 AM

you could select how much each heart represents in an options menu then u could customize the amount to ur will so u could have 1 heart representing 645 health (you obviously wouldn't want that tho lol)

Link34543 04-13-07 04:33 PM

Dude! that is great! Thanks!

Riraito 04-13-07 05:51 PM

Quote:

Originally Posted by thijsdaniels89
could u tell me how to change the background so that the black area around the grey hearts and magic bar will be transparant? I couldn't make the black area transparent in photoshop because targa doesn't support layers :/

targa doesnt support layers, but it does support an alpha channel, which controls how transparent something is

you could also just type ingame /script ZeldaHeartsFrameBackground:SetAlpha(0);

Link34543 04-13-07 08:48 PM

The script works great, only problem is I had the hearts and magic bar over my portrait, now that it's transparent I can see my protrait :( any way to fix this?

thijsdaniels89 04-14-07 03:33 AM

okay ill use alpha blending then :D

@ Link: you can use the MoveAnything! Add On to hide or move your portrait (and lots of other stuff)


All times are GMT -6. The time now is 02:32 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI