MZ Phantasy Star 2-4 style combat (and a couple other questions)

As the title says, I'm attempting the Phantasy Star front view combat system in RPGMMZ, similar to this here:



(this was in VX Ace)

I've already figured out the actual attack animations for the most part, but I'm trying to figure out how to change the UI and add the character "portraits" looking like they're facing the enemies (rather than just a face). To go with that I guess I would also need to figure out how to make them disappear when they attack and then reappear.
So, my question is: Can I do this without using plugins or is it only possible/better/easier to use something like Vizustella's battle core or Akea's? (Akea's specifically states the PS system is possible, but I couldn't figure it out, though I will freely admit I might just not know what I'm looking for in the instructions.)

Question 2: Is it possible, with or without plugins, to switch from 4 to 5 battlers in front view? If so, what plugin/code snippet is needed?

Question 3: I would like to create ammo based skills/spells (guns, basically). Is this possible without plugins or is there something that can do that simply?

Question 4: Is it possible to have skills based on the weapon/item equipped? Such as the gun skill above only having access to the skill when the correct item is equipped.

I have searched a lot and I just can't seem to find an answer to my questions. Again, I'll admit I might just not know what I'm looking for and am possibly using the wrong terms when searching or just not understanding the answers. I used RPGM about 15 or 16 years ago when I was in college and am finally getting back into it. I wanted to try to mod as little as possible at first so I didn't go nuts and break something, but I'm not opposed to doing it where needed. I just know myself and I can definitely go overboard with unnecessary mods.

Thanks for your time.
Moved to: Plugin Requests
@caethyril has a BattleStepY plugin that's designed to let you reposition side-view battlers to emulate that combat system.

It's in her MV plugins and not duplicated in her MZ thread - I don't know if it might just function in MZ, or function with the aid of Project FOSSIL, or if she has any plans to update it.
Moved to: Plugin Requests
I'm not requesting anyone make a plugin, though. Just trying to find out if I need to use something else that already exists. This doesn't feel like the right place to get answers to any of my questions.
Plugin Requests is for seeking plugins, it doesn't matter whether or not they already exist. Many threads here are resolved by someone linking to existing plugin(s). 👋
  1. Unless you want to make a battle system on the map using events, I think that'll require a plugin. I'm guessing VisuStella/Akea can do this. Otherwise my MV plugin, mentioned by Turan, may well work as-is in MZ, albeit with a Plugin Manager warning (I haven't tested it).

  2. You'd want a plugin for that. Do you want 5 battlers permanently, or are you asking about switching the size mid-playthrough (or even mid-battle)?

    The big plugins you mentioned for point 1 might let you do this. It should be simple to implement (override Game_Party.prototype.maxBattleMembers), though it may be more complex if you want to toggle it during battle.

  3. I'd consider a plugin that offers item-based (or otherwise customisable) skill costs. A couple off the top of my head: Eli Skill Costs, VisuStella Skills & States Core.

  4. Depending on what you mean by this:
    • You can put an Add Skill trait on a weapon/armor: that skill will be available for use while the weapon/armor is equipped.
    • You can assign up to 2 weapon types to a skill: in that case the skill is usable iff at least one of those weapon types is equipped.
    • You can put an Attack Skill trait on a weapon/armor: the skill used for a battler's Attack command will be the Attack Skill with highest ID, or skill 1 if they have no such traits.
Plugin Requests is for seeking plugins, it doesn't matter whether or not they already exist. Many threads here are resolved by someone linking to existing plugin(s). 👋
  1. Unless you want to make a battle system on the map using events, I think that'll require a plugin. I'm guessing VisuStella/Akea can do this. Otherwise my MV plugin, mentioned by Turan, may well work as-is in MZ, albeit with a Plugin Manager warning (I haven't tested it).

  2. You'd want a plugin for that. Do you want 5 battlers permanently, or are you asking about switching the size mid-playthrough (or even mid-battle)?

    The big plugins you mentioned for point 1 might let you do this. It should be simple to implement (override Game_Party.prototype.maxBattleMembers), though it may be more complex if you want to toggle it during battle.

  3. I'd consider a plugin that offers item-based (or otherwise customisable) skill costs. A couple off the top of my head: Eli Skill Costs, VisuStella Skills & States Core.

  4. Depending on what you mean by this:
    • You can put an Add Skill trait on a weapon/armor: that skill will be available for use while the weapon/armor is equipped.
    • You can assign up to 2 weapon types to a skill: in that case the skill is usable iff at least one of those weapon types is equipped.
    • You can put an Attack Skill trait on a weapon/armor: the skill used for a battler's Attack command will be the Attack Skill with highest ID, or skill 1 if they have no such traits.
Ah, ok, thank you, that makes sense. I just didn't understand, I hope I didn't come off as combative. I just didn't want to get deep into using say, Akea, only to find out I have to use a yanfly plugin for the other things that wasn't compatible. (I read that sometimes the vizustella/yanfly plugins can be a bit disagreeable at times with outside plugins.)


1. I've been using events because I don't want to have random encounters, so I was mostly looking to see how to change the bottom UI and replace the portraits.

2. I'm looking for a permanent party of five (without the great parents) for field and combat. So, I would want to be able to do it to both field and battle.

3. I'll take a look at those. At first glance, the Eli Skill Costs might be just what I'm looking for. I'm looking to make the ammo an inventory item that can be picked up/purchased.

4. It's possible the first would work. I'm thinking it would look something like this in field/Equip menu:

Weapon 1: Knife
Weapon 2: Pistol
Weapon 3: Shotgun
Armor: Combat vest

In combat, knife would function as attack, but the other two would either be under a submenu called "guns" or something OR would appear separately on the menu:

Attack
Guns
->Pistol (10) <-(ammo count)
->Shotgun (2)
Flee

OR

Attack
Pistol (10)
Shotgun (2)
Flee

The other weapons wouldn't necessarily have to be weapons, just change the menu options to seem like they are.

Thanks again for your help.
  1. Changes to the existing game windows require a plugin.

    By "make a battle system on the map using events", I did not mean using the Battle Processing command vs random encounters. I meant literally forgoing the entire default battle system and using map events instead. Enemies/actors could be map sprites or pictures, messages could be Show Text, etc. Yes, doing it that way is a lot of work. 😅

  2. You could save this as a .js file (copy into a text editor, Save As -> File Type: All Files, Filename: whatever.js) then import as a plugin:
    JavaScript:
    /*:
     * @target MZ
     * @plugindesc 5 battle members!
     * @author Caethyril
     * @url https://forums.rpgmakerweb.com/index.php?threads/154786/
     * @help Free to use and/or modify for any project, no credit required.
     */
    Game_Party.prototype.maxBattleMembers = function() { return 5; };
    As mentioned, though, this feature is probably included in bigger plugins like VisuStella Battle Core.

  3. Sounds good! 👋

  4. The battle commands are based on the skill types that the actor currently knows. Skill types are added via the Skill Type trait, which can be put on an Actor, Class, Weapon, Armor, or State. By default:
    • The first equip slot is for a Weapon;
    • The second equip slot is for an Armor, unless they have a Dual Wield trait;
    • The remaining equip slots are for Armors.

    For displaying the ammo in the name of the skill (type), consider a plugin for "global text codes" or something similar...maybe Eli Global Text? VisuStella may offer something similar. I'm thinking that could allow you to write the name like Pistol (\v[123]). Then you'd just need to update the value of variable ID 123 to match the current Pistol ammo in inventory, e.g. a Common Event attached to every Pistol skill.

    A plugin for more (or custom) text codes may simplify that by allowing you to define/write a text code for "number of item X". Then you wouldn't need to worry about manually updating variables.
  1. Changes to the existing game windows require a plugin.

    By "make a battle system on the map using events", I did not mean using the Battle Processing command vs random encounters. I meant literally forgoing the entire default battle system and using map events instead. Enemies/actors could be map sprites or pictures, messages could be Show Text, etc. Yes, doing it that way is a lot of work. 😅

  2. You could save this as a .js file (copy into a text editor, Save As -> File Type: All Files, Filename: whatever.js) then import as a plugin:
    JavaScript:
    /*:
    * @target MZ
    * @plugindesc 5 battle members!
    * @author Caethyril
    * @url https://forums.rpgmakerweb.com/index.php?threads/154786/
    * @help Free to use and/or modify for any project, no credit required.
    */
    Game_Party.prototype.maxBattleMembers = function() { return 5; };
    As mentioned, though, this feature is probably included in bigger plugins like VisuStella Battle Core.

  3. Sounds good! 👋

  4. The battle commands are based on the skill typesthat the actor currently knows. Skill types are added via the Skill Type trait, which can be put on an Actor, Class, Weapon, Armor, or State. By default:
    • The first equip slot is for a Weapon;
    • The second equip slot is for an Armor, unless they have a Dual Wield trait;
    • The remaining equip slots are for Armors.

    For displaying the ammo in the name of the skill (type), consider a plugin for "global text codes" or something similar...maybe Eli Global Text? VisuStella may offer something similar. I'm thinking that could allow you to write the name like Pistol (\v[123]). Then you'd just need to update the value of variable ID 123 to match the current Pistol ammo in inventory, e.g. a Common Event attached to every Pistol skill.

    A plugin for more (or custom) text codes may simplify that by allowing you to define/write a text code for "number of item X". Then you wouldn't need to worry about manually updating variables.

1. Oh, god no. F$(# that noise, I'm not remaking the wheel. I'm mostly just looking to change the visuals, not basic functionality...not yet anyway. Depends on how crazy I go.

2. This is great, thank you. If it's not already integrated into something else, I'll probably use this. Might anyway just because it's so simple.

3. Solved. (For now.)

4. I can just fake this with Terms and Types though, right? Add/change an armor/shield/helm's name to "Extra weapon" or something and then add the attack/spell skill type? As I was writing this I just pulled it up and tested it and I was able to get it to pretty much work how I wanted since it's mostly just a visual change, "Helmet" to "Weapon", "guns" instead of "skills/spells", etc.

Thank you so much, again for your help. I haven't tried any of the plugins yet, just seeing what I can do without adding anything yet.
Great, you're welcome!

Original thread: https://forums.rpgmakerweb.com/threads/phantasy-star-2-4-style-combat-and-a-couple-other-questions.154786/