Klokreations

You are not connected. Please login or register

New Maps on the Title Screen

View previous topic View next topic Go down  Message [Page 1 of 1]

1 New Maps on the Title Screen on Mon May 09, 2011 5:46 pm

Jesse

avatar
Okay, so Yoshi asked me to explain how to add maps to the Title screen, so, being a nice guy, I'll do that for all you rookies out there. Enjoy!!!

Spoiler:
One thiong you could do is just put a Player Starting position on it, but I'm assuming you want people to be able to play this without entering RMXP first, so I'm going to explain this as well as I know how.

1st, choose the map that you want to have the player go to and find that map's ID#. This is Map001, Map002, and so on. This is shown in the top left of the Map Properties window. Then, go into the script and find the page called "Title." If you go to "Scene_Title," you'll come across something completely different.

Now you're on the "Title" page of the scripts. Line 139 has a script like this:
Code:
# Selecting map
    elsif !@map_select.nil?
      @map_select.update
      if Input.trigger?(Input::C)
        case @map_select.index
        when 0
          @map = [60, [1, 1]]
        when 1
          @map = [59, [1, 1]]
        when 2
          @map = [$data_system.start_map_id,
              [$data_system.start_x, $data_system.start_y]]
        end
        @map_select.dispose
        @map_select = nil
        command_new_game
      elsif Input.trigger?(Input::B)
Don't touch the part from "when 2" downward. That's not going to help anything. Under the parts "when 0" and "when 1" you see a bunch of numbers in brackets. This is what you mess with. The first number under the single bracket to be specific. This is your MapID#. The other two #'s in the double brackets are the starting tile, which doesn't even matter, as long as it's a tile that is on the map.

Now I'm assuming you want some way to change the name of these maps too. Line 219 of that same script page. You'll see something like this.
Code:
    ary = ['Trial Map 2', 'Trial Map 1']
    ary.push('Actual Map') if $DEBUG
Just worry about the parts in the quotation marks/apostraphes. You can change this to whatever you like. Personally, I changed the "Actual Map" to Test Map, since that's what I used it for.

Hopefully this is useful to you noobs rookies.

2 Re: New Maps on the Title Screen on Mon May 09, 2011 5:52 pm

Yoshi

avatar
Admin
Woooo, thank you.


___________________________________
Greatest Prime quote in existence:

3 Re: New Maps on the Title Screen on Mon May 09, 2011 5:56 pm

Jesse

avatar
So this is what you needed. I've been known to misunderstand alot in the past.

4 Re: New Maps on the Title Screen on Mon May 09, 2011 5:57 pm

Yoshi

avatar
Admin
Yeah, and it works now. :'D


___________________________________
Greatest Prime quote in existence:

5 Re: New Maps on the Title Screen on Mon May 09, 2011 11:22 pm

Klokinator

avatar
Admin
Finally, someone else is doing tuts. This takes such a huge load off.

Now just proofread it

Thiong. lol

http://klokreations.forumotion.com

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum