Help - Search - Members - Calendar
Full Version: [Demo + Script] Skip Title Script v.2.0
RPG RPG Revolution Forums > Scripting > Script Tutorials > RGSS
Pages: 1, 2
woratana
Skip Title Script
Version 2.0
by Woratana
Release Date: 21/04/2008


Introduction
This script will skip the Title Screen to Map when game start,
I script this to make VX possible to make game's intro by event before Title Screen.


Features
Version 1.0
- Set Map_ID/X/Y of Location
- Set Party Members when skip Title (or) Use Default Start Members from Database


Demo
You can download demo that shows how this script works with intro made by events.
Click to view attachment << Version 1.0 Demo


Script
Place it above main.
Version 2.0
Click to view attachment

Click to view attachment << Version 1.0


Instruction
After placed script, go to Main in Script Editor and find the line:
CODE
$scene = Scene_Title.new

replace it with
CODE
$scene = Skip_Title.new


You can set start location by edit these lines:
CODE
MAP_ID = 2
START_XY = [8,7]
START_MEMBER = [1,2,3]

MAP_ID = ID of Map
START_XY = [X,Y] of Start Location
START_MEMBER = [id of actor in database,id of other actor in database,...]
^ For example, START_MEMBER = [2,4,5,8] will add the actors id 2,4,5,8 from database in the party.

If you want to use Start Party Members that you set in database, use START_MEMBER = 0


Author's Notes
Free for use in your non-commercial work if credit included. If your project is commercial, please contact me.

Please do not redistribute this script without permission.
And don't post this script out of http://rpgrevolution.com/ without permission.
SeeYouAlways
Nice. After the introduction, does it return to the title screen, or does the title screen show up after you reset the game and have seen the introduction?

Also, some people have wanted some splash screens before the title screen appears. Will this script allow that?

Apologies for the stupid questions... My PC is really slow at the moment and I can't try this out. sad.gif
Rory
You mean if this will skip the Splash Screens too?
woratana
You can use this to move player to map that there's splash screen. (If you made splash screen by event)

And make the event in that map to check if player press the right button, use call script
CODE
$scene = $Scene_Title.new

will move player to the title screen.

edit:
I forgot that there's event command that will send player to title screen too =_____=~

so you don't have to use that call script >_<~
Puppet Of Fate
Does this work for Xp too?
woratana
Demo Uploaded!
You can download demo of this script from the first post

@Kira
No, RMXP and VX Scene has a bit different structure,
I can script XP for you if you want~^^
Dainreth
Oh, I don't reply on this topic. As you know, I love this script, it's one of the scripts I've mostly waited for! Thanks for scripting and give me the link on the german board. Keep up the good work!
Puppet Of Fate
QUOTE (woratana @ Feb 1 2008, 01:51 AM) *
Demo Uploaded!
You can download demo of this script from the first post

@Kira
No, RMXP and VX Scene has a bit different structure,
I can script XP for you if you want~^^



Sure i'd love you too. Just send me a pm when your finished.
woratana
Finished!

Check your PM, Kira.

Should I post it here? I mean in RGSS1 forum.
Nechi
Good Script!!
Wor-Kun
Dainreth
A question, wora. Is there any possibility to add something like a transparent function? So that the you can't see the hero when skipping the title? I know theres a eventfunction which do this..but it's slower than the script.
woratana
You may add no member in party when game start,
so you will not see any player character unless you use event command to add actor.

If you want to use script, call script like this:
CODE
$game_player.transparent = true/false

true to make player transparent
false to make player non-transparent
Dainreth
Ah, that's the way I should do this..thanks wora!
I really should learn RGSS it seems that it isn't so difficult smile.gif
neclords
This script is awesome..

Hhe..

The opening before title...

Awesome..
Dragooner
Woratana, this one is really good.
I have two questions:
If I set a video(using BGM), can I get it stop replaying over and over again?
And, two windows (the Active Movie one) appears, but only one plays the video, is there a way to block the wrong one?
rolleyes.gif
woratana
Umh, I don't sure about how video script works.

So I cannot answer your question right now. Sorry about that.
elflyfreely
I love it, really.
Dragooner
I've fixed the problem with the video(taked some time), but now I got an error on the line 237 of Game_Play.
Undefined method 'character_name' for:NilClass


maybe it's time to give up on the intro vid.
confused.gif
Cirka88
Can you post the XP version of the script mentioned earlier? I'd really appreciate it.
woratana
@Cirka

