MZ I don't know how to use Akea Animated Battle System 2

Hello

Short story: I have problems tryng to use AABS2. Everytime I run my game there's a error saying "SyntaxError Unexpected end of JSON input" and I don't know why.

For now I only want to animate enemies. I made a whole spritesheet like a actor spritesheet but I don't know where i'm failing on the plugin. I made all the poses for every action and I also tryed to put specifics actions or every action on my enemy, and still doesn't work

If someone knows how to help me I'll be so glad, if you need screenshots of something specific of my configuration of the plugin to explain me where I'm wrong I can give it to you

Thakns
Hi there!
Don't know how to use this plugin, and sometimes is best if you take a look at the plugin thread. Maybe your solution is there.
This error usually mean that you did not configure the plugin parameter or a plugin command correctly.

But for we to be able to help you better, is best if instead of you saying that you didn't manage to make it work, you show to us how you did things:
- Plugin parameters
- Note tags

etc...

Maybe with more information you will have more luck for people to help you.
I know the struggle. After countless hours of staring at the screen, and probably too much coffee, I can finally say I have got the plugin (almost) perfectly configured (just one more bug to solve)!
I may help you get your assets working, but I just need one crucial piece of information about your spritesheet setup: i need to know layout you have used to arrange your individual sprites. Knowing this grid structure is usually the key to setting the plugin parameters correctly and finally getting your animations to play right.
I know the struggle. After countless hours of staring at the screen, and probably too much coffee, I can finally say I have got the plugin (almost) perfectly configured (just one more bug to solve)!
I may help you get your assets working, but I just need one crucial piece of information about your spritesheet setup: i need to know layout you have used to arrange your individual sprites. Knowing this grid structure is usually the key to setting the plugin parameters correctly and finally getting your animations to play right.
the sptitesheet that I use is the base spritesheet for every actor, the 6x9 with 18 diferents actions of 3 sprites each one
So, Akea treats your spritesheet as a numbered grid, and each pose is defined by an index that points to the starting position of that pose's frames. As you mentioned, your sprite sheet is, 6 Rows and 9 Columns. Each animation (or pose) uses 3 consecutive frames horizontally.
The system assigns an index starting from 0 and increases sequentially for every set of 3 frames, moving left-to-right, row by row.
  1. Index 0: Corresponds to the first 3 frames on the first row (Row 1, Columns 1, 2, 3).
  2. Index 1: Corresponds to the next 3 frames on the first row (Row 1, Columns 4, 5, 6).
  3. Index 2: Corresponds to the last 3 frames on the first row (Row 1, Columns 7, 8, 9). And so on!

    1760113196775.png
Let's say you want your actor's wait pose to be the animation found on the fourth row, using the frames in columns 7, 8, and 9. Instead of telling the system Row 4, Columns 7-9, you simply count the index: row 1 has index 0 (column 0, 1, 2), row 2 has index 1 (column 3, 4, 5). Your target animation is the first group of frames on row 1. Pose: Wait, Index: 0
This means the Akea Battle System will look for the animation sequence that starts at Index 0 and play the frames 0-1-3 to create the Wait animation.
So, Akea treats your spritesheet as a numbered grid, and each pose is defined by an index that points to the starting position of that pose's frames. As you mentioned, your sprite sheet is, 6 Rows and 9 Columns. Each animation (or pose) uses 3 consecutive frames horizontally.
The system assigns an index starting from 0 and increases sequentially for every set of 3 frames, moving left-to-right, row by row.
  1. Index 0: Corresponds to the first 3 frames on the first row (Row 1, Columns 1, 2, 3).
  2. Index 1: Corresponds to the next 3 frames on the first row (Row 1, Columns 4, 5, 6).
  3. Index 2: Corresponds to the last 3 frames on the first row (Row 1, Columns 7, 8, 9). And so on!

    View attachment 351058
Let's say you want your actor's wait pose to be the animation found on the fourth row, using the frames in columns 7, 8, and 9. Instead of telling the system Row 4, Columns 7-9, you simply count the index: row 1 has index 0 (column 0, 1, 2), row 2 has index 1 (column 3, 4, 5). Your target animation is the first group of frames on row 1. Pose: Wait, Index: 0
This means the Akea Battle System will look for the animation sequence that starts at Index 0 and play the frames 0-1-3 to create the Wait animation.
here I have some examples of how I configure my poses. Can you see something wrong?
Captura de pantalla 2025-10-10 134829.png

Captura de pantalla 2025-10-10 134843.png


Captura de pantalla 2025-10-10 134859.png

Captura de pantalla 2025-10-10 135006.png
Hello,

As Eliaquim mentioned, it seems that a plugin parameter hasn’t been configured correctly. From the screenshots, I can see that the quick actions (Step Back Action, Standing Action, etc.) haven’t been set up, which is what’s causing the error you mentioned. However, there’s a great guide that explains in detail how the plugin works and how to configure it properly.
-Guide
From your description, it sounds like the issue might be related to how you've configured the poseIndex for your actor. To give you the most accurate advice, I need to take a look at your actual spritesheet and what poses you want to set.
As recommended by other users, there is a dedicated guide that walks you through setting up custom character sheets and pose indexes correctly.
Hello. Today I finally manage to at least the game run. Apparently I only had to fill all the parameters of the plug in. Now apears a new error when a battle starts that says "Unexpected token u in JSON at position 0". What does position 0 means?
That error message usually means the game is trying to read some data, but it’s getting something unexpected instead. To help you more thoroughly, I need to take a look at your plugin configuration. Sometimes even a small detail in the setup can cause that kind of error.
I do have a free open project demo available on my itch with everything configured if you'd like to check it out and compare what settings there is
I do have a free open project demo available on my itch with everything configured if you'd like to check it out and compare what settings there is
I can't recommend this enough. I would just filter and build upon it, meticulously

Original thread: https://forums.rpgmakerweb.com/threads/i-dont-know-how-to-use-akea-animated-battle-system-2.180487/