Follower and Battle Member Options

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
Follower and Battle Member Options
By DreamX

 
Introduction/Features
With notetags, you can choose which party members can appear as a follower or participate in battle.


Patch Notes


v1.08 - Now compatible with and requires YEP Party System


How to Use


* ============================================================================
* How To Use
* ============================================================================
* Place this plugin BELOW Yanfly's Party System plugin.
*
* Use <no_follow:1> in an actor's notetag to permanently prevent them from
* appearing as a follower.
* Use <no_follow_switch:x> in an actor's notetag to designate a switch as what
* determines whether they're a follower. Change x to the switch number.
*
* * Do not use both follower notetags at the same time for the same actor,
* choose one or the other.
*
* To quickly alter follower visibiity, you can use these plugin commands.
*
* ToggleFollower 2 - Toggles the visiblity of an actor as a follower.
* Use the actor id. In this case, it is actor #2.
* ShowFollower 4 - Shows actor as follower
* Use the actor id. In this case, it is actor #4.
* HideFollower 6 - Hides actor as follower
* Use the actor id. In this case, it is actor #6.
*
* Alternatively, you can use just change the associated switch while having
* the parameter "Automatic Refresh" on.
*
* Use <no_battle:1> in an actor's notetag to permanently prevent them from
* appearing in battle. Use <no_battle_switch:x> in an actor's notetag to
* designate a switch as what determines whether they appear in battle. Change x
* to the switch number. If the switch is true, the actor won't appear in battle.
* If it's false, they will. Do not use both notetags at the same time for the
* same actor, choose one or the other. You don't need to use plugin commands
* when using the switch notetag for battle.
*
* Use <no_menu:1> in an actor's notetag to permanently prevent them from
* appearing in menus. Use <no_menu_switch:x> in an actor's notetag to
* designate a switch as what determines whether they appear in menus. Change x
* to the switch number. If the switch is true, the actor won't appear in menus.
* If it's false, they will. Do not use both notetags at the same time for the
* same actor, choose one or the other. You don't need to use plugin commands
* when using the switch notetag for menus.
* ============================================================================
* Terms Of Use
* ============================================================================
* Free to use and modify for commercial and noncommercial games, with credit.
* ============================================================================
* Compatibility
* ============================================================================
* To use Hime's Custom Party Leader, make sure to place it under this plugin.
* ============================================================================
* Credits
* ============================================================================
* DreamX
* Thanks to Shaz and Liquidize on the Rpg Maker forum for assistance.
* Thanks to Gilles on Rpg Maker Forum for assistance.
* Thanks to Yanfly for YEP Party System.


Screenshot


screenie.png


Script
 
Last edited by a moderator:

gRaViJa

Veteran
Veteran
Joined
Mar 16, 2012
Messages
881
Reaction score
398
First Language
Dutch
Thx,

I might use this since my main characters are, except one, not part of the battle party. The battlers will consist of a Kings Guard with different characters than the main characters.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
V1.01 - Fixed bug that caused the first actor in the party (the leader/player character) to not appear if they were set not to be in battle, when "Battle Members Only" is false.


Script
 

ATT_Turan

Veteran
Veteran
Joined
Jul 2, 2014
Messages
89
Reaction score
39
First Language
English
Just to mention it, easier download instructions might be to right-click the script link and select "Save As" or "Save Link As" - I don't know of any browsers that will rename the file type if you do that.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
Just to mention it, easier download instructions might be to right-click the script link and select "Save As" or "Save Link As" - I don't know of any browsers that will rename the file type if you do that.
Thank you, that is better.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
v1.02 - Party members that have <no_menu:1> (or <no_menu_switch:x> if switch x is on) will not appear in menus.
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
175
First Language
English (US)
Primarily Uses
N/A
OK I don't know what I am doing wrong. I set up 4 more actors and added them to the starting party to test this plugin out. Unfortunately this plugin just doesn't work for me. I set the index to 8.

and then put following to an autorun event:

Plugin Command:  ShowFollower 5
Plugin Command:  ShowFollower 6
Plugin Command:  ShowFollower 7
Plugin Command:  ShowFollower 8

Which are immediately followed by a self switch to end the autorun event. The only purpose of the autorun event is to get the additional followers to show on the map. 

But they still do not appear on the map, only in the main menu.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
OK I don't know what I am doing wrong. I set up 4 more actors and added them to the starting party to test this plugin out. Unfortunately this plugin just doesn't work for me. I set the index to 8.

and then put following to an autorun event:

Plugin Command:  ShowFollower 5
Plugin Command:  ShowFollower 6
Plugin Command:  ShowFollower 7
Plugin Command:  ShowFollower 8

Which are immediately followed by a self switch to end the autorun event. The only purpose of the autorun event is to get the additional followers to show on the map. 

But they still do not appear on the map, only in the main menu.
To get more than 3 followers you need to make sure to edit the parameter for max number of followers.
 
Last edited by a moderator:

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
175
First Language
English (US)
Primarily Uses
N/A
To get more than 3 followers you need to make sure to edit the parameter for max number of followers.

I did set the parameter. I mentioned that in my post.

In the quote below I bold and underlined where I specifically stated this.
 

OK I don't know what I am doing wrong. I set up 4 more actors and added them to the starting party to test this plugin out. Unfortunately this plugin just doesn't work for me. I set the index to 8.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
I did set the parameter. I mentioned that in my post.

In the quote below I bold and underlined where I specifically stated this.
 
