MZ Help setting Fixed TPB speed

I am new to this so I`ll try to explain as best I can.

I want my characters turn orders to be fixed, without any random elements.

I am currently using VisuMZ BattleCore plugin (from what I understand it remove the random element related to the AGI stat)
however my characters are still acting in random orders.

For example :
Battler A : 30 AGI
Battler B : 31 AGI
Enemy A : 32 AGI

In such a situation I would expect the actions order to always be Battler A, B and then the enemy

But instead the first character to take action when starting the battle is always different.

Is there another value somewhere that affect the speed at which the bar fill up that I am unaware of ?
Welcome!

It's the very second parameter shown in the plugin parameters section of the plugin instructions.

1724095474216.png


Change that to any value that does not include the Math.random() bit. Looks like it's a decimal percent, so 1 would be a full gauge and .5 starts everyone off half full, 0 empty, etc.
Welcome!

It's the very second parameter shown in the plugin parameters section of the plugin instructions.

View attachment 315158

Change that to any value that does not include the Math.random() bit. Looks like it's a decimal percent, so 1 would be a full gauge and .5 starts everyone off half full, 0 empty, etc.
That looks really useful, thanks for showing me. However I cannot find the settings you have showed me.

Mine have these instead :
1724102731408.png


Is there perhaps another location than the plugin settings to access these data ?
Sorry, I did things sideways.

I see you mention the Battle Core, but you were talking about TPB so I thought you were also using that plugin.

Looks like you want to change this. Paste the below into a text editor, save as a *.js file, include as a plugin.

Code:
Game_Battler.prototype.initTpbChargeTime = function(advantageous) 
{
    const speed = this.tpbRelativeSpeed();
    this._tpbState = "charging";
// Change the next line if you want
    this._tpbChargeTime = advantageous ? 1 : speed * .5;
    if (this.isRestricted()) {
        this._tpbChargeTime = 0;
    }
};

That line that I indicated says if you get advantage you start with a full gauge, otherwise at half your speed. Change if you like.
Sorry, I did things sideways.

I see you mention the Battle Core, but you were talking about TPB so I thought you were also using that plugin.

Looks like you want to change this. Paste the below into a text editor, save as a *.js file, include as a plugin.

Code:
Game_Battler.prototype.initTpbChargeTime = function(advantageous)
{
    const speed = this.tpbRelativeSpeed();
    this._tpbState = "charging";
// Change the next line if you want
    this._tpbChargeTime = advantageous ? 1 : speed * .5;
    if (this.isRestricted()) {
        this._tpbChargeTime = 0;
    }
};

That line that I indicated says if you get advantage you start with a full gauge, otherwise at half your speed. Change if you like.
Oh, so does that mean I could add the plugin with those values you showed me to resolve my issue ?

Unless there is a compatibility issue with my current plugin.
Oh, so does that mean I could add the plugin with those values you showed me to resolve my issue ?

Unless there is a compatibility issue with my current plugin.
oh, ill try that first, thanks
Sorry, I did things sideways.

I see you mention the Battle Core, but you were talking about TPB so I thought you were also using that plugin.

Looks like you want to change this. Paste the below into a text editor, save as a *.js file, include as a plugin.

Code:
Game_Battler.prototype.initTpbChargeTime = function(advantageous)
{
    const speed = this.tpbRelativeSpeed();
    this._tpbState = "charging";
// Change the next line if you want
    this._tpbChargeTime = advantageous ? 1 : speed * .5;
    if (this.isRestricted()) {
        this._tpbChargeTime = 0;
    }
};

That line that I indicated says if you get advantage you start with a full gauge, otherwise at half your speed. Change if you like.
Tested and it work fantastic!!!

Thanks a lot!! 😀

Original thread: https://forums.rpgmakerweb.com/threads/help-setting-fixed-tpb-speed.171230/