Is there a way to change the speed of Dash? Not in the options where you turn it on or off. Like, I don't know, going in to the code and changing it there?
Changing dash Speed?
Javascript/Plugin SupportHere's the function that controls dash speed (you can find it in rpg_objects):
Game_CharacterBase.prototype.realMoveSpeed = function() {
return this._moveSpeed + (this.isDashing() ? 1 : 0);
};
Alias or modify this method to change the dash speed (for example, you can change the 1 to a 2 in order to speed the player up by 2 levels instead of 1 while dashing). I believe decimal values will also work okay without weird behavior, although I've only tried that in Ace.
Game_CharacterBase.prototype.realMoveSpeed = function() {
return this._moveSpeed + (this.isDashing() ? 1 : 0);
};
Alias or modify this method to change the dash speed (for example, you can change the 1 to a 2 in order to speed the player up by 2 levels instead of 1 while dashing). I believe decimal values will also work okay without weird behavior, although I've only tried that in Ace.
Thanks... I thought that was it, but had no clue what any of that meant. I tried putting 0.5 in place of the 1 and it acted like they weren't dashing at all. But the 1 level just seems way too fast. Is there a happy medium when it comes to dashing and walking?
I just tested it myself by changing the 1 to a 0.5 (and then 0.1) and "racing" against an event that was set to Movement Speed 4 (normal) - the lower-speed dash does work as you would hope. You move a little faster than normal with 0.5 and just barely faster than normal with 0.1.
If this doesn't work for you, my suspicions would be that you either have another plugin that is messing with this method, or you have accidentally edited the rpg_objects file for the wrong project.
I tested using the "Always Dash ON" default option, in case that matters. But since the method is only checking for the truth of isDashing(), this shouldn't matter.
The change must have been inpeecievable to me... I'll try it again and see. thanks
Original thread: https://forums.rpgmakerweb.com/threads/changing-dash-speed.64815/