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 / Message displayed when player picks up dynamic entity (help!)

Author
Message
Toffeemouse
14
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 29th Jul 2010 21:02 Edited at: 29th Jul 2010 21:07
Hi, I am trying to get this script to work and i need some help as I am new to scripting.

I want the player to pick up this map to display a message.
Here is a picture of the map and the script I am using, below is the picture of the note, the location it is saved in and the script in a code box.






I am totally lost, there are two locations for my FPSC folders, one in my documents and one in program files. At first i thourght i may have put the hud in the wrong place but the documents version doesnt seem to have a gamecore text folder. Unless its X10 it must be my code. Please help!
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 29th Jul 2010 21:57
It needs to have a desc = whatever in there.

Whatever can be replaced by anything.

Just put this at the top of the script:

desc = Script

or whatever.

Also make sure the path to the script is correct. The script also has to be in the scriptbank folder.

Toffeemouse
14
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 29th Jul 2010 22:29
Ah thanks, i will give that ago.

I always thourght the ' ; ' and descriptions were optional.
Also in the picture a colon is in the wrong place (i changed it and that wasn't the problem)
Toffeemouse
14
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 29th Jul 2010 22:35
Unfortunatley it did not work :C

It makes a strange clicking sound when you pick it up which is strange as i have not linked any sound file.

As i am using win7 64 bit the folders are in programfiles(x86)
will this have anything to do with it?
Brunopark09
14
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 30th Jul 2010 10:28
I'd have a problem similar and plystire help me

First, your script have to be some like



Second,your script have to be in scriptbank, and your hud have to be in languagebank\english\gamecore\text to work and that folder is in the program files folder as the scriptbank

Hope it help you

-Why didn't God take gaga,justin bieber or kesha instead of Randy Rhoads, Cliff Burton or Dio?

-A good game is made of what you put in it, not of the features of the engine-
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 30th Jul 2010 13:20
It doesn't actually need any of these. You only need



Quote: "As i am using win7 64 bit the folders are in programfiles(x86)"


No, that doesn't matter.

Is the script in the scriptbank folder?

Also, try putting it in the regular gamecore\text file (no languagebank) You will need to add the text folder though.

Toffeemouse
14
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 30th Jul 2010 13:56 Edited at: 30th Jul 2010 13:58
Thanks for the replies,

It is still not working, the picture is now in:

Programfiles86> TGC> FPSCx10 > Languagebank > English > Gamecore >Text

AND

Documents >fpscx10 > gamecore > text

AND

Programfiles86 >TGC >Fpscx10 >Gamecore >Text

but still no luck!

My script now looks like this:


and is kept in the scriptbank and a folder within the scriptbank under the name of my project. However I am using the copy that is in the main folder of scriptbank just incase that was the problem.

I am completely lost now and totally reliant on your advice as I cant for the life of me think what else to do.
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 30th Jul 2010 17:50
Try using this script instead:


You didn't have any command to actually pick it up.

Toffeemouse
14
Years of Service
User Offline
Joined: 29th Apr 2010
Location: United Kingdom
Posted: 4th Aug 2010 15:37
Thanks for the script
gave it a go but it didnt seem to work :c
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 5th Aug 2010 01:50
What wasn't working about it? What were you expecting and what did it actually do that you didn't want?

We need a bit more information to go from.


The one and only,


Login to post a reply

Server time is: 2024-11-24 21:53:34
Your offset time is: 2024-11-24 21:53:34