Hey folks, been using the Visustella Battlecore plugin and I'm wondering if anyone knows a way to adjust the Message Wait parameter for the Battle Log while in game. Currently I have it set to 40, but it would be nice to let the player change it in game depending on their preferences. (Something like Slow = 60, Medium = 40, Fast = 20).
I tried seeing if I could use a variable for the Message Wait parameter, but it seems the plugin doesn't support that. Anyone have any ideas?
The base code window battlelog wait method sets the wait to what the messageSpeed method returns. So I guess you can change it like (copy paste to notepad, save as .js file and add as plugin):
Window_BattleLog.prototype.wait = function() {
this._waitCount = ConfigManager.battleLogSpeed || this.messageSpeed();
};
Then use VS Options Core to make an extra setting for that with symbol battleLogSpeed
Try to find an existing options setting in the plugin settings with 3 options and copy paste that and then change the settings codes so that they manipulate it to give that ConfigManager.battleLogSpeed values 20,40,60 when you select slow,medium,fast.
Cool.
But just to make sure, don't put that whole thing in a script (add it as plugin). And if you use that ConfigManager value I think it's reset when you close and start game unless you make it properly like other options. If you're doing it with events, try changing that line in the plugin to use game variable (change X to id):
this._waitCount = $gameVariables.value(X) || this.messageSpeed();
Then in your evented menu make it control the variable value.
EDIT: Though if your event options menu can be accessed in the title menu too (using an evented title screen), then those variables reset at new game too.
Yeah, but can't you just use VS options core anyway for the extra options. You don't have to use the options menu.
Then you can manipulate the ConfigManager.battleLogSpeedin your evets, like:
ConfigManager.battleLogSpeed = 20;
Just add that in the plugin settings as a new symbol and put default value of 40. You don't have to touch the settings for cursor left, cursor right, ok etc. (And then use the first version of the plugin that references the ConfiManager value)
EDIT: You should also use ConfigManager.save(); I think