redmedved2

Veteran
Veteran
Joined
Nov 2, 2020
Messages
90
Reaction score
37
First Language
Belarusian
Primarily Uses
RMMV
In my dialogue system, there are many character events and for each one there is a variable that defines its dialogue. By default, the characters have dialogue variables equal to zero. But as you progress through the story, different variable values can be assigned to characters in quest events. And so, if the character's dialogue variable is 1, then dialogue 1 will happen when you interact, and then the variable will become zero again.

Example: So you can go through the quest, in it, you were told to talk to Karl, Karl's dialogue is now 1, you interact with him, he asks you to talk to Mike, which means that the dialogue variable for Mike becomes for example 5, and the Karl variable returns to zero. And so on.

Once upon a time I created this system and thought it was cool and working, but now I realize that it only works for a linear story. So I would like to ask you how you can organize a dialogue system with characters in the open world, where for each individual quest the character can give you a separate line and advance the quest. When each quest follows the previous one.

But if you do 2 quests at the same time, in both of which you need to talk to a character, the system will break. If the first quest gave the variable a value of 4, and the second quest gave it a value of 6, then when you interact with the character, dialogue 6 will be played, and then the value will be 0 again. You will never see dialogue 4.

I would like to know how you can make a working dialogue for a game with a nonlinear quests system in which the characters can play several lines from different quests.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
34,305
Reaction score
8,750
First Language
German
Primarily Uses
RMMV
you would have to use quest-specific variables instead of actor-specific.
this will use a lot more variables and make the dialoge events more complex, but you can't have everything without a price.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,685
Reaction score
1,799
First Language
Dutch
Primarily Uses
RMMV
each NPC require it own variable, and using variables, it can be a pain,
I have ULS system that it can use it own variable but also NO variable
and based on it's level which you can set to interact for different dialogues,
this is NON-Actor database structure but through JSON for more control.

this way, it's easier to setup dialogues if you prefer, but there are other
methodes as well, I think everyone use their own way.
 

Latest Threads

Latest Posts

Latest Profile Posts

"Yeah. It's been a rough road lately. But that's the thing about the Rangers. It doesn't matter how hard it gets, or how many of them fall. They never stop fighting. The Rangers NEVER stop fighting".

Angela Deth, you are a hero of mine. Sorry for my first run of Wasteland 3.
We must press on. For all those we couldn't save. For all those we might yet save.
FirestormNeos wrote on DarkPlasmaBall's profile.
asking this here instead of the thread in question to avoid derailing it, but I'm curious; is there a particular reason you'd include a "Terms of Use" for an RPG Maker game? Like, are there multiplayer features for the game you're working on?
The holidays are upon us! Everyone search for safety from the grocery store music!
I don't understand people sometime. Walking to work today came across someone walking the opposite way in a nice suit, I politely move to the side into the shrubbery so he doesn't have to get his suit dirty and say "good morning" as he passes me, he turns around glaring daggers and asks "why are you talking to me?" like he's bloody offended by me wishing him a good morning or something. Just, why?

Forum statistics

Threads
117,138
Messages
1,104,892
Members
153,202
Latest member
EnderMon
Top