I have an ambitious dialogue system I'm envisioning and I understand the randomized dialogue with variables and such.
What I want it to do is when you talk to a person it will pull up a random greeting like "Hey!" or "Whats up!" and then proceeds to let you respond leading to another randomized response like "Hey have you seen (Show Topic)" or "I tried some (Meal Topic) it was so tasty.". Obviously this could be made to be very extensive, but the two main things I need help with is Firstly.
I want to know how to limit the randomized greetings with the event. To better explain it for an example there will be normal people that will draw from a general greetings pool, but some people might be rude so they will draw from a rude greeting pool like saying "Whats your problem?", and still others might have special greetings like Familial ones such as "Hey Sis!". Where I am needing guidance is some events might be able to have several options for which greeting pools they can draw from and based on your relationship with the event it might add in friendly or rude greetings. So could I exclude options from an array or is there a better method for what I want.
The next aspect is the (Topics).
What I envision is each character event will have certain likes and dislike a feature in a lot of games with relationship values. I want to be able to declare how these characters feel about things even adding some if your character triggers an event with them like "Watching a show together event" or "Offering them a meal event" It would be based off of outside values like tastes and stuff and the result could be it adds a like, a dislike, or experienced. This adds the thing into a list of that event's (Topics).
Now when you chat with the character event it will choose a random (Topic) from their list and based off of the topic and how they feel about it I want it to generate randomized chatter like "Man! have you seen that show (Show Topic) it is too dumb for me." or "I never miss an episode of (Show Topic) I love it." I guess this would need to be a global array or something.
I want to make a script or something so I can just call the script and give it parameters like this character (Greets Normally, or Greets Friendly, and Likes This, This, and Dislikes This, and Its Topics are These). With Yanfly's scripts I hope to have it so the events can converse with themselves showing dialogue over two events if they get close enough.
Imagine 50+ ways to say Hi, 100+ ways to say I like something, different randomized responses based off of how you reply affecting your relationship with the character. It would feel like actual small talk.
It is frustrating because I know what I want just not HOW to do it.
What I want it to do is when you talk to a person it will pull up a random greeting like "Hey!" or "Whats up!" and then proceeds to let you respond leading to another randomized response like "Hey have you seen (Show Topic)" or "I tried some (Meal Topic) it was so tasty.". Obviously this could be made to be very extensive, but the two main things I need help with is Firstly.
I want to know how to limit the randomized greetings with the event. To better explain it for an example there will be normal people that will draw from a general greetings pool, but some people might be rude so they will draw from a rude greeting pool like saying "Whats your problem?", and still others might have special greetings like Familial ones such as "Hey Sis!". Where I am needing guidance is some events might be able to have several options for which greeting pools they can draw from and based on your relationship with the event it might add in friendly or rude greetings. So could I exclude options from an array or is there a better method for what I want.
The next aspect is the (Topics).
What I envision is each character event will have certain likes and dislike a feature in a lot of games with relationship values. I want to be able to declare how these characters feel about things even adding some if your character triggers an event with them like "Watching a show together event" or "Offering them a meal event" It would be based off of outside values like tastes and stuff and the result could be it adds a like, a dislike, or experienced. This adds the thing into a list of that event's (Topics).
Now when you chat with the character event it will choose a random (Topic) from their list and based off of the topic and how they feel about it I want it to generate randomized chatter like "Man! have you seen that show (Show Topic) it is too dumb for me." or "I never miss an episode of (Show Topic) I love it." I guess this would need to be a global array or something.
I want to make a script or something so I can just call the script and give it parameters like this character (Greets Normally, or Greets Friendly, and Likes This, This, and Dislikes This, and Its Topics are These). With Yanfly's scripts I hope to have it so the events can converse with themselves showing dialogue over two events if they get close enough.
Imagine 50+ ways to say Hi, 100+ ways to say I like something, different randomized responses based off of how you reply affecting your relationship with the character. It would feel like actual small talk.
It is frustrating because I know what I want just not HOW to do it.