Author Topic: [XP] Maps before title  (Read 11103 times)

Offline Valdred

  • Ethereal Devastator
  • ****
  • Posts: 256
  • LV: 13
    • View Profile
[XP] Maps before title
« on: April 02, 2010, 06:35:08 PM »
Pre-title map(s)
Authors: Valdred
Version: 2.0
Type: Execute selected maps before the title screen
Key Term: Misc add-on

Introduction
Many people have requested a way to have one or more maps executed before the title screen so I decided to make this.
I guess it's mainly for cutscenes and stuff but it can be used for gameplay as well.

Features

  • Fully featured maps before the title screen, made and set up just like other maps.
  • Easy to use, I guess

Screenshots
The maps would look just like ordinary maps, no need for screenshots.



Script

(click to show/hide)

Insert above main.

Instructions
1. Put player starting position (you know, the square with an 's' inside) where you want the player to start after the title screen.

2. Near the top of the script, you will find a configuration section.
   Change '$starting_map' to the ID of the map you want the player to start at before the title. (the upper one of your maps got ID 1, the one bellow is ID 2 etc.) then change $starting_x and $starting_y
   to the players starting position on the map. (to find out the cordinates of a spot, go to events-layer and click the spot. The cordinates    will be in the bottom right of the editor)

3. When you want to proceed to the title screen. Use a 'script' event with this code:
Code: [Select]
finish


Compatibility

Will probably not work with some scripts editing the title screen. That's all, I think.

Credits and Thanks

  • Valdred for writing it
  • Nathmatt for optimizing the code and adding a nice feature.
  • Skaraflame and others for requesting it

Author's Notes
If you need help just tell, also if anyone feels like optimizing the script, just do it.
« Last Edit: April 08, 2010, 11:09:04 PM by game_guy »

Offline skaraflame

  • Trained Member
  • *
  • Posts: 31
  • LV: -16
    • View Profile
Re: Maps before title
« Reply #1 on: April 02, 2010, 06:56:06 PM »
Awesome Script, now Masamune will make sense XD

Offline Tyril132

  • Transcended Spirit
  • ***
  • Posts: 182
  • LV: 11
  • Gender: Male
  • 8-bit Style, 16-bit Attitude
    • View Profile
Re: Maps before title
« Reply #2 on: April 02, 2010, 07:40:48 PM »
Nice work, quick, simple and easy to use.

I just have one question... is "finnish" misspelled intentionally in both the script and instructions, or was that an accidental oversight? I noticed it actually defines "finnish" in the script. It might be better to clear this up now to avoid potential confusion.
Lv. 7 Writer | Lv. 7 Composer | Lv. 7 Mapper | Lv. 4 Eventer | Lv. 0 Scripter | Lv. 1 Spriter
DSC Project Soundtrack
(click to show/hide)

Subsonic_Noise

  • Guest
Re: Maps before title
« Reply #3 on: April 02, 2010, 07:41:22 PM »
This script is just what I needed, thanks + level up!
Just one flaw.. 'finnish' (I don't know what the finnish have to do with this) somehow doesn't send me to the menu, but to the first map. I'll be able to fix that if you don't, though.

Offline Jackolas

  • Ethereal Devastator
  • ****
  • Posts: 499
  • LV: 31
  • Gender: Male
  • Its just me
    • View Profile
    • My Clan
Re: Maps before title
« Reply #4 on: April 02, 2010, 07:54:55 PM »
I'm sure I made something like this (and probably some other persons also made it) in the script request section.

anyway. nice simple and short script:P

Offline Valdred

  • Ethereal Devastator
  • ****
  • Posts: 256
  • LV: 13
    • View Profile
Re: Maps before title
« Reply #5 on: April 02, 2010, 08:34:26 PM »
Just my bad spelling, sorry guys. I'll fix it. I'll fix the other bug too. It's just me being stupid  :^_^':

EDIT: Fixed. Something that sucks with the current version is that no matter what you do, the starting map will be executed every time you open the game, most people will probably prefer if it's only executing first time. Next version, which will be coming up soon, will include an option to switch between "always" and "First time"
« Last Edit: April 02, 2010, 08:39:53 PM by Valdred »

Subsonic_Noise

  • Guest
Re: Maps before title
« Reply #6 on: April 02, 2010, 08:59:58 PM »
Just my bad spelling, sorry guys. I'll fix it. I'll fix the other bug too. It's just me being stupid  :^_^':

EDIT: Fixed. Something that sucks with the current version is that no matter what you do, the starting map will be executed every time you open the game, most people will probably prefer if it's only executing first time. Next version, which will be coming up soon, will include an option to switch between "always" and "First time"
Well, I'd suggest just to have a paralell process that checks if the enter button / any other button is pressed, and if it is, it will execute "finish" and thus skip the intro.

Offline Valdred

  • Ethereal Devastator
  • ****
  • Posts: 256
  • LV: 13
    • View Profile
Re: Maps before title
« Reply #7 on: April 02, 2010, 09:09:30 PM »
For now, that's a good idea. But I still think I'll add the feature in the next version. (and also a skip feature, thanks for the idea  :))
In my opinion. The less the user has to do, the better.

