Actors Friendship System

Anohe1

Veteran
Veteran
Joined
May 12, 2019
Messages
34
Reaction score
6
First Language
French
Primarily Uses
RMMV
Seems like a promising plugin a question

Can I set it up so that characters gain fp by wining battles together in combat?

Say you have 4 members in battle the ones that are in the battle each gain an fp with eachother

Looking for a way to use this system so characters can unlock unity skills with eachother after gaining so much fp from fighting with each other

Thanks for listening

Actually I am working on the same thing and I think I figured a way to do that but it is not sure yet
 

KorvasTerindar

Villager
Member
Joined
Feb 8, 2014
Messages
19
Reaction score
1
First Language
English
Primarily Uses
I dunno if this has been asked, but could this be used or modified for a romance system, similar to rune factory?
 

Anohe1

Veteran
Veteran
Joined
May 12, 2019
Messages
34
Reaction score
6
First Language
French
Primarily Uses
RMMV
Yes it is possible through common event
 

SarcasticSloth

Villager
Member
Joined
Jul 11, 2018
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
Please forgive me if this was already asked, I did not see it anywhere. I love this plugin and it works great as a 'Trust" system for my game. I'm wondering if it is possible to have the gauges change color depending on their value? For example, a low trust rating would show up as red, a medium rating would show up as yellow, and a high rating would show up as green. Is this possible? Or is there a way that i can change the script so that it does this? Thank you.
 

mythicowow

Warper
Member
Joined
Jul 8, 2019
Messages
3
Reaction score
3
First Language
english
Primarily Uses
RMMV
edit Nvm- figured it out, you can reskin the windows by just changing the system window.png since it uses that
thanks for the loverly plugin
 
Last edited:

oipou

Warper
Member
Joined
Feb 12, 2019
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMVXA
it says "cannot read property 'afsleader' of null help
 

Sloff1155

Villager
Member
Joined
May 29, 2016
Messages
8
Reaction score
6
First Language
English
Primarily Uses
Can we get a Tut Video on Youtube. I can't seem to make it work.
 
Joined
May 2, 2019
Messages
3
Reaction score
1
First Language
English
Primarily Uses
N/A
I need some help, I'm getting this error

Cannot read property 'afsShowFriendship' of null

What am I doing wrong? I used this plugin command AFS Show Friend 0010 Leader 0001
I set actor 1 as leader, I have single leader mode on
 

Allusion

♕ The Girl Who Lived (for chocolate) ♛
Veteran
Joined
Aug 21, 2013
Messages
166
Reaction score
163
First Language
English
Primarily Uses
Edit: Never mind, it does work if you use the rar download! I'd gotten the plugin from github, maybe that had something to do with it?


So I'm unsure if this plugin is still working, or if I'm just doing something wrong, but...it's really not operating the way it's intended to. The multi-leader version of the window won't even show the side bar with actor's faces, and no plugin command works to add anyone to the scene. This is on a brand new project, with everything but some Yanfly message plugins turned off.

If anyone can get this thing to work, could you please upload a demo of it? Just a bare-bones thing with the plugins installed and maybe 1 or 2 relations set up, so we can see how to do it? I tried contacting the coder, but I don't think he'll be coming back anytime soon, and this is such an amazing system. I'd hate to see it sit if it doesn't have to.
 
Last edited:

Synrec

Veteran
Veteran
Joined
Nov 6, 2019
Messages
110
Reaction score
52
First Language
English
Primarily Uses
RMMV
Script is incompatible with DreamX catch enemies script.

Error associated:
YEP_CoreEngine.js:1098
TypeError: Cannot read property '0' of undefined
at Game_Actor.learnAfsSkill (Moogle_X_ActorsFriendshipSystem.js:1155)
at Game_Actor.initAfsSkills (Moogle_X_ActorsFriendshipSystem.js:1150)
at Game_Actor.setup (Moogle_X_ActorsFriendshipSystem.js:1060)
at Game_Actor.setup (MPP_CharacterMake.js:1716)
at Game_Actor.initialize (rpg_objects.js:3408)
at new Game_Actor (rpg_objects.js:3393)
at Game_Actors.actor (rpg_objects.js:4587)
at rpg_objects.js:4796
at Array.map (<anonymous>)
at Game_Party.allMembers (rpg_objects.js:4795)


