Sorry for this VERY LATE replies guys. And thank you for the suggestions and support for this. I hope, it's still be useful as it is. As for compatibility issues especially Yanfly Engine scripts, I'll try look for it since I haven't tried that myself.
I had two ideas could it be possible to have an actual relationship status depending on the level like friend , relationship,engaged or married.
the second idea if it would be possible for its distinguished between family members one of the characters in my game has a daughter
so what makes sense that he couldn't marry or be in a relationship his own daughter.
However it does make sense that he could get gets stat and bonus skills for be in the same party together from their relationship as child and parent.
You can limit the relationship level via script calls in events.
if read_partner_level(1, 2) < 5 # <= the highest limit that can only be achieved. gain_partner_level(1, 2)endAnd to start the relationship level higher than level 1, just call the 'gain_partner_level' for (desired level - 1) times using script calls during the beginning cut scene or using autorun event once during the starting of the game.
for i in 1..n gain_partner_level(1, 2) # <= You can change the IDs depending on the partners.end# where n = the level you want to the two actors to start off with - 1
Umm... this is an amazing concept... but I couldn't help but notice... I can't find WHERE to add the partners... is there a tag somewhere in your script I just keep overlooking? thanks
# To add parameter bonus in notetags:# * Place this notetag to increase the parameter of the partner of the # one who has the notetag per relationship level.# <partner_param: param_id, param_bonus[%]># param_id: The ID of the parameter to be added.# 0 = MHP; 1 = MMP;# 2 = ATK; 3 = DEF;# 4 = MAG; 5 = MDF;# 6 = AGI; 7 = LUK;# param_bonus: The amount of bonus to be added# %: Place a percent sign if the bonus will be by percentage. # Remove the percent sign if using a fixed amount.# Notetag examples: # <partner_param: 0, 5%> => Adds 5% of MaxHP of partner.# <partner_param: 1, 10> => Adds exactly 10 of MaxMP of partner.
If I may suggest an alternate version of this script?
Let the partners be established by script calls... so, for example, if in the narrative the protagonist is nice to Actor 3, you can have a script call that increases their closeness by 1, for example. And this is where it would be different from what you've established: Let the "partner" of an actor be defined solely by who has the highest closeness to them.
So, for example, Alex is partnered to Bjorn because their closeness is 5 and that's the highest closeness they have with anyone else.
Sylvia and Karl are partnered, because their closeness is 7 (pre-determined by a script call at the beginning of the game, because Alex is the protagonist and the only one who can romance people... all of the other relationships are defined by story choices ).
Have it so that the characters do not need to be next to each other to receive benefits, but merely have them be in the same combat party. Don't define partners by formation, but solely by their closeness value.
Do you think these changes could be doable?
The closeness level is actually doable via script calls in the events using 'gain_partner_level'. For example:
if read_partner_level(1, 2) < 5 gain_partner_level(1, 2)endAnd also about the predetermined levels, just call the 'gain_partner_level' for 6 times during the beginning cut scene if you plan on making the closeness start at level 7. About the partners based on level, I'll try to look for it if it is doable or not.
I was wondering if there's the possibility to make more than just a pair of partners (Maybe it is and I'm missing it, just tell me if that's the thing and I'll keep looking deeper into the script to check why I'm missing it, sorry if it is and I'm noob enough to not find it), because I want to make a partner benefit with the mumber 3 and 4 of my team aswell. I mean, the third and fourth charas are connected too, I was hoping to find If they can get related also.
Just change the "PAIR_NUMBERS" variable. Making the value to "2" will have the 3rd and 4th member be partners. Just find this part and edit.
Code:
#-------------------------------------------------------------------------- # * PAIR_NUMBERS # Number of pairs to have the bonus, if twice of this is bigger than # the number of battle members, the latter will be used. #-------------------------------------------------------------------------- PAIR_NUMBERS = 2