Conditional Turn Battles

Before you ask what 'conditional turn battles' are, I suggest watching some FFX gameplay footage so you know what I mean:

Right now I'm taking Yanfly's CTB plugin(Charge Turn Battle which is slight different but similar) for MV and am polishing it up to my intended effect. What I'm looking for is some foresight on some design problems. So here's what I'm expecting:
  • Agility becomes the most powerful stat since it decides how many moves a battler gets.
    • My plan is to counterbalance this by feeding the agility stat through a square root function. If that's not good enough, I can move on to a logarithmic function.
    • I'm also expecting it to be a big deal any time a battler gets two moves before the opponent makes one, so I'm crunching numbers on what AGI stats would cause significant balance problems.
  • Buffs and states affecting battlers differently depending if they're tick based or turn based.
  • High agility battlers should also be counterbalanced by having less potent moves
  • Limited community support and available plugins are possibly incomplete (not an issue since I can code)
What do you guys think? I'm asking around on different discord servers and the advice I'm getting is limited. Hoping I can cast a wider net here on the forums
-I think modifying the agility equation in the CTB plugin is easier than micromanaging how much agility everyone can get. if you want to prevent tick speed spikes just use an equation that softens the curve.

you can also make damage formulas scale slightly exponentially to make offensive stats superior to agility in terms of damage dealt, since agility has other advantages in CTB.

-states that take effect on your turn (like attack buffs) should run on action timer instead of ticks. otherwise they can't be balanced on anything that has non-average agility.
by that same logic states that take effect on CTB ticks should run on the CTB timer, like poison usually does.

-giving high agility battlers weak moves locks them into agility builds (since getting other stats to feed weaker moves is less efficient). that may or may not be an issue depending on how much customization your game is supposed to have.

good luck on that.
The last time I used this, I just scrapped using agility as a stat to increase turn order. Then I gave classes that are supposed to be quick like rogues or such abilities to increase their turn order, and then gave a cooldown on that ability.
For what it's worth, I've played Final Fantasy X fairly extensively, and I still have no idea how your "conditional turn" is functionally different from Yanfly's "charge turn." A gameplay video is no substitute for a clear description 😉

the advice I'm getting is limited.
Well...yeah. You ask for foresight on any design problems, then list 4 that you have already considered. There may just not be more potential problems to offer.

I've been using CTB in my project and I haven't found it to be incomplete or incompatible with any other plugins I've thrown at it. The most arcane part is how ticks function in regards to state duration settings in terms of turns/actions, and I've had to do some custom coding to make stuff work the way I want.
For what it's worth, I've played Final Fantasy X fairly extensively, and I still have no idea how your "conditional turn" is functionally different from Yanfly's "charge turn." A gameplay video is no substitute for a clear description 😉


Well...yeah. You ask for foresight on any design problems, then list 4 that you have already considered. There may just not be more potential problems to offer.

I've been using CTB in my project and I haven't found it to be incomplete or incompatible with any other plugins I've thrown at it. The most arcane part is how ticks function in regards to state duration settings in terms of turns/actions, and I've had to do some custom coding to make stuff work the way I want.
The Charge Turn has an additional charge bar for certain skills and other devs use it for casting spells. FFX completely lacks this feature. FFX's turn calculation is also instant where Charge Turn was designed to repeatedly add ticks to each battler's bar on each frame and it's incredibly slow. I rewrote turn order calculation so turns are calculated on the first tick. Charge Turn also has weak functionality for actually calculating turn order before the fact due to their awkward methodology of charging battler's bar. Because I redesigned their math, my edited plugin now can predict turns 10 moves ahead. Now, you should have an idea of why I consider them different turn mechanics.

Really, seems like balancing a CTB system requires some algebra skills that may be lost on some devs. Currently, I have my tick value increase at a rate of
Code:
20*Math.sqrt(user.agi)
and that one move requires 100 points. This translates to 1 move per tick at AGI of 25, 2 moves at 100, 3 moves at 225. Battlers move in order of who has the most tick points at or over 100, and subtract 100 points each time they move. This setup allows it so turns happen predictably at the same rate a battler moves with 25 AGI. From early testing, because I did the algebriac work early, I've found nothing arcane about how ticks function in regards to how actions and 'turns' operate
The Charge Turn has an additional charge bar for certain skills and other devs use it for casting spells.
Where? I don't see any charge bar in my project and I don't see this in the video for Yanfly's CTB.

You can make skills have a charge time if you give them a negative speed, but I don't know what you mean as any default part of the system.

FFX's turn calculation is also instant where Charge Turn was designed to repeatedly add ticks to each battler's bar on each frame and it's incredibly slow.
I also don't know what you mean here at all. Are we talking about the same plugin? I feel like you're actually talking about Yanfly's ATB, not CTB.

Yanfly's CTB is identical to Final Fantasy X's combat in every way I can see and think of.
Where? I don't see any charge bar in my project and I don't see this in the video for Yanfly's CTB.

You can make skills have a charge time if you give them a negative speed, but I don't know what you mean as any default part of the system.


I also don't know what you mean here at all. Are we talking about the same plugin? I feel like you're actually talking about Yanfly's ATB, not CTB.

Yanfly's CTB is identical to Final Fantasy X's combat in every way I can see and think of.
I'm talking about YEP_X_BattleSysCTB.js version 1.17
Everything I shared here is what I see in plain sight from reading and rewriting parts of the code to my liking
Okay. Well. I don't have any kind of charge bar. All of my skills execute instantaneously upon entering the command, which is exactly what the description of the plugin says will happen

The demo video explicitly says "Charge Turn Battle is also what's known as Conditional Turn Battle in Final Fantasy X" - it was designed to recreate that system.

Even if you deliberately enter a negative speed into a skill in order to require charging time before it executes, there's no "charge bar" that fills up. It just shunts the actor into a different place in the turn order. And if you don't want to do that...simply never give skills negative speed.

So you're free to keep talking about what you see and have written in the code, but I also see the code, have modified it, and have worked with the battle system in my project for years and I don't see what you're talking about 😛

So good luck with your project and your query.

Original thread: https://forums.rpgmakerweb.com/threads/conditional-turn-battles.157627/