Issue occurs when I try to catch an enemy and it joins the team either mid battle or post battle.

Dream X script: https://forums.rpgmakerweb.com/index.php?threads/capture-enemies.57771/
 

kako05

Veteran
Veteran
Joined
Sep 11, 2017
Messages
168
Reaction score
19
First Language
Australian
Primarily Uses
RMMV
There's a bug not displaying portraits when you open the menu on the first time when you load a save-game.

P.S This plugin saves some kind of information into your save file increasing savefile size from 50KB to 300KB (I've added 2 characters, probably size is increased even more with additional actors) for example. Saving also takes 5x times longer.
 
Last edited:

Creathian

Warper
Member
Joined
Jan 3, 2020
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
For everyone having issues with getting characters to display in the friend menu when you're using the multi leader layout, you need to run the plug in command AFS Show Friend x Leader y for each actor and each leader. When you only assign the leaders through a command, or use the all actors are leaders feature, the game adds the characters to the leader menu, but doesn't add any of the actors to the friend menu by default.
 

kako05

Veteran
Veteran
Joined
Sep 11, 2017
Messages
168
Reaction score
19
First Language
Australian
Primarily Uses
RMMV
Ok disappearing faces can be fixed using something like galvs image preloader and storing the faces. But there's still issue with save file size. Each actor even the blank one adds to the save file size. Probably not a problem for most, but at 100 actors save file size reaches 300-400kb and saving slows down greatly.
 

tyranzero

Villager
Member
Joined
Jun 17, 2020
Messages
16
Reaction score
2
First Language
english
Primarily Uses
RMMV
sorry for asking, newb here.
anyway... how to start the plugin?
I have understood < --- > that be put in notebox of actor or item, but not plugin command. found plugin command under 'event command 3' but unknow how to use it. -> will it active once then deactivate? will it continuously active till the end? and other questions... sometimes I forgot what was it.

to the topic which: no character shows up in 'Friendship'. I set it into 'single leader scene'. as for add to character or maybe the plugin command, what to do?

this only what I attach on the leader
actor 0001
-----------
<AFS Leader>
<AFS Skill x Leader y: n>
if want leader to learn 'BF skill', must give him necessary notetag. that notetag is the <AFS Max Skill Leader x: n>? but since leader, how to?

as for the member
actor 0002
-----------
<AFS Exp: 20, 40, 60, 80, 100>
<AFS Max Level: 5>
<AFS Skill 1 Leader 1[y]: [n]>
<AFS Max Skill Leader 1: [n]>
<AFS Event Level 1 Leader 1: common event ID>
for y, it uses for actor use 0001, 1, 01, or name? since there only 1 leader, still use [y]?
[n] for skill, the skill in number like 0001, 1 or 01? and ID event, if 0056 = 56? no need a complete accurate data?

that 2 code that I add. I don't know how to use plugin command or the result will become 'cannot read property '???' of null'.

and also, since there '<AFS leader>' what about '<AFS member/follower>'

that's all for now.

ps. thx author moogle for the plugin and those who answer the question [as there may be more question after answer].
 

limeecakee

Warper
Member
Joined
Jun 22, 2020
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
If it's not showing the actors (and you read the help text) make sure you do this because man do I feel stupid after realising what I did wrong lol. You don't need to make a clean project

-Make sure you don't use the Github file. Use the attachment plugin
-Don't be a dummy like me and make sure the event is running and not set to activate on player touch like I did and forgot...

That would fix it assuming you read the help text and have a leader (<AFS Leader> in your actor's note) and:
you activate it it in an event using the "plugin command" on the 3rd page by doing: AFS Show Leader 1 (1 is the number of the actor your want) along with "AFS Show Friend 2 Leader 1" 1 is the actor as mentioned above and 2 is the number of the friend you want.
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
533
Reaction score
235
First Language
English
Primarily Uses
RMMV
The GitHub seems to imply that the author intended this plugin to be released under the Apache license, so I think it's probably okay if I add features and post it, right? He didn't take all the right steps to make the Apache license apply, though - there's no license comment in the plugin file itself.

So far I've added support for auto passive states based on friendship level, and support for negative friendship level. If I do decide to release my changes I'll probably open a separate thread and link to it.

EDIT: Since originally making this post I pretty much spent a whole day on it, adding a lot of new features and fixing a few minor bugs, most of which are things people mentioned in this thread. I'm pretty sure it's fine to release my changes, so I've posted the new version in Plugin Releases. Once it's approved (assuming it is), anyone who wants it can download it from there. [EDIT: It's now approved, take a look!]

These are the changes I've made; it's only partially tested though, so there might be new bugs:
  • Use new 1.5.x Plugin Manager features for the plugin parameters. This along with some other changes mean that the plugin will no longer work in pre-1.6.1 RMMV.
  • Rewrote note tag parsing to use the "meta" property. This changes no functionality (they are even still case insensitive) and makes them a little less sensitive to spaces. For example, if you accidentally miss a space after the colon, or put two spaces after "AFS" in the note tag, then it'll still be detected.
  • Plugin commands are also case-insensitive now.
  • The OnMapItem patch that Moogle_X posted in this thread is integrated into the main plugin.
  • Add a feature that grants automatic passive states to either the leader or the friend (or both) once they reach a certain friendship level. These states can't be removed directly, but adding a resist trait for the state will remove it as long as the resist remains.
  • Negative friendship levels can be enabled. This is not well-tested, and I've noticed some weird behaviour with it, so it probably needs more work. Common events, learned skills, and passive states should all work with negative friendship levels. There is no negative equivalent to the "Best Friend Skill", however.
  • Support disabling the Back button in the leader list. I think the reason this existed with no disable option was because without it you see the leader's legs, so I needed to fix that as well.
  • The bug where images sometimes don't load should be fixed (applies to both leader icons and friend face images).
  • Add a plugin command to switch between single and multiple leader mode partway through the game.
  • Add a switch to disable (rather than hide) the friendship option in the menu. The help also lists the necessary settings to add the friendship option in Yanfly's Main Menu Manager.
  • Add an option to show multiple columns in the friend list. This will also need heavy customization of the other window settings, as the defaults make multiple columns overlap.
  • Support multiple leaders with the single leadership view. Just hide your first leader and show the new leader using the standard plugin commands.
  • Add an option to gain or lose FP when you lose or run from a battle.
  • Made some changes that should greatly reduce the file size of saves made with AFS enabled.
  • Add an advanced function to perform any command when you select an actor from the friends list. As a simple example, you could show that actor's status page.

But I want to know if it's possible to add the friendship menu in the battle report? Because it's kind of hard to know where you are at your friendship level when the only way is to go in the main menu and check you friendship level.
I'm not sure if Val is still around or if they even still need this feature, but I'm kinda wondering what they were requesting. I can think of two possible interpretations, both of which probably aren't very difficult:

  • Show a "Friendship" command in the battle menu, so you can view the Friendship menu in the middle of battle.
  • Show FP changes in the battle report alongside XP, gold, and items.
 
Last edited:

Sloff1155

Villager
Member
Joined
May 29, 2016
Messages
8
Reaction score
6
First Language
English
Primarily Uses
Does this work on MZ and if not can you please port it to MZ?????
 

alltheyuriz

The Question Asker
Veteran
Joined
Sep 18, 2020
Messages
165
Reaction score
87
First Language
English
Primarily Uses
RMMV
Is this for just party members or npcs too
 

Latest Threads

Latest Posts

Latest Profile Posts


When you thought you'd be finished with the grid, and spend ~8-9 hours on an arrow. How is this more difficult to than player movement?

Still some bugs hiding in there, but it's nearly complete.

I'm having it strictly follow the path a user draws, because there will be booby trap and other similar mechanics where you want to avoid specific cells.
I feel like banging my head against a wall every time I want to find that post that shows all the plugin header codes. Then I think "next time I find it, I'm going to bookmark it". Then I think "wait a minute ... maybe I bookmarked it last time because it took me so long to find it". Check bookmarks, and there it is :)
... a few of my main characters standing around doing nothing lol. I mostly wanted to see them together on screen.

Forum statistics

Threads
107,824
Messages
1,032,451
Members
139,975
Latest member
Lucimountfort
Top