hi ive made a new suikoden 2 war battle plugin i want to put it in like a demo but ive never done this is there away to lock asserts so people cant see wats in um an so on
MZ my new plugin
Javascript/Plugin SupportWhat is your plugin called, and what does it do?
SuikoWar – Tactical War System for RPG Maker MZ
A complete Suikoden‑style large‑scale battle engine built entirely in modular plugins.
Overview
SuikoWar is a fully modular, extensible tactical war system for RPG Maker MZ, inspired by the large‑scale battles of Suikoden II.
It provides grid‑based movement, commander skills, morale, terrain bonuses, AI personalities, clash animations, rune attacks, and a complete battlefield UI.
Every system is implemented as a standalone plugin, allowing developers to enable, disable, or extend individual modules without breaking the engine.
Core Features
Battlefield Engine
Tile‑based grid (custom size)
Terrain system (forest, hill, water, road, fort)
Movement range + A* pathfinding
Terrain‑based movement cost, ATK/DEF modifiers, morale effects
Combat SystemInfantry / Cavalry / Archer triangle
Clash animations with sparks + impact bursts
Rune attacks (Fire Spear, Lightning, Wind, Healing)
Commander Skills (Charge, Defend, Rally, Bow, Magic, etc.)
Morale‑based retreat system
AI System
Personality‑driven AI (Aggressive, Defensive, Tactical, Cowardly)
Terrain‑aware movement scoring
Target selection logic
Formation logic (line, wedge, spread)
AI skill usage
Visual Systems
Full animation suite (clash, runes, retreat, wind blades, lightning bolts)
Tile highlights + path preview
Battle HUD (morale bar, unit name, faction icon)
Turn Order UI
Damage numbers
Status icons
Modular Architecture
Each system is its own plugin:
Easy to debug
Easy to replace
Easy to extend
No core overrides
Installation
Download the entire js/plugins/SuikoWar_* plugin suite.
Place all files into your project’s js/plugins/ folder.
Open Plugin Manager in RPG Maker MZ.
Add each plugin in the correct order (see below).
Turn them ON.
Plugin Load Order (Required)
Code
1. SuikoWar_Core
2. SuikoWar_Units
3. SuikoWar_Grid
4. SuikoWar_Pathfinding
5. SuikoWar_Terrain
6. SuikoWar_Manager
7. SuikoWar_AI
8. SuikoWar_CommanderSkills
9. SuikoWar_Scene
10. SuikoWar_SelectionCursor
11. SuikoWar_Movement
12. SuikoWar_CommandUI
13. SuikoWar_Sprites
14. SuikoWar_ClashUpgrade
15. SuikoWar_BattleHUD
16. SuikoWar_TurnOrderUI
17. SuikoWar_DamageNumbers
18. SuikoWar_FactionBuffFlags
19. SuikoWar_AIFormation
20. SuikoWar_AIAttackDecision
21. SuikoWar_AIMovement
22. SuikoWar_StatusIcons
23. SuikoWar_UnitSprites
This order ensures:
Core loads first
Managers load after core
Scene/UI load after managers
Sprites load after scene
HUD/UI load last
Terrain System
Terrain is defined per tile:
js
grid.setTerrain(x, y, "forest");
grid.setTerrain(x, y, "hill");
grid.setTerrain(x, y, "water", false); // not passable
Each terrain type supports:
moveCost
atkFraction
defFraction
moraleBonus
cavalryPenalty
rangedBonus
Commander SkillsCommander skills are defined in Plugin Manager:
json
{
"id": "charge",
"name": "Charge",
"atkBoost": 6,
"defBoost": -3,
"moraleBoost": 0,
"ranged": false,
"usesRune": false
}
Preset skills include:
Charge
Defend
Rally
Bow Attack
Magic
Heavy Charge
Spear Wall
Fire Formation
Shield Formation
AI Personalities
AI Commanders use personality profiles:
Aggressive → prefers Charge, flanking, high‑risk moves
Defensive → prefers Defend, terrain advantage
Tactical → uses Rally, terrain, formations
Cowardly → retreats early
Animations Included
Clash (infantry/cavalry/archer)
Fire Spear
Lightning Rune
Wind Rune
Healing Rune
Retreat
Clash Upgrade (sparks + burst)
Tile highlights
Path preview
Damage numbers
Extending SuikoWar
You can add:
New commander skills
New terrain types
New AI personalities
New rune animations
New unit types (mages, beasts, siege units)
New formations
New HUD elements
All systems are modular and safe to extend.
Folder Structure
Code
js/
└── plugins/
├── SuikoWar_Core.js
├── SuikoWar_Units.js
├── SuikoWar_Grid.js
├── SuikoWar_Pathfinding.js
├── SuikoWar_Terrain.js
├── SuikoWar_Manager.js
├── SuikoWar_AI.js
├── SuikoWar_CommanderSkills.js
├── SuikoWar_Scene.js
├── SuikoWar_SelectionCursor.js
├── SuikoWar_Movement.js
├── SuikoWar_CommandUI.js
├── SuikoWar_Sprites.js
├── SuikoWar_ClashUpgrade.js
├── SuikoWar_BattleHUD.js
├── SuikoWar_TurnOrderUI.js
├── SuikoWar_DamageNumbers.js
├── SuikoWar_FactionBuffFlags.js
├── SuikoWar_AIFormation.js
├── SuikoWar_AIAttackDecision.js
├── SuikoWar_AIMovement.js
├── SuikoWar_StatusIcons.js
└── SuikoWar_UnitSprites.js
Contributing
Pull requests are welcome!
If you want to add:
New animations
New AI logic
New commander skills
New UI components
Documentation improvements
…feel free to open an issue or PR.
License
MIT License — free to use, modify, and distribute.
Final Notes
SuikoWar is designed to be:
Modular
Extensible
Easy to debug
Easy to customize
Faithful to Suikoden’s war battles
ive made a few versions of this my other one thou hitting alot of errors so made this easy one
How can you make a plugin suite when it seems you don't even understand the engine?
this is my other one as im having abit of errors to fix on suiko this one i called wargrid will fix suiko nxt not add the pics i use an flags of mine but this is the basic version all can be edited
my vid was off but you get the jest
only ever do them for self not others thats why not sure on things mainly just family friends
my vid was off but you get the jest
only ever do them for self not others thats why not sure on things mainly just family friends
@jlnicholls, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/my-new-plugin.183476/