Reply
Thread Tools Display Modes
Unread 04-07-07, 11:22 PM   #1
Link34543
A Murloc Raider
Join Date: Apr 2007
Posts: 6
Talking 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
Link34543 is offline   Reply With Quote
Unread 04-08-07, 09:47 PM   #2
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
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.
Riraito is offline   Reply With Quote
Unread 04-09-07, 06:21 AM   #3
thijsdaniels89
A Murloc Raider
Join Date: Apr 2007
Posts: 6
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!
thijsdaniels89 is offline   Reply With Quote
Unread 04-09-07, 08:43 AM   #4
robthedude
Don't Panic
 
robthedude's Avatar
Join Date: Oct 2006
Posts: 364
perhaps the amount of health per heart could scale with level, or be manually adjustable

this would be great
__________________

robthedude is offline   Reply With Quote
Unread 04-09-07, 09:58 AM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,710
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...
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Unread 04-09-07, 11:59 AM   #6
Link34543
A Murloc Raider
Join Date: Apr 2007
Posts: 6
i feel special for thinking of this ^_^...only problem is i have no idea how to do this...im a noob to computers :P
Link34543 is offline   Reply With Quote
Unread 04-09-07, 05:56 PM   #7
thijsdaniels89
A Murloc Raider
Join Date: Apr 2007
Posts: 6
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)
Attached Images
File Type: bmp Blended.bmp (42.6 KB, 811 views)
thijsdaniels89 is offline   Reply With Quote
Unread 04-09-07, 09:22 PM   #8
Link34543
A Murloc Raider
Join Date: Apr 2007
Posts: 6
Oh ok, well if anyone wants to do this then PLEASE do it!
Link34543 is offline   Reply With Quote
Unread 04-11-07, 03:49 PM   #9
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
http://s8.quicksharing.com/v/6955474/.html hows that?
if anyone could get the sound effects, tha*t would be cool to add

Last edited by Riraito : 04-11-07 at 03:52 PM.
Riraito is offline   Reply With Quote
Unread 04-12-07, 10:51 AM   #10
thijsdaniels89
A Murloc Raider
Join Date: Apr 2007
Posts: 6
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?
thijsdaniels89 is offline   Reply With Quote
Unread 04-12-07, 02:57 PM   #11
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
http://upload2.net/page/download/Dq7...earts.zip.html
try that, the DL info is near the bottom

Last edited by Riraito : 04-12-07 at 04:02 PM.
Riraito is offline   Reply With Quote
Unread 04-13-07, 07:42 AM   #12
thijsdaniels89
A Murloc Raider
Join Date: Apr 2007
Posts: 6
wow that is reeeally cool riraito
thijsdaniels89 is offline   Reply With Quote
Unread 04-13-07, 08:10 AM   #13
thijsdaniels89
A Murloc Raider
Join Date: Apr 2007
Posts: 6
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 :/

Last edited by thijsdaniels89 : 04-13-07 at 09:04 AM.
thijsdaniels89 is offline   Reply With Quote
Unread 04-13-07, 08:31 AM   #14
darko265
A Cyclonian
 
darko265's Avatar
Join Date: Apr 2007
Posts: 49
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)
__________________
life begins at 20 and life ends at 2 if that makes sense



i still such a low lvl

Withren is my main now because i give up on characters very easy but it's just i found tirant boring as a paladin (i'm sure some people think they're great but they're not for everybody)

I now love hunters
darko265 is offline   Reply With Quote
Unread 04-13-07, 04:33 PM   #15
Link34543
A Murloc Raider
Join Date: Apr 2007
Posts: 6
Dude! that is great! Thanks!
Link34543 is offline   Reply With Quote
Unread 04-13-07, 05:51 PM   #16
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
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);
Riraito is offline   Reply With Quote
Unread 04-13-07, 08:48 PM   #17
Link34543
A Murloc Raider
Join Date: Apr 2007
Posts: 6
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?
Link34543 is offline   Reply With Quote
Unread 04-14-07, 03:33 AM   #18
thijsdaniels89
A Murloc Raider
Join Date: Apr 2007
Posts: 6
okay ill use alpha blending then

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

Go BackWoWInterface » Developer Discussions » Graphics Help » Hearts

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off