oasis-b

Docs / Battle system

LW_Formation

Battle system
RPG Maker MV and MZ party formation and reserve plugin

Party menu with fixed battle slots, a reserve, locked and required members, and a formation command in battle.

Battle Essentials ($9.99)Full Collection ($19.99)

Needs LW_Core (LWZ_Core in MZ) above all Living World plugins in the Plugin Manager. It's included in every pack.

LW_Formation in a test project

Pick who fights, and swap in the middle of a battle.

Highlights

Ideas for your game

Works well with

LW_MainMenuLW_EquipSlotsLW_TurnOrder

Introduction

Works on its own. Replaces the Formation command of the main menu (also the one of LW_MainMenu) with a party menu: the battle slots on top, the whole party below, the stats of the chosen member on the right. Slots may stay empty. In battle the formation command opens the same windows on top of the battle, so heroes can be swapped without leaving it.

Buttons: OK picks, Cancel goes back. On a slot, Shift (pad: Square) takes the member out.

Locked members stay in their slot. Required members must fight, the menu can only be closed when they are in a slot.

Plugin Commands

LW_Party open                      opens the party menu
LW_Party battle show               LW_Party battle hide
LW_Party battle on                 LW_Party battle off
LW_Party lock 1 2                  LW_Party unlock 1
LW_Party require 3                 LW_Party release 3
LW_Party slots 5                   number of battle slots

Commands written for older party plugins work as well.

Script Calls

$gameParty.lwSlots()           actor ids of the slots, 0 = empty
$gameParty.lwSetSlot(i, id)    puts actor id into slot i (0 = empty)
$gameParty.lwReserve()         actors not in a slot

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - 2026-11-22 - First release.

Plugin commands in MZ

In MZ these come as Plugin Command in the event editor, with fields to fill in. Old MV text commands from copied events keep working.

Open Party Menu

Opens the party menu. Does nothing in battle.

Battle Command

The formation command in the party command window of battles.

  • Shown (boolean) Default: true.
  • Usable (boolean) Default: true.

Lock Members

Locked members can't leave their slot.

  • Actors (actor[]) Default: [].
  • Lock (boolean) Default: true.

Require Members

Required members must be in a battle slot.

  • Actors (actor[]) Default: [].
  • Require (boolean) Default: true.

Battle Slots

How many members fight.

  • Slots (number) Default: 4.

Introduction

Works on its own. Replaces the Formation command of the main menu (also the one of LWZ_MainMenu) with a party menu: the battle slots on top, the whole party below, the stats of the chosen member on the right. Slots may stay empty. In battle the formation command opens the same windows on top of the battle, so heroes can be swapped without leaving it.

Buttons: OK picks, Cancel goes back. On a slot, Shift (pad: Square) takes the member out.

Locked members stay in their slot. Required members must fight, the menu can only be closed when they are in a slot.

Plugin Commands

Open Party Menu         opens the party menu
Battle Command          shows or hides the formation command in battle,
                        and allows or blocks it
Lock Members            locks members in their slot, or unlocks them
Require Members         members who must fight, or frees them again
Battle Slots            number of battle slots

Events copied from MV keep working: "LW_Party open", "LW_Party battle show" (hide, on, off), "LW_Party lock 1 2", "LW_Party unlock 1", "LW_Party require 3", "LW_Party release 3", "LW_Party slots 5". Commands written for older party plugins work as well.

Script Calls

$gameParty.lwSlots()           actor ids of the slots, 0 = empty
$gameParty.lwSetSlot(i, id)    puts actor id into slot i (0 = empty)
$gameParty.lwReserve()         actors not in a slot

Terms of Use

See TERMS_OF_USE.txt in the download. Short version: use it in as many of your own games as you like, free or commercial. Edit it for your game, but keep this header. Don't share or resell the plugin files on their own. Name oasis-b in the credits of your game.

Changelog

Version 1.0.0 - First release for MZ.

Get it

LW_Formation is in these packs. Every pack comes as an MV and an MZ download at the same price and needs no other plugin collection. Tested in RPG Maker MV 1.6.2 and MZ 1.10.0 games on Windows, macOS and Linux and in current browsers.

Battle Essentials ($9.99)Full Collection ($19.99)
← LW_CountersLW_QuickActions →