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 / Free scripts for talking npc/character, having conversations and such.

Author
Message
Les Horribres
18
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 13th Apr 2006 23:21
Ben A, for all 'variations' can you repost it to the original post? makes it easier for everyone who want a particular scipt.

Thanks

We all have our inner noob.
Join the NJL: We have MORE fun!
When in doubt, blame a mod!
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 14th Apr 2006 00:41
Good idea! I'll do it right away.

Bored of indoor? Add outdoor to your FPSC games!
http://www.aeilkema.dds.nl/mega/index.html
Need music for your games? Check the above link also!
Lizblizz
18
Years of Service
User Offline
Joined: 13th Dec 2005
Location:
Posted: 14th Apr 2006 21:34
ok thanks ben great script by the way!!!

now my characters can talk! yaayh!
and interact with objects

nice work

Sexy Latina
DaReDeViL
18
Years of Service
User Offline
Joined: 17th Mar 2006
Location:
Posted: 16th Apr 2006 04:37
hey pls help im not sure why this isnt working it seems right
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 17th Apr 2006 10:15
Of course it doesn't work and the solution can be found 6 posts above yours.

Bored of indoor? Add outdoor to your FPSC games!
http://www.aeilkema.dds.nl/mega/index.html
Need music for your games? Check the above link also!
The Game Creator
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location:
Posted: 17th Apr 2006 11:13
DaReDeViL you have to type

YES

:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\Talking Text\11.png,hudname=talk1,hudhide=1,hudmake=display

NO

:state=0:hudreset,hudx=50,hudy=50,hudimagefine=files\gamecore\Talking Text\11.png,hudname=talk1,hudhide=1,hudmake=display
lozza
18
Years of Service
User Offline
Joined: 9th Mar 2006
Location: Somewhere over the rainbow
Posted: 17th Apr 2006 12:03
Hey, It worked thanks so much Benjamin, I can do loads with this now! One question though is there a way for it not to be repeated if the player accidentally runs into him\her twice!?
Thanks again!
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 17th Apr 2006 13:32
Yes there is, check the initial post, at the bottom you'll find what you want.

Bored of indoor? Add outdoor to your FPSC games!
http://www.aeilkema.dds.nl/mega/index.html
Need music for your games? Check the above link also!
RJ is out Leave a message
18
Years of Service
User Offline
Joined: 7th Nov 2005
Location: The butt end of the U.S.
Posted: 17th Apr 2006 17:34
;Created by Benjamin Aeilkema

;Header

desc = game conversation

;walk up to an character and he will display three messages in a row.

;Triggers

:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\talk1\talk1.png ,hudname=talk1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\talk1\talk2.png,hudname=talk2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\talk1\talk3.png,hudname=talk3,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=160:rotatetoplr
;state=10,plrdistwithin=60:rotatetoplr,sound=[path to a sound] ,timerstart,state=20
:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1
;state=20,timergreater=7500:state=20,rotatetoplr,sound=[path to a sound],timerstart,state=30
:state=30,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2
;state=30,timergreater=7500:state=30,rotatetoplr,sound=[path to a sound],timerstart,state=40
:state=40,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3
:state=40,timergreater=7500:timerstart,state=2
:state=2,plrdistfurther=60:state=10

;End of Script

Do I have to have sound with this script? The messages still don't
work. I've went from one directory to gamecore I did everything you guys have done and it still does not work.



Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 17th Apr 2006 19:03
Raymond J, you mutilated the script to such an extend that it will never work. You can not just ommit things by putting ; in front of it.

You can have messages without sound, but then you need to rewrite a few lines.

May I suggest you follow the scripting tutorial(s) found in the forum section, before trying to change scripts? In these tutorials you will at least learn the basics of scripting, which you're missing at the moment. Learn those and try again.

Yes, I'm deliberately not changing the script for you and I do hope no one else will. You've been here almost as long as I have, so...... time to learn how to edit scripts properly, without destroying them completely. By now you could (perhaps even should) have been writing your own scripts, it's really not that hard, once you get the basics right.

