I want to change the default speed of auto dash, preferably with an event, not by changing the default script.
Is this possible?
Thanks.
Hummmm actually I think this possible or may not being possible lol let's me check
Use the move route for the player in an event and change the speed.
@Uzuki
No, that is not what I want - I know how to change the speed of the player using the route move, I have done it often, but what I want to do is to slightly lower the speed of auto dash for a portion of the game. That is not possible using the route move command.
Hey there. I know this thread is a bit old now, but I thought I'd post a little scriptlet (I've been using with good success in my own projects) that can allow you to adjust the Dash and Animation speeds.
See the script below:
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
## Adjust Dash and Animation Speeds Scriptlet. v1.1
## Author: LoneWolfDon
## Website: BladeOfRage.com
## You are welcome to use this script in any project.
## Credit or thanks is nice, but not required.
## Good luck with your projects and "Onward to glory." Cheers! 🙂
class Game_CharacterBase
### DEFAULT Dash speed:
# def real_move_speed
# @move_speed + (dash? ? 1 : 0)
# end
##--------------------------------------------------------------
## Change the numbers to higher values for faster speeds
## or a lower number for slower.
## First number is for Dash, second number seems to
## affect the Followers' speed, so unless you want them lagging
## behind the lead character or jittering like crazy, I'd suggest
## to leave the second number set as a 0 value.
## ----------------------------------------------------------------
## In the example I have below, I have this script set-up to be able
## to change to 3 different speeds. 0 = Slow, 1 = Default and 2 = Fast.
## for each according line with the "(dash? ? X : Y)" part, put in
## the numbers for, X and Y, that you like for your project.
## You can add more lines if wanting even more selection of different speeds.
## ~~~~~~~
## In your own project, set up a variable.
## Name it something you will remember (I named mine "Adjust_Dash_Speed")
## In my example below, my variable number is 85 in game.
## To ajust the speed as you like in your game, you would simply change
## the value of your according varible to either 0, 1 or 2 (or according
## to how you have it set-up for your own project).
## Remember to change the $game_variables[N] number (where N is the variable
## number) to match your own variable you will use in your project.
def real_move_speed
if $game_variables[85] == 0
@move_speed + (dash? ? 0.6 : 0)
elsif $game_variables[85] == 1
@move_speed + (dash? ? 1 : 0)
else $game_variables[85] == 2
@move_speed + (dash? ? 1.6 : 0)
end
end
#--------------------------------------------------------------------------
# * Update animation count
# DEFAULT code is:
# def update_anime_count
# if moving? && @walk_anime
# @anime_count += 1.5
# elsif @step_anime || @pattern != @original_pattern
# @anime_count += 1
# end
# end
#end
###-----------------------------------------------------------------------
## Change the "@anime_count += 1.5" number higher or lower to adjust speed.
#--------------------------------------------------------------------------
# You could set-up the Animation speed bit below in a similar way that I did
# for the Dash speed part, but for now I've just set it in this script
# to how I like for my game.
#------------------------------------------------------------------------
def update_anime_count
if moving? && @walk_anime
@anime_count += 1.0
elsif @step_anime || @pattern != @original_pattern
@anime_count += 1.0
end
end
end
#----------------------------------------------------------------------
Paste the script between the Materials and Main Process sections on your script list. I'd also suggest to post it below any scripts in your project that might affect character movements.
Feel welcome to use it in any project. Ok, hope that helps someone out there. Cheers! 🙂