Gw Temp

Menu

Tutorial - 'Simple CMS' by fyreflie

An item about RPGMaker 2000 posted on

Blurb

A tutorial on making a simple Custom Menu System, Basically the outline of it!

Body

"Easy" CMS Tutorial

Also, this is my first ever tutorial, so be nice in your comments! :D I think that I've covered everything that you need.
First you need to decide if you REALLY need a Custom Menu System. This one is pretty basic. Also, creating a good CMS takes a LOT of time.

For this you will need: RM2K =P
A basic knowledge of Variables, Switches, Fork Conditions, A reasonably good CMS chipset.

First create the map. 20 x 15. You can really do whatever you want with this. Put in a clock - there is a tut for a real time CMS clock somewhere on gaming world, or a map or whatever.

But you have to put in an event that makes the cms work bug free.
Parallel Process, use the transparent tile as the picture.
The coding should be (variables different depending on game of course):
<>Enter Password: [0011:Cms Password]
<>Fork Optn: Varbl [0011: Cms Password]-6
<>
<>Excepting Case
<>
<>End Case
<>
Now create a Common Event. Parallel Process, and don't check the appearence conditions switch box.

Put in a fork Condition and check switch, [####:Cms Start]- OFF
Then undeneath (between Fork Optn: Switch... and Excepting Case put in a
*Disable System Menu (3rd page, 2nd column).
*Enter Password (chech the boxes that say 6 and wat until key hit). And choose an unused variable, we'll call it CMS PASSWORD). The 6 means that if the cancel key is pressed (x) the variable CMS password will be set at 6.
*FORK CONDITIONS - Variable CMS PASSWORD=6.
* FORK CONDITIONS - Switch 0019 CMS 1 - on.
* Change Switch- 0019 CMS 1- off (? This seems to be vital to its working. 0_o)
*memorise place - Do this in 3 DIFFERENT variables. That is of utmost importance!
* Move All (? This is vital too)
*Set Screen Tone R-000, G-000, B-000 S-100
*Change hero walk GFX to a cursor.
*Teleport to menu
*set screen tone - R-100, G-100, B-100, S-100
*Change variable CMS Password - 0
*Change switch CMS START on

The excepting case has the same coding from Memorise place down.

Here is the coding.

<>Fork Optn: Switch [0016:cmsstart] - OFF
<>Disable System Menu: Disable
<>Enter Password: [0011:CMS PASSWORD]
<>Fork Optn: Varb[0011:CMS PASSWORD]-6
<>Fork Optn: Switch [0019:CMS1]- ON
<>Change Switch: [0019: CMS1]- OFF
<>Memorize Place: [0014],[0017],[0020]
<>Move All
<>Set Screen Tone:(R000,G000,B000,S100),0.2sec(W)
<>Set Hero Walk Graphics: Hikaru->Cursor-1 Set
<>Teleport: 0023 Menu (013,008)
<>Set Screen Tone:(R100,G100,B100,S100),0.2sec(W)
<>Variable Op: [0011: CMS PASSWORD] Set, 0
<>Change Switch: [0016cmsstart: CMS1]- ON
<>
:Excepting Case
<>Memorize Place: [0014],[0017],[0020]
<>Move All
<>Set Screen Tone:(R000,G000,B000,S100),0.2sec(W)
<>Set Hero Walk Graphics: Hikaru->Cursor-1 Set
<>Teleport: 0023 Menu (013,008)
<>Set Screen Tone:(R100,G100,B100,S100),0.2sec(W)
<>Variable Op: [0011: CMS PASSWORD] Set, 0
<>Change Switch: [0016cmsstart: CMS1]- ON
<>
:End Case
<>
:End Case
<>
:Excepting Case
<>
:End Case
<>

Now for some tips on CMS map making. For the Exit option, Play a descision sound effect, Like Decision2 in the RTP. Set the Screen tone to Black, 0.2 Seconds, Wait.
Change the Walk Graphics back to normal Go To Memorized Place (2nd page) and then Set the Screen tone back to normal, 0.2 seconds, wait. Change Switch [0016cmsstart: CMS1] back to OFF. Then you're done!