Sie sind auf Seite 1von 9

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory

RPG Maker VX.com

Board Rules

Chat

Dev Blogs

Resources

Scripts

Tutorials

Downloads

Become a Sponsor

Gallery

Members

Search

Calendar

Help

Logged in as: Luqman ( Log Out )

My Controls View New Posts My Assistant My Friends 0 New Messages

Announcement
OwO Quote of the week: I never got around to submitting my beta testing notes, and I'm the best beta tester, therefor errors

RPG Maker VX Community > RPG Maker VX > RPG Maker VX Tutorials
Filter Your Facebook Feed With LinkNotify SocialDitto Lets You Take the Conversation With You Join Twellow, the Twitter Yellow Pages

Note for Tutorial Threads

New threads (tutorials) here will go into a moderation queue. You will not see your thread appear when you create it. A moderator will decide if it will be approved or denied.

[-Scripting-] Adding Title Menu Options, More Main Script Editing. Epic Ancient
Jan 3 2010, 12:31 AM

Rating

Options
Post #1

This edit was made possible with the help of Mithran. --The Goal: To add extra Title Menu Commands. (You'll notice I did this for someone's script request, but this can be made more applicable than just pictures.) All of these edits are made in the script "Scene_Title".
Type: Coder Alignment: Lawful Neutral

If it's a choice between life and death, I pick Purgatory.

You will need two pictures (for this): -A picture named "Controls". -A picture named "Credits". -Both of these go in Graphics/System. --So, let's begin. Note that your title should look something like this, first:

Now, let's open up Scene_Title in the editor and get working. We'll first be heading down to Frame Update:

1 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory

This might make sense to you automatically, but perhaps not. CODE

defines which option is being selected. 0 is the first in the list. 1 is the second. And so on. So, let's add two.

I'm adding in two more options: "Controls" and "Credits". These are not defined yet, nor are they in the menu. Now, let's scroll down to Create Command Window. This tells the game what goes in the actual menu, but not what they do. That's the next step.

This is where some naming comes into play. Right below the s3 = Vocab::shutdown, add these:

What goes inside the quotations is the name of what'll appear on the menu. Feel free to change if desired. Now, inside of CODE

2 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory Now, you could save and try this out, but you'll get this:

A bit cut off, right? Well, let's fix that. On this line:

You'll find "288". This is how far from the top the menu actually is. For an ideal height, try 255, or 260. It really all depends on what you want. I'm going to go with 255. This changes your menu to this:

Now it's no longer cut off. It's time for the hard part: Making these new commands actually DO something. To do this, we'll need two new parts of coding. Since these are slightly big, I'll just give you them. CODE

3 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory

Place that chunk of code directly below CODE

(Or for simplicity, place on lines 233-268.) Let me explain some of this. CODE

If that's messy, ask me what any of it does in a reply. And that's that. Apply, save, and test. Your menu commands will now display the appropriate pictures. (Good for an introductory game for new-to-vx players, [Controls] or for displaying Credits as a menu option instead of in-game event that takes a while to make. [Credits]) I hope you all enjoy this. Make sure to credit Mithran & Me, if you were to use such a feature. (Mostly his code, my attempt at creation.. He helped me touch it up. [Fix bad code])
This post has been edited by Epic Ancient: Jan 3 2010, 01:31 PM

--------------------

IQ: 134 - According to a professional, paid-for quiz.

4 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory

Cheating is Valued - Community Game!

My Signature:
Spoiler: Show

Denslat

Jan 3 2010, 03:18 PM

Post #2

Arigato gozaimasu!
dot gifted

this will be extremely useful edit:erm im having a problem

Gender: Pokemon Type: Designer Alignment: Chaotic Good

When I try to select it from the title screen nothing happens edit: never mind fixed it
This post has been edited by Denslat: Jan 3 2010, 03:20 PM

--------------------

Spoiler:

Show

Spoiler:

Show

Spoiler:

Show

Click the spoiler, you get a cookie!!!!

Epic Ancient

Jan 3 2010, 03:44 PM

Post #3

QUOTE (Denslat @ Jan 3 2010, 09:18 AM)

Arigato gozaimasu! this will be extremely useful edit:erm im having a problem When I try to select it from the title screen nothing happens edit: never mind fixed it
Type: Coder Alignment: Lawful Neutral

If it's a choice between life and death, I pick Purgatory.

Alrighty then. You can do more than fancy pictures, though. Like change music... and fadeout... Probably even go to a map, if you were skilled enough in scripting. All depends on what you want.

--------------------

IQ: 134 - According to a professional, paid-for quiz.

Cheating is Valued - Community Game!

My Signature:
Spoiler: Show

5 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory just curious... when i click either it says "unable to find graphics/system/controls" or "/credits" any help?

Type: Coder Alignment: True Neutral

NAT_Designer

Jan 25 2010, 03:00 AM

Post #5

QUOTE (SirFratley @ Jan 24 2010, 07:59 PM)

just curious... when i click either it says "unable to find graphics/system/controls" or "/credits" any help?

Do not expect me to be nice.

You have to put a picture in /system for both of those, at least, I think that's what the tutorial says. @Epic_Ancient: This is a great tutorial you posted. It solves my credit's problem almost immediately! I'll make sure to credit you and Mithran for your work.

