well I have seen a lot of people asking how to get text in there game and I'm going to write a tutorial
CAN A MOD/ADMIN STICKY THIS PEOPLE ARE ALWAYS REQUESTING HOW TO DO THIS!
::WHAT ARE HUDS?::
People think that HUDS are text, but there not there acctually a picture that you/someone makes and with a script you can customize things like time, fading, positions, ect.
::HOW CAN I MAKE A HUD?::
HUDS can be made with anything you want Photoshop, MS paint, Paint.NET. ect, but there are things you want to know when you make a HUD you might want to use a template EG. a previes HUD so that when you HUD appears you can see where you want it center, to the right, left, ect. to get you HUDS to display your going to want to use a trigger script.
::WHAT IS SUPPORT IN HUDS?::
TGA.,DDS.,PNG.,JPG., and TGA. I reccommend DDS Although if you can't use PNG
::I'VE GOT A HUD AND NEED TO MAKE IT APPEAR::
Well 1st find your HUD save it to the Dictionary-
C:Program\Files\The Game Creators\FPS Creator\Files languagebank\WHAT EVER LANGUAGE YOU USE\gamecore\text
The part that says
WHAT EVER LANGUAGE YOU USE should be something like deutsch, english, french or german then after that your going to need a script here is a basic appear script-
;Artificial Intelligence Script
;Header
desc = My own Hud
Can the gamecoretextmyownhud to your image name and type
(example- gamecoretextmyownhud.dds)
then in the rest type the name without the type like myownhud
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextmyownhud,hudname=myownhud,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:hudshow=myownhud,state=2
:state=2,plrwithinzone=0:hudunshow=myownhud,state=1
;End of Script
Copy and paste this into notepad or FPI maker then change what it says in the instructions.
Also if you want to make the script only appear once then remove the last ",state=1" So it will not loop
::ADDING TIMERS::
adding timers can make a Hud much more realistic say if you wanted a voice or sound to play then you could make it play once and it would stay for a certian amount of time!
You will need something like-
;Artificial Intelligence Script
;BY: Test Of Will
;Header
desc = HUD For 6 seconds
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore/text/myownhud,hudname=myownhud,hudhide=1,hudmake=display,state=10
:state=10,plrwithinzone=1:hudshow=myownhud,state=1
:state=1:timerstart,state=2
:state=2,timergreater=6000:state=3
:state=3,plrwithinzone=0:hudfadeout=myownhud,state=0
;End of Script
Just do what you did before and it will make it so that your HUD will display for 6 seconds then Fade out the
!QUICK NOTE!
The Time can be changed, but it must be in Milliseconds you can convert seconds, minutes, ect by going to-
Time Converter
::ADDING SOUNDS::
Sounds are very easy and can tie in with timers for things like voices use the command plrsound= if you don't know what this is view a scripting tutorial and the sound can be added any where you want just copy and paste it to any place in the script like at the end if you want to sounds to play
;Artificial Intelligence Script
;BY: Test Of will
;Header
desc = Display a HUD for 6 seconds & play a sound
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore/text/myownhud,hudname=myownhud,hudhide=1,hudmake=display,state=10
:state=10:plrsound=audiobankmyownsound,hudshow=myownhud,state=1
:state=1:timerstart,state=2
:state=2,timergreater=6000:state=3
:state=3:hudunshow=myownhud,state=0
;End of Script
Change the part that says audiobankmyownsound to your sound to something like audiobankatmoscomputerhum.wav the sound will play a computer hum and the HUD will stay for 6 seconds and then dissapper. to make 2 sounds it would look like
;Artificial Intelligence Script
;BY: Test Of will
;Header
desc = Display a HUD for 6 seconds & play a sound
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore/text/myownhud,hudname=myownhud,hudhide=1,hudmake=display,state=10
:state=10:plrsound=audiobankmyownsound,hudshow=myownhud,state=1
:state=1:timerstart,state=2
:state=2,timergreater=6000:state=3
:state=3:plrsound=audiobankmyownsound,hudunshow=myownhud,state=0
;End of Script
Do what you did before and now 2 sounds will play one at the beginning now everytime you enter it will repeat to make it not repeat use this script-
;Artificial Intelligence Script
;BY: Test Of will
;Header
desc = Display a HUD for 6 seconds & play a sound
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore/text/myownhud,hudname=myownhud,hudhide=1,hudmake=display,state=10
:state=10:plrsound=audiobankmyownsound,hudshow=myownhud,state=1
:state=1:timerstart,state=2
:state=2,timergreater=6000:state=3
:state=3:plrsound=audiobankmyownsound,hudunshow=myownhud
;End of Script
::CHANGING WHERE THE PICTURE IS::
Well You are seeing your HUD and love it, but not where it is all you have to do it change the hudx=50,hudy=90 to what ever X, Y positions you want!
;Artificial Intelligence Script
;Header
desc = My own Hud
Can the gamecoretextmyownhud to your image name and type
(example- gamecoretextmyownhud.dds)
then in the rest type the name without the type like myownhud
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecoretextmyownhud,hudname=myownhud,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:hudshow=myownhud,state=2
:state=2,plrwithinzone=0:hudunshow=myownhud,state=1
;End of Script
Thats all you need to know for HUDS you should be able to add anything you want to a script if you have any ?'s or comments post them here!