The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Doom_master1122 on February 15, 2007, 04:34:17 PM

Title: is there a script that
Post by: Doom_master1122 on February 15, 2007, 04:34:17 PM
when you are at the title screen i can show multiple screens. IE a screen with credits, then switches rto another than the title?
Title: Re: is there a script that
Post by: nevfx on February 15, 2007, 04:37:01 PM
I do know what you mean, but I'm sure this can be done with eventing, but I dont know how...
Title: Re: is there a script that
Post by: Sins and Demise on February 17, 2007, 12:11:17 AM
I think he means opening scene before like the actual title of the game comes up.....LIke for example



*Game opens and shows a prettiful landscape and a few credits to the maker(s)
*Some action and then a clash then...
*BAM title screen comes along in there....


Was that slightly understandable?
Title: Re: is there a script that
Post by: Doom_master1122 on February 17, 2007, 12:20:40 AM
Quote from: Sins and Demise on February 17, 2007, 12:11:17 AM
I think he means opening scene before like the actual title of the game comes up.....LIke for example



*Game opens and shows a prettiful landscape and a few credits to the maker(s)
*Some action and then a clash then...
*BAM title screen comes along in there....


Was that slightly understandable?


thats exactly what i meant.....


i need one like this....
Title: Re: is there a script that
Post by: Irock on February 17, 2007, 12:21:30 AM
Yes. I'll get the script...

class Scene_Cutscene
def main
    $data_actors        = load_data("Data/Actors.rxdata")
    $data_tilesets      = load_data("Data/Tilesets.rxdata")
    $data_common_events = load_data("Data/CommonEvents.rxdata")
    $data_system        = load_data("Data/System.rxdata")
    $data_mapInfos     = load_data("Data/MapInfos.rxdata")
    $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_map           = Game_Map.new
    $game_player        = Game_Player.new
    @save_max = 3
    for i in 0..@save_max     
      if FileTest.exist?("Save#{i+1}.rxdata") : $scene = Scene_Title.new end
    end

    $game_map.setup(14)
    $game_player.moveto(0, 0)
    $game_player.refresh
    $game_map.update
    $scene = Scene_Map.new
  end
end

14 is the map ID you want the cutscene to take place.
    $game_map.setup(14)

When you want to go to the title screen use the event command.
Title: Re: is there a script that
Post by: Doom_master1122 on February 17, 2007, 12:26:12 AM
THANK YOU!!!!!!!
Title: Re: is there a script that
Post by: Irock on February 17, 2007, 12:26:49 AM
No probleme. I can't remember who made it though.