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 / Have a text appear request script

Author
Message
the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 13th Nov 2008 18:02 Edited at: 13th Nov 2008 18:04
Hi to all
I ask for a script to have a text ,naturally using trigger.
At page 74 of the official guide comunity there is a script, but it do not work .I followed the istruction right but nothing.
So is there another script ?...please

Thanks a lot and
Bye

Simo

oldboy of 40 years old
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 13th Nov 2008 19:26
I am having a hard time understanding what you are asking. Are you asking about having a HUD display some text when pressing a key? Are you talking about having text pop up when you get near/pick up certain objects?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Nov 2008 19:29
Quote: "naturally using trigger."


By that, I'm thinking he wants text to display when he goes into a triggerzone.


@the italian:

May we see the script that you tried to use?

We need more information than "it do not work" before we can help you.

Also, seeing how you set things up would be helpful as well.


The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.
the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 13th Nov 2008 20:27
Sorry, for me is very hard write in Englis
I have used the script on page 74,"naturally using trigger" :was to prevent the question " Do you used trigger with this script? "
I have put the image TGA on files/linguagebank/english/gamecore/text
as like showed on manual .
I won a text when i go in a trigger zone.

oldboy of 40 years old

Attachments

Login to view attachments
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 13th Nov 2008 20:40
Can we see the script that you used? I know you stated you were following the script on page 74, but we still need to see it.

Also, what HUD are you using? The script states to use a HUD named myownhud.tga, but this isn't a stock HUD that comes with FPSC. You need to find a hud that already exists (either in FPSC or out here on the forums) and use that one instead. The tutorial doesn't explain this, and this may be part of the problem that you are having.
the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 13th Nov 2008 21:55
hi
I have copy and paste the script
on not pade (estension FPI )
emmm........the HUD I have create it with Potoshop on TGA extension 800x6oo pixel and called it " myownhud.tga " to prevent some errors ....not Right ??

oldboy of 40 years old

Attachments

Login to view attachments
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 13th Nov 2008 22:08 Edited at: 13th Nov 2008 22:11
I looked at your script, and it appears correct. However, I also noticed that you copied this straight from the guide (which is cool), but there are inherent problems with doing that. First of all, an entire line of commands needs to be on 1 line. For example, you have a line break (enter) after the "g" in gamecore, placing the rest of the line on the next line. You need to remove all unnecessary line breaks:



Basically, the engine sees a line break as the end of the current condition/set of commands, and attempts to start execution at the next line. If the engine does not see a colon at the beginning of a line, it will either skip that line or return an error in processing. You therefore need to remember to group your commands on one line. The best example of this is in the first line in the code I included herein. There are multiple commands being given after the "if" portion of the line, and these commands must be on one continuous line - the same line as the "if" portion.

Does that all make sense?
the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 13th Nov 2008 22:27
oh
thanks I try tomorrow .
Now I go to bed (get up to 5 am)for go to work
Thanks and

Bye from Italy ( for now )


oldboy of 40 years old
the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 14th Nov 2008 22:54 Edited at: 14th Nov 2008 22:55
Hi
Sig.....the script does not work
So i bougth sign, and with this I can put text anywhere .
however does someone have try this script ??

bye and
Good night

oldboy of 40 years old
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 16th Nov 2008 01:59 Edited at: 16th Nov 2008 02:02
Are you using the English Version of the game or a different language?

The script uses the following path for the image...

hudimagefine=languagebank\english\gamecore\text\myownhud.tga

...note that it is in the ENGLISH languagebank, whereas yours may be....

hudimagefine=languagebank\italian\gamecore\text\myownhud.tga

Don't forget to visit Conjured Entertainment

the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 17th Nov 2008 09:45
Hi
The path is Right,hudimagefine=languagebank\english\gamecore\text\myownhud.tga : I use english version
but I not undersand what I wrong
Thanks
Simo

oldboy of 40 years old
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 17th Nov 2008 14:42
You were wrong the Italian because you put a comma near the end and you wrote the language bank like linguage bank.

I love the FPSC! But it goes slow on my stupid computer!
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 17th Nov 2008 23:20
Then leave the image here...

languagebank\english\gamecore\text\myownhud.tga

but make the path in the script as....

hudimagefine=gamecore\text\myownhud.tga

Simply ommit the languagebank\english\ part from the path and try that.

If memory serves, that is where the image needs to be but you don't need that part of the path in the script.
Try it.

Don't forget to visit Conjured Entertainment

the italian
16
Years of Service
User Offline
Joined: 11th Sep 2008
Location: Cremona Italy
Posted: 19th Nov 2008 15:22
I resolve It
Thanks a lot to All

oldboy of 40 years old

Login to post a reply

Server time is: 2024-11-24 16:40:39
Your offset time is: 2024-11-24 16:40:39