I was wondering if there was a topic/keyword dialogue system similar to that of Final Fantasy 2 or Elder Scrolls III - Morowind? If you don't know what that is...
Something where if an NPC were to mention a keyword at ANY point in dialogue, it would be highlighted to gain the attention of the player. The player could then use a learn command to learn that keyword or just learn it from seeing it then bring up these keywords to other NPCs to see what they have to say about it.
That alone would be good enough, but I would especially like it if it had the feature to only be able to choose keywords for certain NPCs. Say if an NPC had nothing to say about the keyword [Wild Rose] it wouldn't show up in the keyword list for them.
Thanks in advanced!
Well, you can probably do it via variables and labels using just events, though it will be quite troublesome I think...
Since an NPC isn't an actual object, I don't like your chances of being able to choose certain keywords only for certain NPCs. Even if you think of an NPC as an event (which it isn't, but that's a whole other story), you couldn't set something at the beginning of the event to say "only use these keywords", because in a single event you could have 50 different people speaking, and NONE of them may be the NPC/event you're interacting with.
It's also not clear how the "learn" command would work to learn a keyword. Where IS the "learn" command? How does it decide what keywords are available?
It would be quite simple to write a script that says "everywhere this word occurs in dialogue, change it to this colour". Everything else you're requesting would be quite difficult.
What is the point of learning a word? What does it give you or allow you to do? (I'm seriously asking this, as I haven't played those games, so I don't understand its purpose or benefit). Is it some kind of password thing or something?
If you learn a word does it remove it from the list that's to be coloured differently from then on?
What if there are several coloured words in a single dialogue?
What if there's already a Show Choices after a dialogue?
Where is the option to "say" a word?
Sorry to throw so many questions back at you, but all these things have to be determined before anything can be written. Maybe others have played the game and understand perfectly what you wish to do with it 🙂
I think your best bet would be to event this. One feature that, while not meant for this per-say by default, would work very well to do this is the "select key item" event command (assuming you aren't always relying on it to influence events, that and text based would be overkill I think). All you would have to do is create key items with the word you want to remember but without a graphic or any other properties, then whenever the player 'learns' a new word you just give him/her said key item.
So all you'd have to do is whenever you want to call the screen where the player grills an npc call that event command and have conditionals to cover all of the words that that npc is knowledgible in. By default anything that doesn't have a variable reaction will just result in nothing happening, like you said something that didn't make sense and thus were ignored. Or if you'd rather just nest all of the conditionals and at the last else branch give dialogue where they tell you they don't have time or they have no clue what you are talking about or something.
As for the 'learning' thing I would recommend not doing it at all. I loved the inquiry system in final fantasy 2 but nothing is more annoying than realizing that you forgot to 'learn' the term "wildrose" and having to treck back to the beginning of the game to 'learn' it even though you read the dialogue involving it and already know what it means. Once you've heard a term I think you should just already have that term to inquire with others.
@Shaz: Basically it's like asking people about particular topics. The first example, 'wildrose' in final fantasy 2 is a password that verifies that you are a friend to a certain group of people, basically. But in that game those words meant so much more, they were usually words based around events in that game and allowed you to kind of have a more active role in inquiring with npcs, as a lot of the words were topics that many people in the game had something to say about.
It works like this (from Morrowind)
When you talk to an NPC, there is a window that shows different keywords, which if you click on it, the NPC tells you about it...
Now, normally, more keywords can be unlocked when you talk and talk to the NPC...
Isn't that just like a Show Choices that says this:
Ask about A
Ask about B
Ask about C
kind of, which was why I told him to use events + vairables and labels (for when the keywords get too many)