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 / Everything you ever wanted to know about HUDS or TEXT!

Author
Message
TEST OF WILL
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 3rd Jun 2007 20:40 Edited at: 4th Jul 2007 19:58
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-


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-



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-



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



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



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-



::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!



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!

tyrano man
18
Years of Service
User Offline
Joined: 26th Oct 2006
Location: Battle City - Kalspher :)
Posted: 3rd Jun 2007 20:53
Nice tut will be useful for people that don't already know how to do it

TEST OF WILL
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 3rd Jun 2007 20:58
thanks
pigs can fly
18
Years of Service
User Offline
Joined: 20th Aug 2006
Location: Luxembourg
Posted: 3rd Jun 2007 22:21
Very nice
Thanks


For all my free FPSC entities!
mastershake 354
17
Years of Service
User Offline
Joined: 3rd Jan 2007
Location:
Posted: 3rd Jun 2007 22:24
Cool. Thank you
TEST OF WILL
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 3rd Jun 2007 22:28
I hope this gets Stickied
Slayer222
17
Years of Service
User Offline
Joined: 19th Mar 2007
Location: Wherever I feel like
Posted: 5th Jun 2007 07:34
lol be patient young one, the road to fame is not always easy
*Slayer_2

EOT
[img][/img]
Check it out here: http://eliteops.piczo.com/?cr=6&rfm=y
ande
17
Years of Service
User Offline
Joined: 19th Jul 2007
Location: google
Posted: 21st Jul 2007 00:56
wow this was a goooood tut =)

ande-
crispex
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location:
Posted: 18th Aug 2007 18:11
Quote: "Deutsch"
Quote: "German"


Umm, they are both the same. Deutsch is the German word for "German" I think you ment "Dutch"


Not a Vista user, but a Vista Theme user!
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 18th Aug 2007 18:46
But there isnt any Dutch version.
TEST OF WILL
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 20th Aug 2007 21:04
There is a dutch folder, but I don't think there is a version of it anyways I might be adding the following

How to create an objectives system
how to create signs with text that pops up
how to create text to pop-up and trigger something
MiRRoRMaN 64
20
Years of Service
User Offline
Joined: 11th Jan 2004
Location:
Posted: 28th Aug 2007 03:26
So am I right in to thinking that if you wanted for example a face in a screen in the top left corner like in the first version of doom, you could do this with a hud also by keeping it state 1 looping with a .tga or .dds picture of the guy?

(And use multiple pictures if he's like hurt or something like for example lets say energy is less than 150 his eye is wounded?)


amigacam.net.tc
vorconan
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Wales
Posted: 28th Aug 2007 03:34
Good tutorial, I can't say I've really seen people asking for this but I miss quite a lot of threads.

Looks like your desperate for a sticky though, usually tutorials aren't stickied, they're linked to by another stickied thread, it makes it easier to look them up then, instead of having loads of stickies.



Squelchy Tom
18
Years of Service
User Offline
Joined: 25th Aug 2006
Location:
Posted: 30th Aug 2007 17:04
pls include the how to make an objectives system, i seem to get stuck doing that because when the player kills objective one, the game ends when i want to include more :/
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 1st Sep 2007 02:27
Squelchy Tom.
Thats because when you set an entity as objective
that means he is sort of a "win zone".

Leave the objective just as it was unless its an end boss or such.
Johan_D
17
Years of Service
User Offline
Joined: 14th Sep 2007
Location:
Posted: 14th Sep 2007 23:38
Is it possible to remove the hud completly?

A little less conversation, and a little more action please!
valio1
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location:
Posted: 25th Oct 2007 13:42
Sorry but I didn't understand!
Here is what I did:
Made my HUD pasted the code in Wordpad and saved it as txt
then i renamed my HUD: gamecoretextmyownhud.tga
and renamed the script: gamecoretext.txt
(is this wright??)
Questions:
What should I do when I put both things in the directory!
What should I use! I tried trigger zone but... it didn't work!
Can please someone write it Step By step (for me Da Newb)
Thanks

Login to post a reply

Server time is: 2024-11-23 20:58:31
Your offset time is: 2024-11-23 20:58:31