When animations are played on party members, the animations appear around or above the tops of the portraits. The healing aura, for example. Is there a way to increase or add some y-coordinate somewhere in the script to make it so the animation appears at the base or middle of the portrait, rather than above it?
Yanfly's Ace Battle Engine - Changing the y-coordinates of battle animations on party members?
RGSSx Script SupportNot tried it yet, but try to put this patch below Yanfly Battle Engine
Code:
class Game_Actor def screen_y return Graphics.height - 120 unless SceneManager.scene_is?(Scene_Battle) return Graphics.height - 120 if SceneManager.scene.status_window.nil? return Graphics.height - (SceneManager.scene.status_window.height * 7/8)/2 endend
Thanks. Is there a way to make the animations display in front of the portraits instead of behind them?
You'd need to find the sprite where it draws the animations, and adjust the Z value of the sprite that it uses to be above the one used by the portraits
I can't find either. A little help?
EDIT: I found animation "z" value in Sprite_Base, but everywhere I look there seems to be no "z" value attached to faces. Do they have supreme priority, or something? Can this not be done?
We'd need a link to the script... It could be that the faces are drawn on another viewport that is higher than the one used by the animation too. AFAIK, the faces are on the same viewport as the status and command windows
https://github.com/Archeia/YEARepo/blob/master/Battle/Ace_Battle_Engine.rb
Though, one doesn't simply change the Z value. The sprites are tied in viewport, so you need to change the viewport to play the animation above the HUD. Animations are played using Sprite_Battler, not in the faces, that's why...
I have another thing to do, so I'm unable to do experiment at the moment
Though, one doesn't simply change the Z value. The sprites are tied in viewport, so you need to change the viewport to play the animation above the HUD. Animations are played using Sprite_Battler, not in the faces, that's why...
I have another thing to do, so I'm unable to do experiment at the moment
Original thread: https://forums.rpgmakerweb.com/threads/yanflys-ace-battle-engine-changing-the-y-coordinates-of-battle-animations-on-party-members.35228/