Need help with npc relations system!

Hello everyone, I want to ask if there is any way or any plugin that can help create a sentiment system like this when I want to talk to NPCs. Oh and it also needs conditions to increase hearts.
1729434604981.png
Hi sweetie! 😍 It wud be pretty easily done wid variables and the "Show Picture" command! They're pretty basic, so I wud maybe recommend doin' some tutorials and messin' around in the engine?

Basically, you'd use a variable to track how fond your NPC is of Harold, and then use "Show Picture" to put hearts on the screen accordingly! 😍
as told above this is usually done with events, not with plugins.

there are some plugins, but they are usually only used for cases where much more than a simple reputation system is wanted.

the differences are mainly in what you want the effect of the reputation to be, so for more detailed help you need to describe what exactly you want to do with said reputation.
as addon as the above.

if you have different reputation among NPC's, the event can be tedious too.
as most have a reputation window, and the npc's you met are there to see on the fly.
you can also put the hearts inside the name box (based on the variable number),
it draws that many hearts.

as it also depending how your mechanic works to give you the best solution.
knowing the engine and commands available is a nice way to play around with.
Yanflys self switch and self variables could help with this. That way you can use 1 variables for all relation statuses, instead of giving each status their own variable.

Note that this variables would be bound to an event. If you have 1 characters on multiple events, you need to sync their vars.

Other than the syncing, self switch and vars by yanfly is by far the easiest way to go.

Plugin name: yep_selfSwVar
Hi sweetie! 😍 It wud be pretty easily done wid variables and the "Show Picture" command! They're pretty basic, so I wud maybe recommend doin' some tutorials and messin' around in the engine?

Basically, you'd use a variable to track how fond your NPC is of Harold, and then use "Show Picture" to put hearts on the screen accordingly! 😍
Hello, thank you for your help. I don't know much about code, so I can't relate to how it works. But based on what you said, it will make me less confused.

as told above this is usually done with events, not with plugins.

there are some plugins, but they are usually only used for cases where much more than a simple reputation system is wanted.

the differences are mainly in what you want the effect of the reputation to be, so for more detailed help you need to describe what exactly you want to do with said reputation.
Yeah, I just want the basic relationship system to be: talk, complete quests => increase favorability => accumulate enough hearts to unlock events

Yanflys self switch and self variables could help with this. That way you can use 1 variables for all relation statuses, instead of giving each status their own variable.

Not that this variables would be bound to an event. If you have 1 characters on multiple pages, you need to sync their vars.

That than the syncing, self switch and vars by yanfly is by far the easiest way to go.

Plugin name: yep_selfSwVar
thanks i will try it
if you want a window and names added when found, you can take a look [here]
as it only uses a gauges but also reworking this plugin (not actor based) and
easy to check the reputation of the name.

if your want an actor based than MoogleX_ActorFriendshipSystem or the improved
version of the MoogleX_ActorFriendshipSystem can work too.

if its only a few, you can also use an ExtraStatusWindow which is also based on actor
I think or through Variables.

but that depends on how your entire system works for checking and giving out quests.
mine is on 1 way easy to check by level, but can fail if above a specific level.

so you need to make the checks correctly 🙂
thanks i will try it
Good... Its a miracle you were able to even read that with all the typos 😛
Good... Its a miracle you were able to even read that with all the typos 😛
I was going to ask if there’s an easier way to understand the method you provided. I’m not very good at English, so I couldn’t find a solution for my approach in Yanfly’s tutorial video. And yes, I’m having trouble creating an event and conditional branch for each character to display the affection hearts.

here is the method i tried.
1729525021202.png
1729525046737.png


if you want a window and names added when found, you can take a look [here]
as it only uses a gauges but also reworking this plugin (not actor based) and
easy to check the reputation of the name.

if your want an actor based than MoogleX_ActorFriendshipSystem or the improved
version of the MoogleX_ActorFriendshipSystem can work too.

if its only a few, you can also use an ExtraStatusWindow which is also based on actor
I think or through Variables.

but that depends on how your entire system works for checking and giving out quests.
mine is on 1 way easy to check by level, but can fail if above a specific level.

so you need to make the checks correctly 🙂
Thanks for the help, I will save it for later.
I was going to ask if there’s an easier way to understand the method you provided. I’m not very good at English, so I couldn’t find a solution for my approach in Yanfly’s tutorial video. And yes, I’m having trouble creating an event and conditional branch for each character to display the affection hearts.
Well, my suggestion was an addition to the earlier comments of others to use variables to create this.
I'm having trouble with: I create a Common Event to increase the number of Relationship Hearts when the conditions are met (Because if I need to create a Relationship Heart Event for each character, I don't know when it will be finished -_-).
I also create:
- Control Variables: Relationship Hearts
- Control Variables Name Event X.
The Control Variables Name Event X below is to prevent all other Characters that also use the Common Event from increasing at the same time, but it doesn't seem to work.
=> Is there any other way for me to use the Common Event: Relationship Hearts for all the Characters I want, but when one character increases Relationship Hearts, the other characters don't increase at the same time?
relation ships through events can be heart, especially if they are also on
different maps (different event ID's).

so you need to make a variable on 1 place, or use 1 variable and create an array.

so variable reputation = [["alice", 0],["mia", 0],["jenny", 0],["carol", 0]]

I made a plugin for the [event utility] to enroll this bit easy, so you can also use the
variable after the check if its equal or higher for a quest.

as this one works as a stand alone, it's also extremely easy to use.
you can also use the same heart image over and over with different ID,
so no reason to have heart_1, heart_2 etc 🙂

and use heart_fill to fill the heart other wise 🙂

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-npc-relations-system.172713/