I can't find it. You may want to ask Kira for that smile.gif
Cirka88
Ok. Thanks anyway. I'll PM Kira about it.
jjgriff93
rolleyes.gif hello!
does anybody know of a way or an rgss script to skip the title screen in rpg maker xp?
it would be a really big help.
thankyou biggrin.gif
woratana
@jjgriff93

Here you go~ smile.gif

Add this above main:
CODE
#==============================================================================
# ฆ [XP] +Skip Title Script+
#------------------------------------------------------------------------------
# Version 1.0
# by Woratana [woratana@hotmail.com]
# Release Date: 03/02/2008
#
#==============================================================================

module Worale
#------------------------------------
# SETUP START LOCATION HERE!
#-----------------------------------
  MAP_ID = 2
  MAP_X = 9
  MAP_Y = 7
  MEMBERS = [1,2,3]
end

class Skip_Title
  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
    $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.skip_setup_starting_members
    $game_map.setup(Worale::MAP_ID)
    $game_player.moveto(Worale::MAP_X, Worale::MAP_Y)
    $game_player.refresh
    $game_map.autoplay
    $game_map.update
    $scene = Scene_Map.new
  end
end

class Game_Party
    def skip_setup_starting_members
    @actors = []
    for i in Worale::MEMBERS
      @actors.push($game_actors[i])
    end
  end
end


To setup the script is similar to VX one, I think you will understand it~^^

The other thing is you've to go to "Main"

replace line:
CODE
$scene = Scene_Title.new

with >>
CODE
  if $BTEST
  $scene = Scene_Title.new
  else
  $scene = Skip_Title.new
  end


This will help you to not skip title when you're testing batlte from database.
jjgriff93
thankyou woratana!! That's been a really big help. biggrin.gif
GasparXR
Really nice script, it's exactly what I was looking for! You make some really good scripts! Unfortuantely I'm not at home right now so I can't try it out, but I will, and I'll post some feedback!
Shadoan
Ok, this is stupid but here I go.

Anyone ever thought of making a map the title? End game and start new position is easy, but on load game, thats always a hard one right?

Not to steal the glory but anyone with the same idea but can't get the load screen up, go to events and use call script or script button right under advance on page 3.

Put this code in it.

QUOTE
$scene = Scene_File.new(false, true, false)

THIS opens the load Menu, no matter when or where in a event, I was going to use this script and make a map title, this post is for those who want to map a map for their title screen in their own way the same.

By the way Woratana, AWESOME SCRIPT!!!
woratana
Nice. smile.gif

However, Scene_Title has advantage that it has scripted 'check save file availability' method.
So it will not let the player get into Load screen if there's no save file.

So maybe you want to add about how to check that~ smile.gif
Shadoan
Thats the hard part........
Im an amature in rudy scripting to do the little things.
Opening the load menu or any other function from scripts like the item menu, or the skill menu or any menu from via advance script, or editing coordinates and numbers from scripts knowing what those numbers do.

Theres nothing more to it I know.

Even IF there wasn't a save file, it won't appear on the load screen.
jjgriff93
right, I had a problem and i've got no idea how to fix it. I'm hoping you can help me Woratana. happy.gif
I inserted your script, entered my map number and co-ordinates, then put in [start_member=0] for the party members.
I'm having a kind of introduction video to my game. When I test it, It skips the title screen and goes to the right map but it comes up with no player in it, and the autorun event that makes the video doesn't start. It also comes up at the wrong co-ordinates too. Please can you help if you can! Thanks!
woratana
Show me what did you put in there. smile.gif

