Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Noob Saibot

Dash System by Midnight

Recommended Posts

I will revive these scripts if it kills me...

 

hope you like :D and please give credit for it took like hours for the animation.

 

Go to Game_Player and Find:

 

def refresh
# If party members = 0
if $game_party.actors.size == 0
 # Clear character file name and hue
 @character_name = ""
 @character_hue = 0
 # End method
 return
end
# Get lead actor
actor = $game_party.actors[0]
# Set character file name and hue
@character_name = actor.character_name
@character_hue = actor.character_hue
# Initialize opacity level and blending method
@opacity = 255
@blend_type = 0
end

 

replace it with:

 

def refresh
# If party members = 0
if $game_party.actors.size == 0
 # Clear character file name and hue
 @character_name = ""
 @character_hue = 0
 # End method
 return
end
if !@amiation == @amiation
 @amiation = @amiation
end
# Get lead actor
actor = $game_party.actors[0]
# Set character file name and hue
@character_name = actor.character_name
@character_hue = actor.character_hue
# Initialize opacity level and blending method
@opacity = 255
@blend_type = 0
end

 

Find:

#--------------------------------------------------------------------------
# * Frame Update
#--------------------------------------------------------------------------
def update
# Remember whether or not moving in local variables
last_moving = moving?
# If moving, event running, move route forcing, and message window
# display are all not occurring

 

Add (right below def update):

# -----------------------------------------------------------
# - Animation Dash Script
# - By Emilio Islas aka Midnight
# - Version 2
# -----------------------------------------------------------
actor = $game_party.actors[0]
 if Input.press?(Input::UP) or Input.press?(Input::DOWN) or Input.press?(Input::RIGHT) or Input.press?(Input::LEFT)
if Input.press?(Input::SHIFT) then #change SHIFT to what ever key you want dash to be
if !actor.character_name.include?("_dash")
@animation = "_dash"
else
@animation = ""
end
@character_name = actor.character_name
actor.set_graphic(@character_name + @animation, actor.character_hue, actor.battler_name, actor.battler_hue)
@move_speed = 5
$game_player.refresh
end
 else
if !actor.character_name.include?("_dash")
@character_name = actor.character_name
else
@character_name.sub!("_dash") {""}
end
@animation = ""
actor.set_graphic(@character_name, actor.character_hue, actor.battler_name, actor.battler_hue)
@move_speed=4
$game_player.refresh
end

 

here's the template for the animated running person(I didn't make this template)

herodash1qi.png

 

Original Post: RMXPU.net Archive

 

Back Up of Template: template back up

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...