The index and the max followers parameters are not the same.
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
175
First Language
English (US)
Primarily Uses
N/A
The index and the max followers parameters are not the same.


OK I see what you are talking about now. I don't know this is tho:
 

$gameParty.maxBattleMembers() - 1

Am I supposed to simply change all that to 8?
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
OK I see what you are talking about now. I don't know this is tho:
 



Am I supposed to simply change all that to 8?
That is the equation for the max number of followers. You can set it to just a single number like 8, yes.
 

NeoPGX

~ King of Cuteness ~
Veteran
Joined
May 15, 2014
Messages
847
Reaction score
175
First Language
English (US)
Primarily Uses
N/A
Well that did the trick, thanks! :D
 

Veralisa

Villager
Member
Joined
Feb 22, 2016
Messages
16
Reaction score
8
First Language
English
Primarily Uses
I love this addon! Simple enough to use, and works really well. I made a chain of animals following me, so that was cute.


Perhaps a suggestion is to have a toggle for the default showing/hiding of all actors, since having to use showfollower plugin commands for 100 actors can be a little troublesome :p


On another note, I had to disable this plugin in the end because it seems to conflict with some of Yanfly's. I was getting some errors along the lines of typeerror: cannot read property 'meta' of undefined.


I haven't done a lot of experimentation yet, but I'm suspecting that there are compatibility issues with Yanfly's Actor Variables plugin, since the game would run fine until one of his plugin commands was called. 


But in any case, thanks for the great resource! :D


Edit: In case it helps, this is the log I'm getting when I call an Actor Variable's plugin command. 
 
Last edited by a moderator:

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
I love this addon! Simple enough to use, and works really well. I made a chain of animals following me, so that was cute.


Perhaps a suggestion is to have a toggle for the default showing/hiding of all actors, since having to use showfollower plugin commands for 100 actors can be a little troublesome :p


On another note, I had to disable this plugin in the end because it seems to conflict with some of Yanfly's. I was getting some errors along the lines of typeerror: cannot read property 'meta' of undefined.


I haven't done a lot of experimentation yet, but I'm suspecting that there are compatibility issues with Yanfly's Actor Variables plugin, since the game would run fine until one of his plugin commands was called. 


But in any case, thanks for the great resource! :D


Edit: In case it helps, this is the log I'm getting when I call an Actor Variable's plugin command. 
Thank you very much for bringing up this issue. I believe I may have fixed it with the latest update, let me know if it works for you.


Script


I'll work on the toggle too, but first I'll fix this bug
 
Last edited by a moderator:

Veralisa

Villager
Member
Joined
Feb 22, 2016
Messages
16
Reaction score
8
First Language
English
Primarily Uses
Thank you very much for bringing up this issue. I believe I may have fixed it with the latest update, let me know if it works for you.


Script


I'll work on the toggle too, but first I'll fix this bug


You're AMAZING, the update works perfectly for me! I'm not longer getting errors / crashes with everything enabled. I'll let you know if anything else happens!


Thank you so much for the seriously fast response, I'm really happy to get to use this addon now :D  
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
@Gilles made a fix for actors that aren't in menus being unable to appear in battle. It's in the latest version. I haven't tested it but it should work. Thanks Gilles!

You're AMAZING, the update works perfectly for me! I'm not longer getting errors / crashes with everything enabled. I'll let you know if anything else happens!


Thank you so much for the seriously fast response, I'm really happy to get to use this addon now :D  
No problem and thanks!
 

doranikofu

Veteran
Veteran
Joined
Oct 4, 2015
Messages
113
Reaction score
31
First Language
Chinese
Primarily Uses
this is great, I have been using harsh ways to do this and had some issues earlier. So glad that there is a plugin for this now :))
 

doranikofu

Veteran
Veteran
Joined
Oct 4, 2015
Messages
113
Reaction score
31
First Language
Chinese
Primarily Uses
one thing I want to mention is that there will be some compatibility issues with Yanfly's party plugin. An easier way to fix it is simply try to lock the actors and restrict customization when necessary if using Yanfly's party plugin.


I found one place to change in Yanfly's to hide the followers in the list window:


Window_PartyList.prototype.createActorOrder


still not sure what is the best way to skip the hidden actors in Window_PartySelect  :S
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
825
First Language
English
Primarily Uses
one thing I want to mention is that there will be some compatibility issues with Yanfly's party plugin. An easier way to fix it is simply try to lock the actors and restrict customization when necessary if using Yanfly's party plugin.


I found one place to change in Yanfly's to hide the followers in the list window:


Window_PartyList.prototype.createActorOrder


still not sure what is the best way to skip the hidden actors in Window_PartySelect  :S
Thanks for pointing that out, the latest version now disallows actors from appearing in the battle formation window if they are not menu enabled or they are not battle enabled.
 

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

Latest Threads

Latest Profile Posts

rux
Just 80% of my motivation on game making lmao, anyone got tips on how to not be unmotivated?
I've signed up for a job training program for people with Asperger's Syndrome. I went to a "test run" today so they could see how well I did with simple jobs, and I amazed them. Most new people do it in 30+ minutes, while I finished in a mere 15 minutes. Gives me time to work on a screenplay for Studio MDHR...
People,I have seen that Someone from China/Chile and London is doing a Vaccine Against COVID-19.
Doing anything that yield good result in the long run is like sowing seeds. With proper care, they will grow and bear fruits. I'm excited for tomorrow. :D

Forum statistics

Threads
105,455
Messages
1,013,841
Members
137,105
Latest member
twilightprincess
Top