Affinity

Byngoo

Warper
Member
Joined
Mar 15, 2015
Messages
4
Reaction score
0
Primarily Uses
Hi, I want to know how I add affinity with characters in RPG maker vx ace. Someone can help me?
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
Use variables.
 

Kvich

Veteran
Veteran
Joined
Oct 6, 2014
Messages
89
Reaction score
19
First Language
Danish
Primarily Uses
What I insert?
Depends a lot on exactly how you want to do it, but a simple way is through event options.

Design a few variables as the "affinity counter"

Whenever the main character interact and does something for the other character that (s)he likes or dislike, call a control variable and add or subtract a value that you deem the action is worth, to the variable you designated for that characters "affinity counter"

Example:

Michelle ask Pete if he likes roses, as she adores them, Pete says no, and Michelle loose 1 affinity to Pete

Affinity.png
 

Byngoo

Warper
Member
Joined
Mar 15, 2015
Messages
4
Reaction score
0
Primarily Uses
Depends a lot on exactly how you want to do it, but a simple way is through event options.

Design a few variables as the "affinity counter"

Whenever the main character interact and does something for the other character that (s)he likes or dislike, call a control variable and add or subtract a value that you deem the action is worth, to the variable you designated for that characters "affinity counter"

Example:

Michelle ask Pete if he likes roses, as she adores them, Pete says no, and Michelle loose 1 affinity to Pete

Affinity.png
Thanks, and If I wanted to do learn skills though the affinity?
 
Last edited by a moderator:

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
That is going to require a script. I remember seeing one at one time for this, afraid I don't remember where. Maybe someone else will recall where that was?
 

Kvich

Veteran
Veteran
Joined
Oct 6, 2014
Messages
89
Reaction score
19
First Language
Danish
Primarily Uses
There's several ways to do it, most likely a script for it as well.

One way to do it is setting up a common event that will check if the affinity counter is at or above a certain number, then the character will learn the skill.

Affinity Skill.png
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
There's several ways to do it, most likely a script for it as well.

One way to do it is setting up a common event that will check if the affinity counter is at or above a certain number, then the character will learn the skill.

Affinity Skill.png
I'd recommend the script, that common event is going to lag the game like no other if you are not careful. However, if you remove the parallel process step, and call it after every affinity changing event, it could work.
 

Kvich

Veteran
Veteran
Joined
Oct 6, 2014
Messages
89
Reaction score
19
First Language
Danish
Primarily Uses
I'd recommend the script, that common event is going to lag the game like no other if you are not careful. However, if you remove the parallel process step, and call it after every affinity changing event, it could work.
Yeah personally I would properly call it at certain times, like at every affinity change as you mention, rather than parallel process, my bad.
 

Byngoo

Warper
Member
Joined
Mar 15, 2015
Messages
4
Reaction score
0
Primarily Uses
So no one remeber the script?

Anyway thanks for your replies
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top