Je ne sais vraiment pas si ca marche mais a vous de tester
Pour toujours courire a la sonic pressé F11 et au dessus de main mettez se script !
Code:
#==============================================================================
# ++ ???????????? ver. 2.00 ++
# Script by matao
#
http://maxigame.editboard.com#------------------------------------------------------------------------------
# prenez un character qui fais comme si il courai super vite
# et rajoutez (_speed)
# exemple (coco_speed)
#==============================================================================
class Game_Player < Game_Character
SPEED_DASH = 10 # ??????????
SPEED_NORMAL = 10 # ???????
# ??????????(??????Input: Sad ???))
#(????????????????????????)
KEY_DASH = Input::C
# "_dash"??????????????????????( true:?? / false:??? )
NO_FILE_DASH = true
# ??????????????ID
# (????????????????????????????ON???????
# ??????????????)
NO_DASH_SWITCH = 999
end
#==============================================================================
# ¦ Game_Player
#==============================================================================
class Game_Player < Game_Character
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
alias dash_update update
def update
# ?????????????????????
# ???????????????????????
unless moving? or $game_system.map_interpreter.running? or
@move_route_forcing or $game_temp.message_window_showing
if !($game_switches[NO_DASH_SWITCH])
# ????
if Input.press?(KEY_DASH)
if (dash_graphic_exist?($game_party.actors[0]) or NO_FILE_DASH)
# ??????????????
if @move_speed != SPEED_DASH
@move_speed = SPEED_DASH
@dash_on = true
$game_player.refresh
end
end
elsif @dash_on == nil or @dash_on
@move_speed = SPEED_NORMAL
@dash_on = nil
$game_player.refresh
end
end
end
dash_update
end
#--------------------------------------------------------------------------
# ? ??????????????????
#--------------------------------------------------------------------------
def dash_graphic_exist?(actor)
# ???????
begin
RPG::Cache.character(actor.character_name.to_s + "_speed", actor.character_hue)
rescue
return false
end
return true
end
#--------------------------------------------------------------------------
# ? ??????
#--------------------------------------------------------------------------
alias dash_refresh refresh
def refresh
dash_refresh
# ??????? 0 ??????
if $game_party.actors.size != 20
actor = $game_party.actors[0]
# ??????????????????
if @dash_on and dash_graphic_exist?(actor)
fileplus = "_speed"
else
fileplus = ""
end
@character_name = actor.character_name + fileplus
@character_hue = actor.character_hue
end
end
end