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 / My HUD doesn't work

Author
Message
Brunopark09
14
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 24th Jul 2010 03:50
Hi!

I made 6 hud that have to be show in the screen when the player step into a trigger zone, all hud work EXCEPTone, this is the HUD thath doesn't work:

(here are the script and the hud)



Here the HUD (it's really some like a text lol)




And this happen when I put the script in te trigger zone and the hud in the directory (languagebank\english\gamecore\text) and use them in the game.



But other huds works!







What i have to do for make it work?

-grinsh-
Brunopark09
14
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 24th Jul 2010 03:53
Ups, sorry, here are the images

-grinsh-

Attachments

Login to view attachments
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Jul 2010 11:39
Remove "languagebank\english\" from the path name and see if it works. When you specify "gamecore" it will look in the languagebank gamecore as well.


The one and only,


Brunopark09
14
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 26th Jul 2010 01:07
I did it and work once then I have the same error

-grinsh-
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Jul 2010 02:55
It only worked once and then wouldn't work anymore??
That's weird indeed. How are you using this in your level?


The one and only,


Brunopark09
14
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 26th Jul 2010 03:08
In my game, there is a table with a book on, when the player walks near the book (is actually a note) the hud is displayed on the screen simulating the player take the note and read it.

I use a triggerzone with the script

I think the most weird thing is that the others 5 scripts are equals to this and all works, look at this script





I use it in the same way, a table, with a note, using a trigger zone, player walks near the note and the note is displayed on the screen also using "languagebank\english" in the directory.

I don't know what i'm doing wrong.

My brain is gonna explode

-grinsh-
Gencheff
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 26th Jul 2010 15:20
I don't see a problem with the script.But since the other scripts are equal,I'd say you have a problem with the image.Maybe it's missing,maybe it has wrong channels.Try a .png instead of .tga... I don't know..

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 28th Jul 2010 05:11
Ahhhh, i think I see the problem.

In your first script, the "desc = " was on a commented out line. Make sure "desc = " is on it's OWN LINE. When desc is left out, it has almost ALWAYS caused HUD problems in the past.

Try that and see if it works.


The one and only,


Brunopark09
14
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 28th Jul 2010 06:21
Is impressive how the "desc = " line can ruin a script..

Thanks plystire, i hope don't works just once like when i delete the "languagebank\english"

I'll be careful about that in my futures sctips

-grinsh-

Login to post a reply

Server time is: 2024-11-24 21:46:18
Your offset time is: 2024-11-24 21:46:18