Skip the Title screen

Howdy,

I was searching for this script myself, but couldn't find it. That's when I started making it myself!
Pretty easy actually!

Just replace Scene_Title with:
  1.  
  2. #==============================================================================
  3. # ** Scene_Title
  4. #------------------------------------------------------------------------------
  5. #   This class performs title screen processing.
  6. #==============================================================================
  7.  
  8. class Scene_Title
  9.   #--------------------------------------------------------------------------
  10.   # * Main Processing
  11.   #--------------------------------------------------------------------------
  12.   def main
  13.      # If battle test
  14.      if $BTEST
  15.         battle_test
  16.         return
  17.      end
  18.      # Load database
  19.      $data_actors            = load_data("Data/Actors.rxdata")
  20.      $data_classes          = load_data("Data/Classes.rxdata")
  21.      $data_skills            = load_data("Data/Skills.rxdata")
  22.      $data_items             = load_data("Data/Items.rxdata")
  23.      $data_weapons          = load_data("Data/Weapons.rxdata")
  24.      $data_armors            = load_data("Data/Armors.rxdata")
  25.      $data_enemies          = load_data("Data/Enemies.rxdata")
  26.      $data_troops            = load_data("Data/Troops.rxdata")
  27.      $data_states            = load_data("Data/States.rxdata")
  28.      $data_animations      = load_data("Data/Animations.rxdata")
  29.      $data_tilesets         = load_data("Data/Tilesets.rxdata")
  30.      $data_common_events = load_data("Data/CommonEvents.rxdata")
  31.      $data_system            = load_data("Data/System.rxdata")
  32.      # Make system object
  33.      $game_system = Game_System.new
  34.      # Make title graphic
  35.      # Play decision SE
  36.      # Stop BGM
  37.  
  38.      # Reset frame count for measuring play time
  39.      Graphics.frame_count = 0
  40.      # Make each type of game object
  41.      $game_temp               = Game_Temp.new
  42.      $game_system            = Game_System.new
  43.      $game_switches         = Game_Switches.new
  44.      $game_variables       = Game_Variables.new
  45.      $game_self_switches = Game_SelfSwitches.new
  46.      $game_screen            = Game_Screen.new
  47.      $game_actors            = Game_Actors.new
  48.      $game_party             = Game_Party.new
  49.      $game_troop             = Game_Troop.new
  50.      $game_map                = Game_Map.new
  51.      $game_player            = Game_Player.new
  52.      # Set up initial party
  53.      $game_party.setup_starting_members
  54.      # Set up initial map position
  55.      $game_map.setup($data_system.start_map_id)
  56.      # Move player to initial position
  57.      $game_player.moveto($data_system.start_x, $data_system.start_y)
  58.      # Refresh player
  59.      $game_player.refresh
  60.      # Run automatic change for BGM and BGS set with map
  61.      $game_map.autoplay
  62.      # Update map (run parallel process event)
  63.      $game_map.update
  64.      # Switch to map screen
  65.      $scene = Scene_Map.new
  66.   end
  67. end
  68.  
Expand to see the code.


This is easy when you want to make a title screen with images!

(I know that it is here somewhere, but like I said, i couldn't find it...)

Greetz,
StYn0!
This is a good advice for inexperience users and could be in RMXP tutorials.
Quote:

just replace $scene = Scene_Title.new = $scene = Scene_Map.new

nahchito wrote:
This is a good advice for inexperience users and could be in RMXP tutorials.
Quote:

just replace $scene = Scene_Title.new = $scene = Scene_Map.new



that's bad. scene title starts up the game with all the database tabling and going straight to map will mess things up
sorry, replace that in MAIN
nahchito, replacing that line in Main skips all $game_... initializations and references. I don't think it'll even run too long starting the game like that without further installations... and those installations would be what Styno included in his script there... well, it's actually more of a Scene_Title rewrite to exclude the possibility of choosing an option anywhere on the title screen.

@Styno: My suggestion is adding those to Scene_Map's main method and change Main class to go to Scene_Map directly, as that'll remove the annoyingly long pause that should occur when using this, as you're effectively scrolling through an additional scene there.
true, my mistake
I suggest calling command_new_game vs. coping and pasting those methods in main. This way, scripts that add $game objects automatically to the command_new_game, will be included.

  1. #==============================================================================
  2. # ** Scene_Title
  3. #------------------------------------------------------------------------------
  4. #  This class performs title screen processing.
  5. #==============================================================================
  6.  
  7. class Scene_Title
  8.   #--------------------------------------------------------------------------
  9.   # * Main Processing
  10.   #--------------------------------------------------------------------------
  11.   def main
  12.     # If battle test
  13.     if $BTEST
  14.       battle_test
  15.       return
  16.     end
  17.     # Load database
  18.     $data_actors        = load_data("Data/Actors.rxdata")
  19.     $data_classes       = load_data("Data/Classes.rxdata")
  20.     $data_skills        = load_data("Data/Skills.rxdata")
  21.     $data_items         = load_data("Data/Items.rxdata")
  22.     $data_weapons       = load_data("Data/Weapons.rxdata")
  23.     $data_armors        = load_data("Data/Armors.rxdata")
  24.     $data_enemies       = load_data("Data/Enemies.rxdata")
  25.     $data_troops        = load_data("Data/Troops.rxdata")
  26.     $data_states        = load_data("Data/States.rxdata")
  27.     $data_animations    = load_data("Data/Animations.rxdata")
  28.     $data_tilesets      = load_data("Data/Tilesets.rxdata")
  29.     $data_common_events = load_data("Data/CommonEvents.rxdata")
  30.     $data_system        = load_data("Data/System.rxdata")
  31.     # Make system object
  32.     $game_system = Game_System.new
  33.     command_new_game
  34.   end
  35. end
Expand to see the code.


:thumb:
My first script, just replace Scene_Title with it. This works 100%!!!
Content Hidden Spoiler
Quote:
#==============================================================================
# ** Scene_Title
#------------------------------------------------------------------------------
# This class performs title screen processing.
#==============================================================================

class Scene_Title
#--------------------------------------------------------------------------
# * Main Processing
#--------------------------------------------------------------------------
def main
# If battle test
if $BTEST
battle_test
return
end
# Load database
$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")
# Make system object
$game_system = Game_System.new
#--------------------------------------------------------------------------
# * Command: New Game
#--------------------------------------------------------------------------
# Reset frame count for measuring play time
Graphics.frame_count = 0
# Make each type of game object
$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
# Set up initial party
$game_party.setup_starting_members
# Set up initial map position
$game_map.setup($data_system.start_map_id)
# Move player to initial position
$game_player.moveto($data_system.start_x, $data_system.start_y)
# Refresh player
$game_player.refresh
# Run automatic change for BGM and BGS set with map
$game_map.autoplay
# Update map (run parallel process event)
$game_map.update
# Switch to map screen
$scene = Scene_Map.new
end
#--------------------------------------------------------------------------
# * Battle Test
#--------------------------------------------------------------------------
def battle_test
# Load database (for battle test)
$data_actors = load_data("Data/BT_Actors.rxdata")
$data_classes = load_data("Data/BT_Classes.rxdata")
$data_skills = load_data("Data/BT_Skills.rxdata")
$data_items = load_data("Data/BT_Items.rxdata")
$data_weapons = load_data("Data/BT_Weapons.rxdata")
$data_armors = load_data("Data/BT_Armors.rxdata")
$data_enemies = load_data("Data/BT_Enemies.rxdata")
$data_troops = load_data("Data/BT_Troops.rxdata")
$data_states = load_data("Data/BT_States.rxdata")
$data_animations = load_data("Data/BT_Animations.rxdata")
$data_tilesets = load_data("Data/BT_Tilesets.rxdata")
$data_common_events = load_data("Data/BT_CommonEvents.rxdata")
$data_system = load_data("Data/BT_System.rxdata")
# Reset frame count for measuring play time
Graphics.frame_count = 0
# Make each game object
$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
# Set up party for battle test
$game_party.setup_battle_test_members
# Set troop ID, can escape flag, and battleback
$game_temp.battle_troop_id = $data_system.test_troop_id
$game_temp.battle_can_escape = true
$game_map.battleback_name = $data_system.battleback_name
# Play battle start SE
$game_system.se_play($data_system.battle_start_se)
# Play battle BGM
$game_system.bgm_play($game_system.battle_bgm)
# Switch to battle screen
$scene = Scene_Battle.new
end
end
Uhm, why do you post a script of yours, what from does from what I see exactly the same as Styn0's, in Styn0's topic?

On topic, nice work Styn0, but as BlueScope said you could add that stuff better to Game_Map.
Well, when i try to start my game with any of these scripts of "no title screen", i got a crash in the line 4253 of Mr Mo's ABS (@skill_keys = $ABS.skill_keys).

What can i do?
not working
Is there a script like this for RMVX around somewhere?
very usefuly

thanks
i want to put anthor picture from my COMP, how??
looks useful.

But if you want to load the game like in the menu, use the call script command like this:
$scene = Scene_Load.new

and you should get to the load screen.

To do exit, use this call script:
$scene = nil

then you should be able to do it.

@fat3gamer: Go to your picture, highlight it, press Ctrl+C. Then go to My Documents > RPGXP > [your game file here] > Graphics > picture and press Ctrl+V.

Note: The directory differs.



OH HANG ON A MINUTE!

It dosent work, i tried every method, the title screen still shows up. 😢

EDIT:
Figured out it was the SDK, but how do I disable the title screen?

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=61068