Type: Designer Alignment: True Neutral --------------------

Never think of yourself as entitled to know how the world works. Your job is to live in it, and follow it's rules. Nothing more.

Cyl

Jan 25 2010, 06:42 AM

Post #6

I see now...
inactive.

It looks really cool and somehow geeky but actually, "Controls" and "Credits" will just show a picture until you press the X key. lol Nice Work, I learned something new again.
This post has been edited by Cylindrical: Jan 25 2010, 06:42 AM

Gender: Vanilla Type: Coder Alignment: Neutral Good

-------------------One word:

Paradichlorobenzene
(Currently inactive)

jandurek

Jan 26 2010, 03:42 PM

Post #7

I need to call script instead show image. How I can do it? Im sorry for my english... its bad
Type: Undisclosed

and by the way... this tutorial is good


This post has been edited by jandurek: Jan 26 2010, 03:46 PM

Epic Ancient

Jan 26 2010, 08:19 PM

Post #8

QUOTE (jandurek @ Jan 26 2010, 10:42 AM)

I need to call script instead show image. How I can do it? Im sorry for my english... its bad and by the way... this tutorial is good

If it's a choice between life and death, I pick Purgatory.

Type: Coder Alignment: Lawful Neutral

What do you mean, call a script? I'm not much of a scripter, but I'm pretty sure you can call a different script's class & method.

--------------------

IQ: 134 - According to a professional, paid-for quiz.

6 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory

Cheating is Valued - Community Game!

My Signature:
Spoiler: Show

jandurek

Jan 27 2010, 12:54 PM

Post #9

QUOTE (Epic Ancient @ Jan 26 2010, 08:19 PM)

What do you mean, call a script? I'm not much of a scripter, but I'm pretty sure you can call a different script's class & method.
Type: Undisclosed

I have Credits script and I dont want to show picture but I want to call Credits script I have this Credits script

Epic Ancient

Jan 27 2010, 06:02 PM

Post #10

QUOTE (jandurek @ Jan 27 2010, 07:54 AM)

I have Credits script and I dont want to show picture but I want to call Credits script I have this Credits script

If it's a choice between life and death, I pick Purgatory.

Where you would add the lines for the picture, use this line instead: CODE

Type: Coder Alignment: Lawful Neutral

and this line, to stop playing the credits: CODE

--It said that in the OP of the thread.


This post has been edited by Epic Ancient: Jan 27 2010, 06:02 PM

--------------------

IQ: 134 - According to a professional, paid-for quiz.

Cheating is Valued - Community Game!

My Signature:
Spoiler: Show

NAT_Designer

Jan 27 2010, 09:54 PM

Post #11

7 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory Where you would add the lines for the picture, use this line instead: CODE

Do not expect me to be nice.

and this line, to stop playing the credits: CODE

Type: Designer Alignment: True Neutral

--It said that in the OP of the thread.

I tried doing as you said, and I get the following error: CODE

Maybe there's something else you need to do..?

--------------------

Never think of yourself as entitled to know how the world works. Your job is to live in it, and follow it's rules. Nothing more.

Mithran

Jan 28 2010, 03:17 AM

Post #12

Yes, you forgot to create the credits.

Spoiler:

Show

Scripter -------------------My scripts:

Type: Coder Alignment: True Neutral

Spoiler:

Show

Searching for one of my snippets? Mithran's Snippet Repository My current scripting projects: Mithran's Script Development Thread Who says I'm always idle in the IRC? Spoiler: Show

jandurek

Jan 28 2010, 01:37 PM

Post #13

Thanks its all I want

Type: Undisclosed

Fireball16

Feb 28 2010, 08:17 PM

Post #14

sorry but didnt work but its not that important

--------------------

Warrior Within
coming soon!!!

Type: Designer

Notunknown

Mar 16 2010, 10:58 PM

Post #15

8 of 9

9/10/2011 9:16 PM

[-Scripting-] Adding Title Menu Options - RPG Maker VX Community

http://www.rpgmakervx.net/index.php?showtopic=24808

iPhone App Directory only a minor detail)

Type: Undisclosed

ai1love6

Mar 23 2010, 07:03 PM

Post #16

thanks a lot

Type: Undisclosed

PohTehToe

Sep 25 2011, 04:07 AM

Post #17

Im sorry if i sound stupid but i'm wondering for credits how do i put the names of the people that helped make the game into it?

Gender: Male Type: Designer

Enter Keywords

Search Topic

Next Oldest RPG Maker VX Tutorials Next Newest

1 User(s) are reading this topic (0 Guests and 0 Anonymous Users) 1 Members: Luqman

|-- RPG Maker VX Tutorials

Go

RMVX v4

English

Lo-Fi Version

Time is now: 2nd October 2011 - 10:46 AM

Powered By IP.Board 2.3.6 2011 IPS, Inc. Licensed to: RPG Maker VX Community RPGMakerVX.net is an iEntry Network publication - 1998-2011 All Rights Reserved Privacy Policy, Legal.

9 of 9

9/10/2011 9:16 PM

Das könnte Ihnen auch gefallen