The actor ID is start from 1.
sean7595
QUOTE (woratana @ Jan 30 2008, 07:09 PM) *
[
Author's Notes
Free for use in your non-commercial work if credit included. If your project is commercial, please contact me.

When you say Commercial and non-commercial what do you mean
Twilight27
Um...when I copy/paste your script, it is pasted as one long line, and not in the format shown in the first page?
I know for another script, this occurs when it can only work with itself and not another script, but...I deleted the other script you have and the same problem occurs.

In the script page, (at the bottom) there's: (* = square box thingy)


(insert here)

* Main Process
Main


Where exactly am I supposed to put the script? Maybe am putting it in the wrong place?
(And also....when adding more than one scripts to your game, where do they all go? Do you 'insert' a new space above the * Main Process?)
YanXie
I guess you use IE ?

Well,this only happen if you use IE,it would never happen to firefox user,so use firefox instead of IE.

And no,insert new space above (Insert Here).
Twilight27
Okay thanks, it works perfectly now happy.gif. It was stupid IE giving problems.

Um, another question! How do you skip the intro demo now? I've seen in other games, the message "Press shift" to skip.

So...how to?

-thanks.
woratana
@sean7595
Commercial is game that you sell, non-commercial is game that you release it for free.

@Twilight
Just use event command to check if the button is pressed smile.gif

you may want to take a look in demo smile.gif
sean7595
Thanks, i aint that smart so i didnt know what it meant! tongue.gif
Really Good script though!
jjgriff93
sorry I didn't reply sooner, but I haven't checked my emails 4 ages! laugh.gif
I sorted the problem anyway, I think I'm finally starting to understand it better.
It's just that with my wierd scripts, it wouldn't work, so I replaced skip_setup_starting_members with setup_starting_members!
Now, you've got to admit, thats a work of scripting genius lol! biggrin.gif
Xirdneh
Hey Woratana,

Is there a way I could change it so that I could do something like this? Have it load from the players most recent or a specified save slot, use some events to make the actor move around randomly (Or maybe I could have conditional branches and variables so that I can set move routes.. I dunno.) but also make it my title screen.

So in a nutshell have the start screen show the player moving around where they last saved?
gilly
I was wondering is it possible for somebody to "merge" this script (skip title) and the deadlydan title script http://www.rpgrevolution.com/forums/?showtopic=8310

so that i can skip the titles play some splash/moving pictures intro, (with events), then return to my modified title screen

really would be a great help :-)
YanXie
Nope you don't need to modify anything for both script to work,since they are using separate class(Scene_Title and Skip_Title)so you could just call Title screen like usual.

cheers,puppeto4. smile.gif
woratana
Updated to Version 2.0!!!

- Shorter code
- Compatible with other script that change Scene_Title

smile.gif
Xirdneh
This is awesome because after I tell it where to skip to I can have an event randomly send it somewhere else so now it's random skip title screen! How hard would it be to make the title menu box pop up while you watch the intro scenes? One more thing I'm curious about Woratana, anyway of skipping GameOver screen? You know how in World of Warcraft when you die, you're a ghost in a graveyard and you have to go back to your body. I'm trying to do something like that. When I look at some of your scripts I already have plus the regular ones everything I try comes up short...

Anyway, nice script can't wait for more. You make me want to learn scripting but, time, ya know. smile.gif
woratana
Yeah, time, it make me stop scripting... smile.gif


Anyway, these script may fit your need~

Map Story Title:
http://www.rpgmakervx.net/index.php?showtopic=466
(Show title menu command on map)

And for game over, you may want to try 'Gameover -> Common Event'
http://rmrk.net/index.php/topic,24897.0.html

smile.gif
Xirdneh
QUOTE (woratana @ Apr 21 2008, 05:10 PM) *
Yeah, time, it make me stop scripting... smile.gif


Anyway, these script may fit your need~

Map Story Title:
http://www.rpgmakervx.net/index.php?showtopic=466
(Show title menu command on map)

And for game over, you may want to try 'Gameover -> Common Event'
http://rmrk.net/index.php/topic,24897.0.html

smile.gif



Thanks! I don't know how I can't find these when I search maybe I'm using the wrong keywords.

EDIT: Game Over Link doesnt work.. sad.gif
2nd Edit: Ok, I tried a few hours later and now it works..
jjgriff93
hi Woratana me again!
I was wondering if you knew the peice of code that clears all states, bcus in the gameover script i'm making, it has a continue option that uses a common event to determine where you go back to. That works fine, but as soon as it loads the map, it goes back to the gameover scene. I think it's bcus the death state keeps doing it. Cheers! sweat.gif


rolleyes.gif I'll probably post the script soon if I can get it working! thumbsup.gif
woratana
I think you can just use event command to recover all member's HP smile.gif
jjgriff93
yeah, I thought that but for some reason, it still keeps happening huh.gif
RPGXP is so annoying!! dry.gif
woratana
Then you shouldn't ask me about XP in this VX forum ~>_>~
bojjenclon
I am getting an error in Scene_Player line 257
arickertman
Ok this is a really good script for what I'm trying to do. So thanks. But when I use Sound Spawn's Movie script for an intro movie. It doesnt work how I want it to.
I use this script to skip the title screen. And I use the Movie script to have a movie play. Once the movie is done I try and make start the title screen but the Active movie window opens up, you have to close it in order for the title screen to pop up.

This is annoying and but I dont know how to fix it.

Thought maybe someone could help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.