Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: jailuis on August 10, 2011, 10:01:25 am

Title: [XP] Script Request: Using a Map as the Main Menu
Post by: jailuis on August 10, 2011, 10:01:25 am
Is there any posibility of making an script that allows me to use a map  as the main menu? Sort as Fable 3 menu, where  the "Start Menu" was actually your "Room", where you had your weapons  and clothing and gold.

I tought it could be simple, using maybe events to call the diferent parts the main menu has (lets say, Equipment, Status, Save, Load Quit....)

Anyways, if someone could help me with this, it would be really apreciated ^^
Title: Re: [XP] Script Request: Using a Map as the Main Menu
Post by: LivingstoneIPresume on August 16, 2011, 01:41:28 pm
I think this is a great idea. I've not dealt in menu systems myself, but I imagine that this would be simple enough. You wouldn't really need much coding at all.
My suggestion:
Find a script that memorizes the players x and y position.
Learn how to call different scenes from events.

Make a room, and make a common event that runs when you press a button(or use an item, if you really want to go for the Fable 3 feel) to memorize your x and y position and transfer the player to the room. Have an exit that restores a players map and x,y position.
Add events to the room that call up your menu scenes.

Disable the current menu(no clue how).

All in all, it's fairly simple with little coding and a lot of eventing.

Title: Re: [XP] Script Request: Using a Map as the Main Menu
Post by: G_G on August 16, 2011, 05:12:39 pm
This doesn't need a script. There are event commands to store players x, y, and map id into variables. This is probably one of the most easiest things to event. And script wise, it'd be a matter of removing a few lines to prevent the player from going into the actual menu.
Title: Re: [XP] Script Request: Using a Map as the Main Menu
Post by: ForeverZer0 on August 16, 2011, 05:23:56 pm
Here's them lines:

class Scene_Map
  def call_menu
    $game_temp.menu_calling = $game_temp.menu_beep = false
  end
end