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 / tex/message problems

Author
Message
Sniper fire
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 21st Sep 2006 03:30
hey guys. everytime i do the text pop up thing it just shows a bullet object the entire time. i can't even get it to pop up when i step in the trigger zone it's just up the whole time. i'm using this script

[;Created by Benjamin Aeilkema

;Header

desc = game conversation

;walk up to an character and he will display a message. Walk away and the message will dissappear.
;walk up to the character again and a different message will appear. Walk away and the message will dissappear.
;walk up to the character once more and a different message will appear. Walk away and the message will dissappear.

;Triggers

:state=0:hudreset,hudx=50,hudy=50,hudimagefine=[path to your image with text1],hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=[path to your image with text2],hudname=talk2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=[path to your image with text3],hudname=talk3,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=160:rotatetoplr
:state=10,plrdistwithin=60:rotatetoplr,sound=[path to a sound],state=20
:state=20,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1,timerstart
:state=20,timergreater=100:state=30
:state=30,plrdistwithin=160:rotatetoplr
:state=30,plrdistwithin=60:rotatetoplr,sound=[path to a sound],state=40
:state=40,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2,timerstart
:state=40,timergreater=100:state=50
:state=50,plrdistwithin=160:rotatetoplr
:state=50,plrdistwithin=60:rotatetoplr,sound=[path to a sound],state=60
:state=60,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3,timerstart
:state=60,timergreater=100:state=2

:state=2,plrdistfurther=60:state=10

;End of Script]

as you can see it was made by Benjamin A.
someone help. preferably Benjamin A given that he made the script

Fer Shizzle
DJ Professor K
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location: Somwhr in front of a brokn kyboard.....
Posted: 21st Sep 2006 11:18
the path to the image is rong, most probably, jsut check it again

My love is seperated in 2 parts, 1 of them is 3ds Max 7, the other; FPSC.
Crazy
18
Years of Service
User Offline
Joined: 21st Sep 2006
Location:
Posted: 22nd Sep 2006 01:35
Well i figured so... but it couldn't have been because i did right click and properties and that gives you that path, doesn't it? Also i used paint, i don't know if that means anything
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 27th Sep 2006 05:37 Edited at: 27th Sep 2006 05:46
The problem with this script is in state=20 and state=40...

In both state=20 and state=40 you are forgetting to reset your huds as in state=0

Also you shouldn't rely to heavily on the scripts of others *except me* Some use script writing programs which are very limited in my person opinion. I always make my own script from fresh Ideas. I make at least five new scripts for every game I make. Every detail matters in a good game.
I've made door scripts that fix the *requires key to open* problem.
I've made keypad scripts (using the empty's MOD)
you should always do it yourself.

You should use:
Plrdistfurther=60:rotatetoplr if you want the character to watch the plr move about.

Nue B. or not Nue B. That is the question.

Login to post a reply

Server time is: 2024-11-23 01:10:08
Your offset time is: 2024-11-23 01:10:08