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 / Can anyone help with a 'text pop up' script?

Author
Message
Ranius
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 29th Aug 2008 23:43
I've been reading the FPSC unofficial guide that was in a sticky at the top of this board. I am currently trying to get the text pop up script to work (found on page 74)



I've made a simple image in photoshop named it myownhud and saved it as tga file. I placed myownhud in \languagebank\english\gamecore\text

I've copied this code and saved it as a .fpi file nad placed it in the scriptbank.

Then i will place a triggerzone in my level, set the main ai to myownhud.fpi yet when i walk into the zone my image does not pop up. I wouldn't be suprised if i have made a stupid and obvious mistake but i just cant figure this out and i've spent the last day and a half working on it.

Any help would be appreciated, thanks in advance.
Minimovies Inc
16
Years of Service
User Offline
Joined: 22nd Feb 2008
Location: Reeedwwwaaallll!!!
Posted: 30th Aug 2008 01:05
Try to place each new line of code on a separate line, don't put it all on one line.

A starting Games Designer. Need levels, characters and anything drawn and designed? Let me know...
mk82
17
Years of Service
User Offline
Joined: 6th Nov 2007
Location: Under the back porch
Posted: 30th Aug 2008 02:26
You can make text pop up on your screen with the signs IV program.
It's alot easier than trying to write a script. Good luck.

Im mk83's little brother! (who cares anyway)?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 30th Aug 2008 03:23
Quote: "It's alot easier than trying to write a script."


Don't try to write a script... just do it. That's the difference between being easy and being nothing at all.


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.
Ranius
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 30th Aug 2008 12:13
Thanks alot minimovies, i changed it so that each line of code was on a new line and it works perfect . (I knew i would have made a stupid mistake)

One last question, can anyone recommend me a 'average size' resolution to use as a text pop up box in fpsc? The box i have atm covers the entire screen
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 30th Aug 2008 18:48 Edited at: 30th Aug 2008 18:49
Try 800 wide by 600 heigh, see what that does for you and then go from there.

Ultra Nick
16
Years of Service
User Offline
Joined: 6th Aug 2008
Location: Cyberspace
Posted: 12th Sep 2008 02:45
I have a text pop-up script. And it works very well. I used a script from a weapon pickup to copy it.
Attaching now.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-24 13:47:27
Your offset time is: 2024-11-24 13:47:27