Thomas' Script Corner
Short Script Snippets by Thomas Smith
Hello! I decided to start getting into scripting a little. I am not a good scripter, but I can make a little bit. These will be small scripts, adding a bit of functionality or changing what is there a bit.
SCRIPTS:
Tell me immediately if something does not work
Short Script Snippets by Thomas Smith
Hello! I decided to start getting into scripting a little. I am not a good scripter, but I can make a little bit. These will be small scripts, adding a bit of functionality or changing what is there a bit.
Feel free to use how you wish in either commercial or non-commercial games. No credit either!
You can make requests here, but it is unlikely that I will answer them. Keep in mind that I will not make large scripts, at least not yet, only small scripts.
SCRIPTS:
SKIP TITLE SCREEN - This is my first script. It's very small, and it removes the title screen at the beginning and automatically starts a new game. Good for very short games. I just made this quickly for practice, feel free to use how you like.
Code:
# Skip Title Screen by Thomas Smith
# This script removes the title screen and automatically starts a new game.
# Good for a short game that needs no title screen.
class Scene_Title < Scene_Base
def start
DataManager.setup_new_game
$game_map.autoplay
SceneManager.goto(Scene_Map)
end
def terminate
Graphics.fadeout(Graphics.frame_rate)
end
end
PAUSE WHILE TALKING - Extremely short script, but one that is vital to pretty much every game. While a message window is activated, all other movement pauses. I hope someone will like it!
Code:
# Pause While Talking by Thomas Smith
# This script pauses all other movement during message windows.
# Good for cut scenes on map or for an ABS.
class Game_Event < Game_Character
alias update_self_movement_orig update_self_movement
def update_self_movement
return if $game_message.busy?
update_self_movement_orig
end
end
DISABLE DASH - Maybe the shortest script in existence, it simply disables dash for the whole game. Not much else to say.
Code:
# Disable Dash by Thomas Smith
# This script removes all dashing from the game completely.
# Not much else to say about this.
class Game_Player
def dash?
false
end
end
Tell me immediately if something does not work
Last edited:


