|
#1
|
||||
|
||||
|
Bueno, eso, quería saber si se podría desactivar este script de correr:
[SPOILER]#================================================= ===================== # ++ Dash Characterset Edit ver. 1.21 ++ # Script by ParaDog # http://2d6.parasite.jp/ #------------------------------------------------------------------------------ # Additional 'dashing' movement is now possible by pressing the specified DASH # key (preset in the script to the [Shift] button / Input::A). # # Additional charsets for the dash script are kept in the "Graphics/Characters" # folder, just like the regular charactersets. # # Name the new dash movement charactersets the same as the regular ones, but # with a new '_dash' extension. As an example, you would name the very first # characterset: 001-Fighter01_dash. #------------------------------------------------------------------------------ # Additional notes: # This system can be used with the '8-Direction Characterset Edit' system, but # please place this script 'ABOVE' the fore-mentioned script for them to work # together properly. # # As you can combine the two scripts (Dash and 8-Directional), you can also use # charactersets that show diagonal running action, also stored within the same # "Graphics/Characters" folder. # # Naming the new graphics would require the inclusion of both '_dash' and the # '_quarter' extensions as shown here: 001-Fighter01_dash_quarter. #================================================= ============================= class Game_Player < Game_Character SPEED_DASH = 4 # 'Dash' movement speed. SPEED_NORMAL = 3 # Typical movement speed. # This indicates the input button used to perform the dash (Input::(Button)) KEY_DASH = Input::A # This switch indicates whether characters that do not have any '_dash' sets # are permitted to dash/run. NO_FILE_DASH = true # When standing still graphics is not modified # ( true:It does not modify / false:It modifies ) CHANGE_IN_MOVING = true # Dash Prohibiting Switch ID # If this RMXP Switch is turned ON, the 'Dash' system is disabled. NO_DASH_SWITCH = 2 end #================================================= ============================= # ** Game_Player #------------------------------------------------------------------------------ # This class handles the player. Its functions include event starting # determinants and map scrolling. Refer to "$game_player" for the one # instance of this class. #================================================= ============================= class Game_Player < Game_Character #-------------------------------------------------------------------------- # * Frame update #-------------------------------------------------------------------------- alias dash_update update def update # If moving, event running, move route forcing, and message window # display are all not occurring unless $game_system.map_interpreter.running? or @move_route_forcing or $game_temp.message_window_showing if !($game_switches[NO_DASH_SWITCH]) # Key decision if Input.press?(KEY_DASH) and (CHANGE_IN_MOVING == false or Input.dir8 != 0) if (dash_graphic_exist?($game_party.actors[0]) or NO_FILE_DASH) # If it is not in the midst of rushing, 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 #-------------------------------------------------------------------------- # * Dash graphics? #-------------------------------------------------------------------------- def dash_graphic_exist?(actor) # Reading test begin RPG::Cache.character(actor.character_name.to_s + "_dash", actor.character_hue) rescue return false end return true end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- alias dash_refresh refresh def refresh dash_refresh # When party number of people 0 is not, if $game_party.actors.size != 0 actor = $game_party.actors[0] # Setting the file name and hue of the character if @dash_on and dash_graphic_exist?(actor) fileplus = "_dash" else fileplus = "" end @character_name = actor.character_name + fileplus @character_hue = actor.character_hue end end end[/SPOILER] Ya que no me deja cambiarle la velocidad al personaje, pero tampoco quiero borrar el script Se agradece x( |
![]() |
|
|
Temas Similares para: ¿Hay una forma de desactivar un Script a base de un comando? [XP]
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Server Base Builder 6.5 LCR GaminG [Base Builder] 2011 | @maxixd | Counter-Strike | 1 | 14-abr-2011 22:33 |
| ========Script Jon============ Lista de comando de script. | jon_maker | RPG Maker | 3 | 17-dic-2010 18:12 |
| Ayuda Para Cambiar De IOS base 35 a base 37 | AnimationMS | Wii Scene | 2 | 17-ago-2010 02:49 |
| Ayuda!!! script corte de pokemon script project. | pitufos | RPG Maker | 0 | 20-may-2010 21:36 |
| ~Base De Datos de Script de EMD~ | Alkimista_Zieg | RPG Maker | 262 | 07-dic-2009 03:12 |