Original Source
- Original title: YEP Row Formation + CTB Compatibility Fix
- Original author: jerseyware
- Original date: October 19, 2017
- Source thread: https://forums.rpgmakerweb.com/threads/yep-row-formation-ctb-compatibility-fix.85980/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
Hello all, In testing using yanfly's wonderful Row Formation alongside the Charge Turn Battle system, I came across an issue. When the Row menu is invoked during combat and then closed, the CTB turn-order gauge is not called again. I've found the lines in code where the Row script calls the Battle Engine Core and this appears to redraw the screen without the gauge. This is tested and verified in a stand-alone demo which contains only YEP's Core, Battle Engine Core, CTB, and Row Formation. These scripts can be found...
Archived First Post
In testing using yanfly's wonderful Row Formation alongside the Charge Turn Battle system, I came across an issue.
When the Row menu is invoked during combat and then closed, the CTB turn-order gauge is not called again. I've found the lines in code where the Row script calls the Battle Engine Core and this appears to redraw the screen without the gauge.
This is tested and verified in a stand-alone demo which contains only YEP's Core, Battle Engine Core, CTB, and Row Formation. These scripts can be found at the following links:
YEP Core Engine - http://yanfly.moe/2015/10/09/yep-1-core-engine/
YEP Battle Engine Core - http://yanfly.moe/2015/10/10/yep-3-battle-engine-core/
YEP Battle System Charge Turn Battle - http://yanfly.moe/2015/12/05/yep-38-battle-system-charge-turn-battle/
YEP Row Formation - http://yanfly.moe/2016/01/02/yep-54-row-formation/
Changing the load order of these scripts has no effect on this issue. I believe this can fixed by importing sections of the CTB code to the Row Formation script in a similar fashion to the imports of the Battle Engine Core, but I do not know which parts to import. I'm hoping someone more knowledgable than I can point me in the right direction.
Here is my test project reproducing the error: https://www.mediafire.com/file/caznyrd8w77ckv7/CTB_FR_Demo.zip
Steps to reproduce:
1) Start game and walk into the enemy. Note the CTB Turn Order Gauge showing party members with Blue and enemies with Red.
2) Press "Esc" to back into the Party menu, choose "Row," then exit the Row Formation menu with "Esc" or "X."
3) Note the CTB Turn Order Gauge is now gone.
At line 2457 in YEP_RowFormation.js, there is a section of code that accounts for Battle Engine Core. I think there needs to be an accounting for CTB as well, as CTB has lines of code to create the Turn Order gauge. Line 2242 of YEP_X_BattleSysCTB.js looks like the start of the Turn Order gauge code. I don't know what to import, or how.
Thanks for reading!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...