Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / trying to make a hud but am stumped with somthin

Author
Message
gorba flamingo
16
Years of Service
User Offline
Joined: 16th Oct 2007
Location: between crazy and all out insane!
Posted: 4th Dec 2008 06:15
hi, im trying to make a health bar but because everythings coded up in sillyness i cant quite figure out how to set it up to a script. i have 21 images that i want to have set to 400 healths so that a liss of 20 healths causes the hut to loose a level. any ideas or examples?

<iframe src="http://gamercard.xbox.com/ā€¯gorbafletch" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 4th Dec 2008 08:00
Load all of your HUDs into a script, show the HUD that corresponds to the amount of health the player has.

Ex.

Show full health, hide all others
Health < 80%, Show 80% health, hide all others
etc.
etc.


Does that help?


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 4th Dec 2008 10:30
http://forum.thegamecreators.com/?m=forum_view&t=60401&b=23
Simply replace the health head image names with your own.
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 4th Dec 2008 17:26
...works like a charm!


gorba flamingo
16
Years of Service
User Offline
Joined: 16th Oct 2007
Location: between crazy and all out insane!
Posted: 4th Dec 2008 21:54
excellent, thanks
one more question
for the images theselves is black transperent or white or what? because i have it as black but the heads are white.

<iframe src="http://gamercard.xbox.com/ā€¯gorbafletch" scrolling="no" frameBorder="0" height="140" width="204"></iframe>

Login to post a reply

Server time is: 2024-10-11 19:19:17
Your offset time is: 2024-10-11 19:19:17