Actor Inspection Menu (For actors outside the party)

Hi everyone,


I'm looking for a plugin that makes it possible to inspect actors outside the current party. Preferably with an option to group the actors into groups like pets, heroes, villagers etc. using notetags in the actors notebox.


Ideally, I would like the plugin to be compatible or built around Yanfly's core plugins. I am using Yanfly's Status, Equip and Skill Core with Actor Variables and Profile Status. With this, it should be possible to manageably view the status, equipment, skill, variables and status of a large numbers of actors when they are not in the party. This is because I plan on creating multiple NPC actors to utilize Yanfly's Actor Variable plugin for in depth NPC interaction.


Potential Uses for such a plugin (Combined with other Yanfly plugins):

  • Pokedex
  • NPC Relationship Menu
  • NPC Biography
  • NPC Faction/Affiliation Viewer
  • Some kind of Outrageous Bestiary
  • Probably some others...



I've attached some images to help you understand what I am talking about.

  • Actor Group Scene is the first scene the player sees
  • Once a player is selected they go to the Inspection Scene where they can choose what to view.
  • Also made a concept design of normal & icon bars for Actor Variables plugin (just an idea 😀  )



I apologize if my request seems confusing. Please ask me anything if you need some clarification.


Yanfly Suggestion-01.png


Yanfly Suggestion-02.png
Functionally, you can do all of this with the Yanfly Common Event Menu plugin.  However, if you want to conform to those mockups 100% you will need something else or you'll have to edit/build upon the plugin code (this plugin defaults to 2 text boxes, a command box, and an image box but you can turn any of these "off").


if you're mock ups are flexible, here's the general approach using the Common Event Menu Plugin:

  • Call "common event menu 1" (your actor group scene) however you want to call it (can be added into the Main Menu with the Yanfly's Main Menu Manager Plugin, or evented in-game: however you want).  You'll be able to select Heroes/pets/villagers/ etc. and have whatever you want displayed on their "select screen" (variables, names, etc.).
  • Upon selecting a hero/pet/villager command, call "common event menu 2" (your inspection scene), or if you want to play with some Javascript, you can make a proxy of your status menu.  You'll need a separate common event menu for each one (i.e. heroes have their own common event menu, pets their own, villagers their own, etc.).

I'm simplifying a bit as your common event menus will in reality be a long string of many "selectable" common events.  There will be a lot of setup needed.  More detail here:  http://yanfly.moe/2016/05/06/yep-98-common-event-menu-rpg-maker-mv/ 


Hope that helps!
Functionally, you can do all of this with the Yanfly Common Event Menu plugin.  However, if you want to conform to those mockups 100% you will need something else or you'll have to edit/build upon the plugin code (this plugin defaults to 2 text boxes, a command box, and an image box but you can turn any of these "off").


if you're mock ups are flexible, here's the general approach using the Common Event Menu Plugin:

  • Call "common event menu 1" (your actor group scene) however you want to call it (can be added into the Main Menu with the Yanfly's Main Menu Manager Plugin, or evented in-game: however you want).  You'll be able to select Heroes/pets/villagers/ etc. and have whatever you want displayed on their "select screen" (variables, names, etc.).
  • Upon selecting a hero/pet/villager command, call "common event menu 2" (your inspection scene), or if you want to play with some Javascript, you can make a proxy of your status menu.  You'll need a separate common event menu for each one (i.e. heroes have their own common event menu, pets their own, villagers their own, etc.).

I'm simplifying a bit as your common event menus will in reality be a long string of many "selectable" common events.  There will be a lot of setup needed.  More detail here:  http://yanfly.moe/2016/05/06/yep-98-common-event-menu-rpg-maker-mv/ 


Hope that helps!



Thanks For the idea, however this method is not scalable for large numbers of Actors.


For example if the project has 5 groups with 10 actors each, It would need:

  • 5 common events for each group
  • 50 common events for each actor
  • 150 common events for all the status, skill, and equip scenes for each actor.



This method wastes too much common events. I have also tried something similar using several "show choices" in a single common event however I find it takes too much work to dynamically add or remove actors from a group and show them in the menu. (A Pokedex-like menu is impossibly hard to make like this  🙁 ).


There is also a limitation on the current script call method. The game only shows the lead hero in the party if I tried calling actors outside the party (crashes sometimes happens). Script call used:


$gameParty.setMenuActor($gameActors._data[1]); // Change actor id to someone outside the party does not work.

SceneManager.push(Scene_Equip); // Tested with equip, status and skill




My current setup navigates using show choices and displays the actor's stats using a show text. It clumsy and has some serious limitations namely:

  • I can't directly access the status, equip and skill windows of actors outside the party.
  • I can't Add/remove actors from the group menu like a pokedex. Example use: Meet new NPC/Pokemon and they pop into the menu (using a plugin command or switch).
  • It's hard to manage large numbers of actors (notetags are easier than using several common events or "show choices")
I'm actually interested in something very similar to this.


I wanted to show a relationship variable as a gauge, along with an image of the npc. So far I haven't found out how you display a variable as a gauge/bar rather than a number.


If all of that can be done with the Common Event Menu plugin that would be great.
Hi,

old thread ... but I found a solution ...

make a plugin or comment out direct in js/rpg_objects.js

Code:
Game_Party.prototype.menuActor = function() {
    var actor = $gameActors.actor(this._menuActorId);
    /*if (!this.members().contains(actor)) {
        actor = this.members()[0];
    }*/
    return actor;
};

after this you can write

Code:
$gameParty.setMenuActor($gameActors._data[1]);
SceneManager.push(Scene_Equip);


regards casp0or
I tried your solution, making that:
Game_Party.prototype.menuActor = function() {
var actor = $gameActors.actor(this._menuActorId);
/*if (!this.members().contains(actor)) {
actor = this.members()[0];
}*/
return actor;
}; as comment.
But then, the shop do not work anymore. lol
(So simple trick working)
Add member to party
Call scene needed
remove member from party

You can see status, gear him as if the actor is in your party! but he is not as you remove it immediatly

Original thread: https://forums.rpgmakerweb.com/threads/actor-inspection-menu-for-actors-outside-the-party.65096/