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 / Conversation Scripts - Problem

Author
Message
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 9th Dec 2006 03:09
As some of you may have already noticed, there is an FPSC Hints and Tips PDF file being available for download. The guide is written by Nickydude.
A direct link to the PDF is here.

Anyway, in the PDF, there is a section which gives you some scripts. These scripts allow for conversations to be held between thte player and an NPC. The conversation can be played through sounds, or text that appears on-screen.

Now, though, having tryed and tryed in vain to get these scripts to work, I have failed.

I have the script typed up perfectly, saved as an FPI file in my scriptbank, and then, in FPSC, created an entity, with it's main script being the conversation.fpi script.

The scripts plainly don't work. Running the game, nothing happens. When you approach the NPC, it should rotate to face you, and then when you get closer, the text or sound should appear on screen, or play.

My PC is capable of running FPSC, and I have FPSC V1.03 installed, the latest version.

So, what's the problem?

I quite urgently need these scripts, so all help with them is appreciated.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 9th Dec 2006 05:07
Knowing that the scripts do indeed work, there is only one thing I can think of. Usually when someone says that they assigned a script and it does nothing at all, the script is either misnamed, or not called correctly by the entities fpi.

Make sure your script is named properly (.fpi and not.fpi.txt) and that the characters AI Main is indeed the correct name of the script.

Best.

The forum provides a means to hide our true identity. Too bad we always screw up and let it be seen.

Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 9th Dec 2006 17:47
When I tried I couldn't get the scripts to work either, I tried and tried and just couldn't find anything wrong. In the end it was discovered that I had the 'desc' line on the same line as the 'Header' line. Make sure it's not something as simple as that


Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 14th Dec 2006 06:27
Yeah, well, I've tryed all that, to no avail, it still won't work. Any other suggestions?
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 19th Dec 2006 02:55
*Bump* Any suggestions?
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 20th Dec 2006 05:37
It should be easier to solve the problem if I show you the script I'm using. Here's the script:

Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 22nd Dec 2006 03:07
Cmon guys, I really need these scripts to work, here's the FPM file im using as well to actually run the game. 92 views and 6 posts, 4 of them by me, cmon guys! FPM is attached.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-23 04:58:49
Your offset time is: 2024-11-23 04:58:49