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 / Select you'r favorite answer {script}

Author
Message
3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 13th Jan 2008 10:00 Edited at: 13th Jan 2008 10:02
Hi to all.
I wrote this script and i don't know that is this script wrotten by some body already ?
So i want to explain about this interesting script.
Note : This is my first script project So i think that its very well for first time.

Explain about this script :

The character will come to player side and say : " Who are you ? ".Then open a hud for you and write different answer for this question.You can select you'r favorite answer for this question and will see the return behavior of character.
You must select you'r answer by numpad keys.In this script you can select one of this answers :

numpad key 1 : I'm a killer.
numpad key 2 : I'm you'r friend.

So you can to select one of this answers for question.If you select the "I'm a killer" , character say "So i must kill you" and reload his weapon then shoot to player.
But if you select the "I'm you'r friend" asnwer , character will say "So welcome to this zone" and won't perform any disagree behavior to player and continue self work.

You can see the image of test this script ...
But my script has some bug ( hud won't hide after answer ) So i want to repair this bug and then will put here.
If you have any idea for make this script please say me ... I will make it into my script.



Its my ready script but again say that "Have some bug" .
Note : I put this beta script in order that don't close this tapic.



The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 13th Jan 2008 10:40
Try this:




That should hide the HUD as soon as the player gives an answer.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 13th Jan 2008 13:01
Nice script by the way, 3DMajid........


Thanks to Plystire for getting the HUD to go away....

3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 13th Jan 2008 16:08
Plystire
Very thanks in order to you remembered me "hudfadeout" code.
I'm trying to make it better and smart.

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 13th Jan 2008 19:31
...nice looking script.


Widow 13 - Coming Spring 2008
Peter gee
16
Years of Service
User Offline
Joined: 11th Jan 2008
Location: behind you!!!!
Posted: 13th Jan 2008 19:45
ye i'm a bit of a noob! how do u change it to say what u want for it to say and keep the conversation going for a while?

noob and proud
the 12 year old game creator
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Jan 2008 08:17
@Peter gee:

You would need to make HUDs containing all the text you want displayed. Altering between HUDs to give the illusion of a conversation is covered in the Hints & Tips guide compiled by Nickydude.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
3Dmajid
16
Years of Service
User Offline
Joined: 16th Dec 2007
Location: IRAN / TEHRAN
Posted: 15th Jan 2008 08:53
I have added this action in my script :

- When character shoot you , you can to shoot him too But when character say "Welcome" to you ... you shouldn't shoot him otherwise you will be mission failed.

The life is standby ... So decide for you'r target and then you'll see that you are arrived and get it.
Fuzz
18
Years of Service
User Offline
Joined: 14th Nov 2006
Location: Tasmania, Australia
Posted: 15th Jan 2008 14:54
nice script 3Dmajid

(\__/)
(O.o )
(> < )Please join groves inc.....World domination
Peter gee
16
Years of Service
User Offline
Joined: 11th Jan 2008
Location: behind you!!!!
Posted: 15th Jan 2008 18:03
thanks plystire

noob and proud
the 12 year old game creator
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Jan 2008 00:05
No problem, Peter.

And 3Dmajid, that's starting to sound like a very nice script! Keep at it, I'm sure if you released it on the forums, many people would be greatful for your efforts.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
Trust
16
Years of Service
User Offline
Joined: 28th Jan 2008
Location: Milano
Posted: 28th Jan 2008 16:58
it is possible to create a small dialogue? how?

3Dmajid compliments you make the interesting scripts!

The Game Jurnalist

Login to post a reply

Server time is: 2024-11-27 21:30:25
Your offset time is: 2024-11-27 21:30:25