ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Conversation: how to create a non existing topic response

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Conversation: how to create a non existing topic response

Postby enerdoe » Wed Aug 16, 2017 10:09 am

Here is what I try to archive:

A generic response like "I don't know anything about that!" or "Stop asking me stupid questions!" when the player asks about a topic that is not covered in the conversation.
The main concept of my adventure is, that NPC's can give commands/orders to the player and are supposed to execute punishment if the player speaks out of line (like asking to many stupid questions).
I also would need a way to add actions to the response, to execute the consequences for the players annoyance towards the NPC's (like having the player arrested).

So far I don't have found any way to archive that and I would appreciate the help.
enerdoe
 
Posts: 4
Joined: Fri Feb 24, 2017 6:48 pm

Re: Conversation: how to create a non existing topic respon

Postby Denk » Wed Aug 16, 2017 1:57 pm

What you are trying to can certainly be achieved. But how to do it depends slightly on whether you are using the built in conversation system or using tasks. I feel more in control using tasks but it is a matter of taste.

First thing is to create a specific task: Override "ask character about subject". Choose a character but leave the field "text" undefined. Thus, at the moment, this task will override no matter what topic you ask about. Now you can add your message "I don't know anything about that!" etc and actions as you like.

Now, if you are using tasks for conversation, all you have to do is to give this task a low priority (i.e. a high task priority number). Then the tasks with defined topics will run instead, whenever you ask about a defined topic.

If you instead are using the built-in conversation system, you will need to add restrictions, otherwise this new task will override no matter what you ask about.
If for instance an accepted topic is "bike", you need to add the variable restriction:
[referenced text][must not][be equal to]["bike"]
You need to add a restriction for each accepted topic.

Hope this helps. :)
-----------------------------------------------------------------------------------------
Out now: The Royal Puzzle, The Way Home & The Dragon Diamond
-----------------------------------------------------------------------------------------
Denk
 
Posts: 60
Joined: Mon Feb 22, 2016 6:21 pm
Location: Hjørring, Denmark

Re: Conversation: how to create a non existing topic respon

Postby enerdoe » Wed Aug 16, 2017 5:15 pm

Mh, I will keep looking for an easier way, but right now, overriding "ask character about..." seems the most useful option. Also quite tedious since I want different responses per character, but it can be done with restrictions.

Thanks for the help.
enerdoe
 
Posts: 4
Joined: Fri Feb 24, 2017 6:48 pm


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 2 guests