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 Scripts / How can I change my HUD?

Author
Message
UnReLaTeD
11
Years of Service
User Offline
Joined: 24th Nov 2012
Location:
Posted: 24th Nov 2012 08:40
I'm pretty new to FPS Creator. I have purchased a few model packs and created decent looking games, but I don't like the HUD. I was wondering how I could completely hide the health, ammo, live, etc. and create a CoD like health system, where blood scatters your screen. Thank you to anyone that can help.
Troutflies
13
Years of Service
User Offline
Joined: 24th Feb 2011
Location: Stuck outside my map.
Posted: 25th Nov 2012 10:31
Well it fairly simple but you want to make sure you make copies of the files that you'll be changing.

There are two ways of doing it. In the map editor go to files>build>global settings scroll down and you'll see the health ammo lives etc Huds. Just clear the fields you don't want.

The second way is to delete them from the setup level.fpi. Go to files>languagebank>English>gamecore>my game>setup level find the lines that define the HUDs you don't want and delete them. Save the edited file and your done. However I'd don't suggest doing this without creating a copy of the original.

Learn scripting it is fairly simple with just the basics of how it works to make Huds do and look the way you want.
Like you I didn't like the health HUD so I created my own. I posted it herehttp://http://forum.thegamecreators.com/?m=forum_view&t=201502&b=24

The script isn't that complicated in fact it's pretty basic, my point is it wouldn't take much to get what your looking for download the file and look at the script.

The first few lines define the 8 Huds I used. Each one showing a different amount of damage

The next few lines tell the engine. When the damage is between this amount and that amount show this HUD.
When the damage gets to this amount remove the old HUD and replace it with the new one.. And so on until the player is dead..

Good luck!

Login to post a reply

Server time is: 2024-11-23 19:46:54
Your offset time is: 2024-11-23 19:46:54