https://github.com/andaroth/mmomz-pkd-abs
Backend support for real-time Action Battle System (MMORPG Maker MZ)
https://github.com/andaroth/mmomz-pkd-abs
mmorpg mmorpg-engine
Last synced: 11 months ago
JSON representation
Backend support for real-time Action Battle System (MMORPG Maker MZ)
- Host: GitHub
- URL: https://github.com/andaroth/mmomz-pkd-abs
- Owner: Andaroth
- License: gpl-3.0
- Created: 2022-06-10T12:39:23.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-06T21:19:16.000Z (over 2 years ago)
- Last Synced: 2025-04-07T11:47:01.552Z (about 1 year ago)
- Topics: mmorpg, mmorpg-engine
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MMOMZ-PKD-ABS (WIP)
Backend support for real-time Action Battle System (MMORPG Maker MZ)
Please consider contributing to this project by submitting your pull requests.
**Join us on Discord : https://discord.gg/GVqyAwp**
## Important
This code is currently in testing on [EtheRPG Online/Naire Online](https://etherpg.online/) and is still under development.
:warning: You Have to support PKD patreon (see below) in order to access to the RPG Maker `Alpha ABSZ` plugin
> I work with the v0.3 of the PKD plugin
An official RPG Maker MZ licence is also required.
> Community members said that the `MZ core v1.2` is compatible but the *core v1.5 is not*.
## Requirements
1. [MMORPG Maker MZ](https://github.com/Andaroth/MMORPGMaker-MZ) code from the `master` branch
2. The whole ABSZ engine & requirements from [Phoenix Kage Desu's Boosty](https://boosty.to/kagedesu)
3. The `mathjs` Node module
## Installation
1. Download `Alpha ABSZ` plugin from Phoenix Kage Desu's patreon and install it in your project
2. In a terminal, in your project's `server` folder, run this command: `npm install mathjs`
3. Copy the files from our `MMOMZ-PKD-ABS/server/core` to your MMORPG Maker MZ project `server/core` folder, override the old ones
4. Edit your MMORPG Maker MZ's `mmo.js` find this line: `gameworld: require("./core/gameworld")` and replace it with:
```js
gameworld: require("./core/gameworld"),
wabs: require("./core/wabs")
```
5. In the same `mmo.js` file, find and replace `MMO_Core.gameworld.initialize();` with:
```js
MMO_Core["gameworld"].initialize(() => MMO_Core["wabs"].initialize());
```
6. Edit the `Alpha ABSZ` plugin file and add this code after the `//TODO: perform skill` comment:
```js
WABS_Sockets.emitAction({ skillId, target: {} });
```

7. Copy the files from our `MMOMZ-PKD-ABS/js/plugins` to your project `js/plugins` folder (override existing ones) and activate them in the Plugins Manager
8. You can now use MMORPG Maker to create worlds with real-time fights!
## Instructions
1. A connected GAMEMAP must include `` inside its note.
2. To enable real-time fights in a GAMEMAP, you must add `` in the map's note

3. A connected NPC must include `` in a comment in any page
4. A fight NPC must includes `` in its note, where `ID` is the enemy ID from your gamedatas
5. You can use `` and `` in a fight NPC comment in any page, to trigger events (where `ID` is a common event ID in the gamedatas) on fights start/end

*More coming soon. Please read the comments in our code & the ABS documentation*
---
**Join us on Discord : https://discord.gg/GVqyAwp**