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 do I make my own hud, and use them??

Author
Message
The Nerevar
14
Years of Service
User Offline
Joined: 19th May 2010
Location: Vvardenfell
Posted: 15th Jun 2010 18:31
I have Gimp2 and the .DDS plugin for it..... what else should I do?
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Jun 2010 01:31 Edited at: 16th Jun 2010 01:49
First, you would need to create the HUD's image in your paint program, and export it with the right settings.
I'm not sure about GIMP, but Paint.NET offers different options for DDS files...

A8R8G8B8

See attached image...

Then, you create the HUD in your FPI script as explained in the FPSC Manual, and The Official Guide to FPSCreator.
They are often seen in state=0 because you only need to create the HUD once in the script, and not every time you display it in any other state.

The hud would be created like so...

:state=0:hudreset,hudx=50,hudy=60,hudimagefine=gamecore\huds\yoursubfolder\yourimage.dds,hudname=yourhudname,hudhide=1,hudmake=display

Of course, the names in bold would be unique names that you create.

Then, to display your HUD you would use FPI action...

hudshow=yourhudname

...and to erase it you would use FPI actions...

hudunshow=yourhudname

...or...

hudfadeout=yourhudname

   Conjured Entertainment

 WARNING: Intense Madness

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-24 23:39:39
Your offset time is: 2024-11-24 23:39:39