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 / Weird image shows with this script?

Author
Message
Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 12th Jun 2009 06:40 Edited at: 12th Jun 2009 07:17
Ok when I use this script, there's this weird image that shows up at the top left of the screen and I have no idea why. Can someone help me? Here's a screen shot so you know what I mean:

oh and here's the script:



and this script was for a trigger zone

Attachments

Login to view attachments
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 12th Jun 2009 07:28
Hmm. there is NOTHING in there that points to any TEXTURE file for that entity.

Have you tried any other scripts that use huds?

Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 12th Jun 2009 12:56
The script is pointing to hudname=objectives, so the ojectives image being displayed is the one you are pointing your script at, you need to find the objectives image this script is telling the system to use. Usually in gamecore/text file

Are you actully trying to display game objectives at this trigger zone or just a message? Because there are a few different scripts you can use..

For displaying objectives using the tab key:



Also, you could just use a HUD display script instead of the objectives if this is going to cause you problems:



You would need to create the image you want displayed and replace the "myownhud" sections of the script to point at the image file you want to you.

Hope this helps!

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 12th Jun 2009 18:58 Edited at: 12th Jun 2009 19:00
He is using hudtext= so he wants to use text not an image.

I tried to get him to use an image but he didn't want to for some reason.

It is easy to make an image of the text and that should solve the problem.

I never had luck using the HUDTEXT= either, so I always use an image even if it is just text.

Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 12th Jun 2009 20:32
I didn't want to show the objectives I just want to show a messsage using text. How would I edit the script for it to do so? I wanna take out the objectives thing in it. Thanks!
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 13th Jun 2009 02:30
Ah ok, I get it now. An easy work around would be to use signs (the program). you can attach a text display to a sign entity you can place beside the point where you want to show the text, see attached pic from signs itself.

Basically the text script is hidden in the sign you can see on the left, that way you can avoid having to use trigger zones and scripts on text displays. This is a handy way of doing it, also as signs makes the scripts for you, you can view the scripts to help you work out how to make independent scripts too so you can learn of you want!

Attachments

Login to view attachments
Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 19th Jun 2009 05:51
Ahh I just want that script edited so the image doesn't show up! Can someone edit the script for me please?
Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 22nd Jun 2009 02:13
Anyone???
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 22nd Jun 2009 02:45
Well this is very weird considering nothing in the script tells it to do this.

Blazed666
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 22nd Jun 2009 02:54
Well the second post explained why it made the weird image:

Quote: "The script is pointing to hudname=objectives, so the ojectives image being displayed is the one you are pointing your script at, you need to find the objectives image this script is telling the system to use. Usually in gamecore/text file"


I just want to display a text message.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 22nd Jun 2009 08:09
Quote: "I just want to display a text message. "


Then make it an image already.

Like the "You picked up a weapon" and other TEXT huds.

C:\Program Files\The Game Creators\FPS Creator\Files\languagebank\english\gamecore\text

Even the stock TEXT messages are HUDs, so stop trying to avoid it and embrace the HUDs.

You use a paint program to type what you say then cut out the background so it's transparent and bam you got your text message with a HUD!

Login to post a reply

Server time is: 2024-11-25 02:59:06
Your offset time is: 2024-11-25 02:59:06