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 / Objectives Hud at start

Author
Message
Jamie Oliver
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location:
Posted: 10th Jan 2006 19:16
Hiya all, I'm new to these forums.

I wanted to know, if it was possible to make the gane 'pause' and an image (the objectives for that level) popup when you first enter a level (say add a TriggerZone within the player start) which when the Enter key is pressed, it disapears and the game returns to normal.

I know very little scripting and help would be muchly appreciated.

Thanks,
Jamie

Head of Yextreme Productions - Bringing games to the next level. :p
Talairina
18
Years of Service
User Offline
Joined: 9th Jan 2006
Location: United Kingdom
Posted: 11th Jan 2006 12:58
Im sure you can do this with a storyzone with a .tga of what the objectives are. Not sure how again as Im still messing around with making opening scene's, cut scenes and the like with storyzones.

Tal
Mabuggi
18
Years of Service
User Offline
Joined: 11th Dec 2005
Location: UK - Universal Kingdom
Posted: 11th Jan 2006 15:04
Erm, isnt there an Fpi file for this?

I cant remember off hand, and Im at work so dont have FPSC infront of me.

Im sure there is tho... well, there has to be.

Will repost after confirming this eve.

DAB Studios
Talairina
18
Years of Service
User Offline
Joined: 9th Jan 2006
Location: United Kingdom
Posted: 11th Jan 2006 15:19
I did it eariler on simply by doing a Trigger Zone linking to a file called level1objectives.fpi inside a folder like so:

scriptbank\user\Objective Scripts\level1objective1.fpi

Your .tga goes to:

\FPS Creator\Files\languagebank\english\gamecore\text\objectives

Here's the code used


level1objective1part1.tga is a simple image with the Text of the objective (In this case it was Rescue the Kidnapped NSA Agent).
I use Adobe Photoshop 7 to create my TGA's and Iv copied my own TGA here for you to use. Simply 'rub' out the text and type in your own. Save it and hey presto. You can have unlimited objective's as long as you dont mind writing a .fpi for everyone. (Simply copy + paste and modify the path's of the code above)

Just ask if you've got problem's or want me to help you through it over MSN.

Tal

Attachments

Login to view attachments
Jamie Oliver
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location:
Posted: 11th Jan 2006 17:46
Thanks Mabuggi!

I will take a quick look around myself too..

J

Head of Yextreme Productions - Bringing games to the next level. :p
Mabuggi
18
Years of Service
User Offline
Joined: 11th Dec 2005
Location: UK - Universal Kingdom
Posted: 12th Jan 2006 17:43
Hey man - dont thank me, Talairina did the hard work on this one!



DAB Studios
Jamie Oliver
18
Years of Service
User Offline
Joined: 10th Jan 2006
Location:
Posted: 12th Jan 2006 20:01
Yeah, I know...

It's this having to check my post thing before it actully goes through... Slightly annoying...

Thanks again, I will try it in a sec...

J

Head of Yextreme Productions - Bringing games to the next level. :p
Talairina
18
Years of Service
User Offline
Joined: 9th Jan 2006
Location: United Kingdom
Posted: 12th Jan 2006 21:28
@Mabuggi
Hey you spelt my name right Not many people do

@Everyone
My script currently only display's the objective's at the bottom centre. Is there a way to display the .tga at say, the top centre or left top etc... Iv looked at the script and some of the command's avaiable but Im not 100% sure. Im tempted to just try it out but I thought I tickle someone's brain first who might already know the answer.

Tal
Mabuggi
18
Years of Service
User Offline
Joined: 11th Dec 2005
Location: UK - Universal Kingdom
Posted: 13th Jan 2006 11:08
hehehe -

the wonders of copy and paste my friend

DAB Studios

Login to post a reply

Server time is: 2024-11-21 21:58:49
Your offset time is: 2024-11-21 21:58:49