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 Product Chat / Question and Answer Objectives?

Author
Message
EyEpatch Games
15
Years of Service
User Offline
Joined: 24th Jun 2011
Location: Australia
Posted: 20th Jul 2011 04:02
So I been working on a game, where I want to able to use questions and answers as objectives, where if you ask a certain question and get a certain answer objective complete, but if you ask the wrong question you get the wrong answer then you cannot move forward I been mucking around with texts and AI scripts to make the texts interactive, so far with no luck, if anybody has any ideas can you please share them would be greatly appreciated!

Thank you!!
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Jul 2011 04:34
I've seen where the player is presented with a (HUD) list of questions. He then presses the key that is associated with that question (for example... A, B, or C) to ask it. Is that what you mean?

BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Jul 2011 04:46
Example:

You said you had to send an e-mail to someone when suddenly you see something shiny on the ground. Do you:

A) Send your e-mail
B) Pick up the shiny object and realize it's a quarter
C) Go for coffee
D) Forget what you were doing in the first place

Press A --> this happens
Press B --> this happens
Press C --> this happens
Press D --> this happens

Like that?

- BlackFox
BlueFox
16
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 20th Jul 2011 04:52
Oh...I know the answer to that one If it were xplosys answering the question....easy...."D" forget what you were doing cause you saw something shiny....ewwww ahhhhh, preeettttyyyy : )

- BlueFox
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Jul 2011 05:12
This is getting out of hand.

EyEpatch Games
15
Years of Service
User Offline
Joined: 24th Jun 2011
Location: Australia
Posted: 20th Jul 2011 05:45
Quote: "I've seen where the player is presented with a (HUD) list of questions. He then presses the key that is associated with that question (for example... A, B, or C) to ask it. Is that what you mean?"


This is what I mean, and from there an appropriate answer to the question asked is displayed, and then if its the wrong question answer combo you don't go any further with that NPC for that point in time
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Jul 2011 06:03
Then you have the concept. Where do you need help?

EyEpatch Games
15
Years of Service
User Offline
Joined: 24th Jun 2011
Location: Australia
Posted: 20th Jul 2011 06:30 Edited at: 20th Jul 2011 06:49
I am not sure how to make the questions interactive, (sorry if this is a really noob question) but I just cant get it to work

[EDIT]

I am not looking for an exact answer, just some ideas that might be able to get my head around this please
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Jul 2011 06:51 Edited at: 20th Jul 2011 06:58
Quote: "This is getting out of hand."


Problem solved...


Quote: "I am not sure how to make the questions interactive, (sorry if this is a really noob question) but I just cant get it to work"


It is all done in the scripting, and the script is assigned to the entity or object where the "interaction" takes place.

For example, we've created RPG-style games. If the player has some choices to make, they may come from an AI character, or a computer terminal. If it is a character, I make and assign the script to that character and create the huds for that script. If I want the "interaction" to come from a computer terminal entity, I make the script and huds and assign that script to the computer terminal monitor.

May I suggest a couple of things. One, take a look at some of the scripting that you can find in the Official Community Guide. Not part two- start with part one (download here). Second, on my post is a download button. Download and look at these two scripting guides in the archive that will show you scripting and how it works. I have a feeling that some things may become clear as you take a look at these and some questions will be answered.

- BlackFox
EyEpatch Games
15
Years of Service
User Offline
Joined: 24th Jun 2011
Location: Australia
Posted: 20th Jul 2011 06:58
Thank you blackfox, much appreciated, I already have to guide, but only browsed through and the syntax command list, thank you for the download
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Jul 2011 07:00
No problem. There was a section in the guide on a conversation script. That was the first one I looked at that got me into thinking how to lay out my "interactive" scripts. Of course, scripting comes with time, trial, frustration, error, and persistence. It won't happen in an hour, but you'll get the hang of it. Remember if you are having issues, post your issue in the script section (if it is script related) and we can help you out.

- BlackFox

Login to post a reply

Server time is: 2026-07-01 08:17:08
Your offset time is: 2026-07-01 08:17:08