Subsonic_Noise

  • Guest
Re: Maps before title
« Reply #8 on: April 02, 2010, 09:28:10 PM »
In my opinion. The less the user has to do, the better.
Absolutely!

Offline nathmatt

  • Chaos User
  • ******
  • Posts: 1289
  • LV: 114
  • Gender: Male
  • The Add_on King
    • View Profile
    • Nathmatt Productions
Re: Maps before title
« Reply #9 on: April 02, 2010, 11:28:42 PM »
was bored so here added the option for title to be called if there is a save file and where you call title through normal event call

if you alias Scene_Title there is no need to make a Scene_Title2

also if you have any questions on what i did feel free to pm me

(click to show/hide)
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script
(click to show/hide)

Offline Ganstaquay5000

  • Awakened Visionist
  • **
  • Posts: 60
  • LV: 5
  • Gender: Male
  • Rulio Hagen
    • View Profile
Re: Maps before title
« Reply #10 on: April 03, 2010, 06:52:03 AM »
This is great because I wanted to have a quick scene occur before the title and now I can.


Come see the revival of a 2 year old project become the next big Rpg game.
Project Destiny Calls
Project: Destiny Calls Youtube Channel

Offline Alton Wyte

  • Awakened Visionist
  • **
  • Posts: 66
  • LV: 0
  • Gender: Female
    • View Profile
Re: Maps before title [xp]
« Reply #11 on: April 04, 2010, 12:23:55 AM »
After I put this in I made a map for a scene and it uses switches in it but everywhere a switch is used the game acts like the switch is always on.

Offline Valdred

  • Ethereal Devastator
  • ****
  • Posts: 256
  • LV: 13
    • View Profile
Re: Maps before title [xp]
« Reply #12 on: April 04, 2010, 12:10:23 PM »
If you turn on a switch, it will stay on until you turn it off. No matter what map they were used in.

Offline Alton Wyte

  • Awakened Visionist
  • **
  • Posts: 66
  • LV: 0
  • Gender: Female
    • View Profile
Re: Maps before title [xp]
« Reply #13 on: April 04, 2010, 04:33:01 PM »
No I know that I mean that the switches start out on on that map only; BEFORE I turn it on.

Offline Valdred

  • Ethereal Devastator
  • ****
  • Posts: 256
  • LV: 13
    • View Profile
Re: Maps before title [xp]
« Reply #14 on: April 04, 2010, 06:28:58 PM »
The switches is on by default? strange, but it can't be this script I think. This script doesn't do anything with $game_switches.
What other scripts are you using?

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: Maps before title [xp]
« Reply #15 on: April 08, 2010, 04:44:57 AM »
Not really my place to tell you, but the [XP] tag is on the wrong side of the subject title. That has to be right before it can be moved to the database.

Good job on the script, though.  :naughty:
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Valdred

  • Ethereal Devastator
  • ****
  • Posts: 256
  • LV: 13
    • View Profile
Re: Maps before title[XP]
« Reply #16 on: April 08, 2010, 04:02:57 PM »
fixed

Offline Graton

  • Total Beginner
  • Posts: 1
  • LV: 0
  • Gender: Male
  • I'am A NEWBIE Guy's Please Help me!!!!
    • View Profile
    • Visit My WebSite!!
Re: [XP] Maps before title
« Reply #17 on: January 14, 2017, 03:24:46 PM »
Hey It is Not Working!!! :\'( :\'( :\'( :\'( :\'( :\'(

EDIT: Please do not double-post within a 24 hour period, thank you.  - Staff
« Last Edit: January 14, 2017, 10:18:30 PM by ForeverZer0 »
||            ||______)||               ||-----\           
 ||______||______  ||               ||        |
 ||______||______) ||              ||____/
 ||            ||______   ||_______||
 ||            ||______)  ||______)||