The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: creepy on January 11, 2006, 05:11:36 AM

Title: By-pass Initial Title
Post by: creepy on January 11, 2006, 05:11:36 AM
I found this script in //www.rrrevolution.com
Author: zeecha (so credits for him/her)

Skips the initial menu and goes straight into the game, where the Part Start Position. Ideal if your making a custom menu.

Make a new script above main and paste the following code in it.


class Scene_Title
# ------------------------------------
# Scipted by Adam Smith / zeecha
# ------------------------------------
def main
 $data_actors        = load_data("Data/Actors.rxdata")
 $data_classes       = load_data("Data/Classes.rxdata")
 $data_skills        = load_data("Data/Skills.rxdata")
 $data_items         = load_data("Data/Items.rxdata")
 $data_weapons       = load_data("Data/Weapons.rxdata")
 $data_armors        = load_data("Data/Armors.rxdata")
 $data_enemies       = load_data("Data/Enemies.rxdata")
 $data_troops        = load_data("Data/Troops.rxdata")
 $data_states        = load_data("Data/States.rxdata")
 $data_animations    = load_data("Data/Animations.rxdata")
 $data_tilesets      = load_data("Data/Tilesets.rxdata")
 $data_common_events = load_data("Data/CommonEvents.rxdata")
 $data_system        = load_data("Data/System.rxdata")
 $game_system = Game_System.new
 Graphics.frame_count = 0
 $game_temp          = Game_Temp.new
 $game_system        = Game_System.new
 $game_switches      = Game_Switches.new
 $game_variables     = Game_Variables.new
 $game_self_switches = Game_SelfSwitches.new
 $game_screen        = Game_Screen.new
 $game_actors        = Game_Actors.new
 $game_party         = Game_Party.new
 $game_troop         = Game_Troop.new
 $game_map           = Game_Map.new
 $game_player        = Game_Player.new
 $game_party.setup_starting_members
 $game_map.setup($data_system.start_map_id)
 $game_player.moveto($data_system.start_x, $data_system.start_y)
 $game_player.refresh
 $game_map.autoplay
 $game_map.update
 $scene = Scene_Map.new
end
end
Title: By-pass Initial Title
Post by: SiR_VaIlHoR on January 11, 2006, 03:46:20 PM
Thanks! Good job :)
Title: By-pass Initial Title
Post by: creepy on January 11, 2006, 11:17:58 PM
I recommend this script for people
That have long or cool intro's in their games
Title: By-pass Initial Title
Post by: Season In The Abyss on January 15, 2006, 08:35:38 PM
Not bad, but with that you need to edit the Scene_Load to make them appear in the map or menu.
Title: By-pass Initial Title
Post by: creepy on January 15, 2006, 09:56:32 PM
Well you can find the demo in //www.rrrevolution.com
if you join tell the that i refered you...
but dont have to join i think