Bored of indoor? Add outdoor to your FPSC games!
http://www.aeilkema.dds.nl/mega/index.html
Need music for your games? Check the above link also!
RJ is out Leave a message
18
Years of Service
User Offline
Joined: 7th Nov 2005
Location: The butt end of the U.S.
Posted: 18th Apr 2006 09:27
Dude..Relax I'm more worried about the directory structure. Why do I supect that alot of people have asked you to post and make scripts that they could make themselfs. I never asked you to fix anything. I was just upset that I couldn't get it to work in a spec directory. Being in a hurry and working on both fpi's and segments at the same time with no
sleep for 3 days will cause anyone to be lazy ,so I goofed. Otherwise your right, Fpi scripting can be fun and easy if shuteye is on the calander that week.



Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 20th Apr 2006 23:17
I haven't checked this in ages. Just found this and will help me greatly! Thanks so much for you're time, Benjamin

Tom

Support your local Riker 9 Chapter.
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 20th Apr 2006 23:24
You're welcome

Bored of indoor? Add outdoor to your FPSC games!
http://www.aeilkema.dds.nl/mega/index.html
Need music for your games? Check the above link also!
Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 20th Apr 2006 23:46
Is it possible to be applied to a Triggerzone?

Tom

Support your local Riker 9 Chapter.
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 21st Apr 2006 00:41
Yes, but you would need to re-write major parts of the script to make it work and I'm not going to do that..... perhaps someone else will.

This script is completely object based, triggers work differently.

Bored of indoor? Add outdoor to your FPSC games!
http://www.aeilkema.dds.nl/mega/index.html
Need music for your games? Check the above link also!
RJ is out Leave a message
18
Years of Service
User Offline
Joined: 7th Nov 2005
Location: The butt end of the U.S.
Posted: 21st Apr 2006 06:21 Edited at: 21st Apr 2006 06:27
;Artificial Intelligence Script

;Header

desc = Level 1 Objective 1

;Triggers

:state=0:hudreset,hudx=60,hudy=70,hudimagefine=gamecoretextobjectivespart1.tga,hudname=level1objective1part1,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:hudshow=level1objective1part1,state=2
:state=2,plrwithinzone=0:hudunshow=level1objective1part1,state=1


;End of Script

Here ya go Tom.
I hope everyone including myself enjoys
Silent Hill
The Movie
Let us all hope and pray it will not turn into another Doomed flick.
Good God..I'll be in a theather with a bunch of cults and wackos..What's the difference? My review on Monday.



Connor Higgins
User Banned
Posted: 21st Apr 2006 19:04
wow!!! it is cool one question where do you enter it in the character options

connor
Walking Dead Productions
18
Years of Service
User Offline
Joined: 6th Apr 2006
Location: USA
Posted: 26th Apr 2006 02:09
I can't seem to get my images to be transparent. I save them with the black background, but when I use this script, the full image is displayed with the black background, without transparency.
Michael S
18
Years of Service
User Offline
Joined: 2nd Apr 2006
Location: Why do you ask?
Posted: 16th May 2006 01:07
how do i use these???

Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 16th May 2006 01:10
Read the manual on how to apply the scripts to your entities and read the thread on how to use them.

I'm not lazy, but I don't like explaining anything that already has been explained before.

http://www.gamefun4u.nl/index.html
GameFun4U, the ultimate funtainment. Cool Games and Resources for your own games.
Michael S
18
Years of Service
User Offline
Joined: 2nd Apr 2006
Location: Why do you ask?
Posted: 16th May 2006 01:14
i dont have a manual

Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 16th May 2006 01:24 Edited at: 16th May 2006 01:24
Everyone who has bought FPSC or is using the demo, has a manual. It's installed in a subfolder called docs in the folder where FPSC is installed into. The document you're looking for is called FPS Creator Manual.pdf If you can't find it there, do a search for it with explorer. If you can't find it there, then get the original FPSC CD and once you put it into your CD drive a menu will come with the option to read the manual. If you have autorun disabled, then go to the main root folder of the CD and you'll see the manual there.

If you're using the demo, then the manual should be with it also installed into the folder pointed out. If you're using the full version and you don't have the CD, you either lost it or you're using a pirated version, in either case I can't help you then. You need to buy FPSC or contact TGC about the CD.

I guess that covers all of the posibilities, good luck!

http://www.gamefun4u.nl/index.html
GameFun4U, the ultimate funtainment. Cool Games and Resources for your own games.
Michael S
18
Years of Service
User Offline
Joined: 2nd Apr 2006
Location: Why do you ask?
Posted: 16th May 2006 01:29
im still useing the demo, but my adobe isnt working.

Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 16th May 2006 01:33
I guess you need to fix it then

http://www.gamefun4u.nl/index.html
GameFun4U, the ultimate funtainment. Cool Games and Resources for your own games.
Michael S
18
Years of Service
User Offline
Joined: 2nd Apr 2006
Location: Why do you ask?
Posted: 16th May 2006 01:57
can u help me?

Tom0001
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location:
Posted: 16th May 2006 02:04
Re-download it.

Tom

Talairina
18
Years of Service
User Offline
Joined: 9th Jan 2006
Location: United Kingdom
Posted: 16th May 2006 06:18
Uninstall Adobe Acrobat Reader and go download it. Then as Tom said, reinstall and it should be fine.
Michael S
18
Years of Service
User Offline
Joined: 2nd Apr 2006
Location: Why do you ask?
Posted: 16th May 2006 07:00
ok thnx

Mazza banana
17
Years of Service
User Offline
Joined: 27th Jun 2006
Location:
Posted: 27th Jun 2006 18:57
Hello. This is my very first script with FPS creator, so I'm still learning!!

Here is what I have:

-------------------
;Header

desc = game conversation show one screen once only no sound

;Triggers

:state=0:hudreset,hudx=50,hudy=50,hudimagefine=custom scripts/zone 1/test.png,hudname=img1,hudhide=1,h

udmake=display,state=10
:state=10,plrdistwithin=160:rotatetoplr
:state=10,plrdistwithin=60:rotatetoplr,state=20
:state=20,plrdistwithin=60:rotatetoplr,hudshow=img1,hudfadeout=img1
:state=20,plrdistwithin=60,plrusingaction=1:state=40
:state=20,plrdistfurther=60:state=40

;End of Script



-------------
It does not seem to do anything. Thanks for any help!

Newbie to FPS Creator
morphosis comics
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location:
Posted: 20th Jul 2006 22:14
Will this work?
After 3rd message, press enter and you'll quit the game.

Mr noob
17
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 8th Aug 2006 17:56
i was wondering how you make it that after the talk, they walk;

i am new to scripting so i have this any ideas

;Created by Benjamin Aeilkema

;Header

desc = game conversation

;walk up to an character and he will display a messages. when the user presses enter the next message will be shown
;when the user presses enter once more, the last message will display.
;sounds come after pressing enter

;Triggers

:state=0:hudreset,hudx=50,hudy=80,hudimagefine=texturebank/user/1.png,hudname=talk1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=texturebank/user/2.png,hudname=talk2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=texturebank/user/3.png,hudname=talk3,hudhide=1,hudmake=display,state=10

:state=10,plrdistwithin=160:rotatetoplr
:state=10,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1
:state=10,plrusingaction=1:timerstart,state=15,sound=audiobank/items/pickupitem.wav
:state=15,timergreater=500:state=20

:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2
:state=20,plrusingaction=1:timerstart,state=25,sound=audiobank/items/pickupitem.wav
:state=25,timergreater=500:state=30

:state=30,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3
:state=30,plrusingaction=1:timerstart,state=35,sound=audiobank/items/pickupitem.wav
:state=35,timergreater=500:state=40

:waypointstate=40:animate=2,waypointstart
:waypointstate=41:animate=2,waypointnext
:waypointstate=42:animate=2,waypointrandom
:waypointstate=42:animate=2,waypointreverse

:End of Script

sorry if all my post annoyed anyone, didn't know i was a hassle
Programmer of Power
18
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 26th Aug 2006 07:47
Sorry to bring back this post. I've been attempting to these scipts but it's only half worked.

My characters all say the same thing even though the scripts are different.

For example.



Says the same thing as


Any help would be appreciated.

"I will work harder... if you ask me enough times... or give me enough coffee"
Benjamin A
18
Years of Service
User Offline
Joined: 31st Oct 2005
Location: The Netherlands
Posted: 26th Aug 2006 09:35
You need to change the hudname=talk1 and so on in each script you use. Each hudname= needs to have it's own unique name.

Make sure you also change the hudshow=talk1 to the correct name also.

http://www.gamefun4u.nl/index.html
GameFun4U, the ultimate funtainment. Cool Games and Resources for your own games.
Namnung
17
Years of Service
User Offline
Joined: 27th Aug 2006
Location: in my secret volcano lair! Mwah ha ha!
Posted: 3rd Sep 2006 18:35
How long can you make your text in the subtitles be? I want to try and make files and documents almost like in the Resident evil games but i dont know what the max amount of words are.
If someone knows how many words you could have i would really appreciate it!

