MZ Overrinding Akea battle system's actor position with SV Actor position MZ

Hi there, like the title says it, I'd like to use SV actor positions to have more placement freedom with the actors, but akea battle system seems to prevale on that point. Is there a way to not use akea's built in position system while still using the animated battle system ?

1777912066170.png

I tried leaving HomeX and Y blank but the actors simply don't show up.
And SVActorPositions has no effect, even when placed below on the plugin list.


Akea battle system plugin

SVActorPositionsMZ: See attached files or find it on the DLC folder of rmmz.

If you can help or give some indsight, it would be much appreciated.
bump
Haven't used AKEA, but it's unclear to me what's the problem with using AKEA to set the home positions? What does that other plugin offer? I quickly Ctrl-Fd the AKEA code and it uses setHome in the startEntryMotion method too. So are you talking about the position where they first appear or where they end up in after the entry motion?
Haven't used AKEA, but it's unclear to me what's the problem with using AKEA to set the home positions? What does that other plugin offer? I quickly Ctrl-Fd the AKEA code and it uses setHome in the startEntryMotion method too. So are you talking about the position where they first appear or where they end up in after the entry motion?
There is no real problem, it's just that AKEA only allows actors to be positioned in a line, and I would like to place them in a more grouped way, with the main character at the center and the rest all around.
To answer the question, I'm talking the position they have during the battle, so the second one I guess.
The method is like below. In the setHome it reads those homeX and homeY from some AKEA settings? Do you mean that those can't be written for each actor? If not, then you can put a conditional there where you give the actor coordinates depending on the actor index, something like replace the setHome line with:
if (this._actor.index() === 0)
this.setHome(100, 500);
if (this._actor.index() === 1)
this.setHome(100, 400);
if (this._actor.index() === 2)
this.setHome(100, 300);
if (this._actor.index() === 3)
this.setHome(100, 200);

The original method below:

Sprite_Actor.prototype.startEntryMotion = function () {
const akeaParametersSheet = JSON.parse(this.akeaParameters['entryActors']);
if (this._actor && this._actor.canMove()) {
this._actor._akeaAnimatedBSActions.idToAction(parseInt(akeaParametersSheet.action), [], [])
let action = this._actor.getAkeaAnimatedBSActions().unloadAction();
this.startMotion(action.getPose());
this.startMove(0, 0, action.getDuration(), action.getJumpHeight(), action.getLevitation());
this._offsetX = parseInt(akeaParametersSheet.offsetX);
this._offsetY = parseInt(akeaParametersSheet.offsetY);
const index = this._actor.index();
this.setHome(eval(akeaParametersSheet.homeX), eval(akeaParametersSheet.homeY))
} else if (!this.isMoving()) {
this.refreshMotion();
this.startMove(0, 0, 0);
}
};
The method is like below. In the setHome it reads those homeX and homeY from some AKEA settings? Do you mean that those can't be written for each actor? If not, then you can put a conditional there where you give the actor coordinates depending on the actor index, something like replace the setHome line with:
if (this._actor.index() === 0)
this.setHome(100, 500);
if (this._actor.index() === 1)
this.setHome(100, 400);
if (this._actor.index() === 2)
this.setHome(100, 300);
if (this._actor.index() === 3)
this.setHome(100, 200);

The original method below:

Sprite_Actor.prototype.startEntryMotion = function () {
const akeaParametersSheet = JSON.parse(this.akeaParameters['entryActors']);
if (this._actor && this._actor.canMove()) {
this._actor._akeaAnimatedBSActions.idToAction(parseInt(akeaParametersSheet.action), [], [])
let action = this._actor.getAkeaAnimatedBSActions().unloadAction();
this.startMotion(action.getPose());
this.startMove(0, 0, action.getDuration(), action.getJumpHeight(), action.getLevitation());
this._offsetX = parseInt(akeaParametersSheet.offsetX);
this._offsetY = parseInt(akeaParametersSheet.offsetY);
const index = this._actor.index();
this.setHome(eval(akeaParametersSheet.homeX), eval(akeaParametersSheet.homeY))
} else if (!this.isMoving()) {
this.refreshMotion();
this.startMove(0, 0, 0);
}
};
It worked thats awesome, thank you very much, this has been eating my brain for a month.

Original thread: https://forums.rpgmakerweb.com/threads/overrinding-akea-battle-systems-actor-position-with-sv-actor-position-mz.183492/