Thanks, Namnung

"In ancient times, cats were worshiped as gods. They have not forgotten this"
Ludford
17
Years of Service
User Offline
Joined: 15th Dec 2006
Location:
Posted: 20th Dec 2006 13:16
is there away to use this to produce sound and text on the HUD when a certain criteria is met,

example: health=10 "death immenent administering adrenaline" (think HL2)
FPS Kid
17
Years of Service
User Offline
Joined: 8th Dec 2006
Location: In your closet
Posted: 10th Jan 2007 22:44
Do you record your voice and put it on or is there a package?
RedneckRambo
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Worst state in USA... California
Posted: 10th Jan 2007 23:07
Fps Kid- This is a great thread but it was dead long ago. There is no package, it just plays a sound, doesn't matter what sound, but it plays a sound. You can record a voice.

Tiggle Bitties

BaseM
17
Years of Service
User Offline
Joined: 9th Dec 2006
Location:
Posted: 11th Jan 2007 00:00
Hi,
where do you insert the script?? Sorry for this crazy question but I am new...

Thanks
Phlum
17
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 19th Jan 2007 22:58
All those who don't have the foggiest on where to put the script:
AIMain. Check screenie if you're a dunce or you don't know.

[center]

Attachments

Login to view attachments
RedneckRambo
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Worst state in USA... California
Posted: 20th Jan 2007 01:15 Edited at: 20th Jan 2007 01:18
Quote: "but I am new..."


Quote: "Joined: Sat Dec 9th 2006"


Still been here long enough to no where to put a script.

But because your name is BaseM which means absolutely nothing to me, I will help you. First copy the script (you BETTER know how to do that) then paste it into NOTEPAD. Click FILE<SAVE AS< name it whatever you want but don't save yet. Click on the little arrow thing next to the words .txt and click ALL FILES. Then save as a .fpi. which means it will look like this "namehere.fpi"

Tiggle Bitties

deanlaing
17
Years of Service
User Offline
Joined: 20th Jan 2007
Location:
Posted: 21st Jan 2007 14:56
ok can i have some help pleese i don't understand were you put the scripts do you use scar or sumthin??

dean.l
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 21st Jan 2007 17:32
Read the sticky "Everything you always wanted to know about scripting".
If you can't figure it out after that then feel free to post back here asking questions.

sgrunt
17
Years of Service
User Offline
Joined: 13th Feb 2007
Location:
Posted: 12th Mar 2007 13:24
i've modified the code:
now you go close the entity and he will give you an alert:
example: "welcome stranger, we don't want problems here".

you go close again and he will give you another alert:

example: "are you stupid? Don't come back or i'll shoot you!"

you go close again and he will start shooting!

i've to clean the code to make it less redundant, but it fully works:

heller kyle
17
Years of Service
User Offline
Joined: 8th Apr 2007
Location:
Posted: 9th Apr 2007 02:18
HEY, does anyone have a online download of the manual, or does anyone know where to download it!!!
PLease help me!!!!!!!!!
I need the manual!!!!!!
wowblobby
17
Years of Service
User Offline
Joined: 11th Apr 2007
Location:
Posted: 22nd Apr 2007 19:12
mister binj (is it ok if i call you that?)im not to smart and have never done coading b4 but i wanted to make it to were my people talk and i had seen your board and wonderd how to put the text or what the people say in the fpsc people and where i put the words i want them to say at in the script for a really good game im making and how to make songs play in the game as i play it and how to make people nice and follow you and shoot other people now that is all said if i said something you dont want to answer thats fine
because once again im not smart and would like to know how to do the things above and in the creadits of my game you shall be mentioned or however you spell it or if you dont want to thats fine to and oh ya how do i make an end of a game with creadits lol
and if you have any scrips the have a main menue with bloddy words orif you can make one may i plz have it



thank you for taking the time to read this and thank you if you help me thats all



ps. i want people to test my game so i let you try it

touch the cat fell my bat
Troy Chambers
16
Years of Service
User Offline
Joined: 6th Aug 2007
Location: the PHOENIX space station
Posted: 10th Aug 2007 04:32 Edited at: 11th Aug 2007 05:22
Can I make it so the npc talking script #1 shows more than three messages.
If so, can someboy please tell me how.

Troy Chambers

Login to post a reply

Server time is: 2024-05-03 23:37:32
Your offset time is: 2024-05-03 23:37:32