Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Events]Chest Tutorial, How to make a simple chest in RMXP.
Penguin
post Jun 15 2011, 06:50 PM
Post #1


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




RMXP Chest Tutorial

Unlike RMVX, XP doesn't come with an easy chest maker system. Never fear, for I am here to show all of you who are new to RMXP how to create chests.

To help those of you who don't know eventing language yet, I will include lots of screenshots. First of all, we need to create a new event, and make its trigger "Action Button." Then we will want to choose the graphic for the chest. Be sure to only pick a graphic from the top of the chest sheet, because we don't want the chest to already be open.


Now it's time to start writing our event code. First, we should display a message saying "Blah blah blah was found!" or something like that. Then we have to actually add the item to the player's inventory by using the "Change Items" command. Finally, we need to make the chest actually open. To do this, you should first play a sound effect, which you can choose. Then we need to change the direction the chest is facing. It sounds odd, but if you look at the chest sheet compared with a character sheet:





You can see that the chests actually have "directions" just like the characters, they're just not actually facing that way on the sheet. Now, in this case, the "open" direction we want is the chest facing up, which is the bottom graphic.


So now we have to add a "Set Move Route" command to make the chest face up.


Last of all, we don't want the player to be able to open the chest again, right? So we need to add a second event page that does nothing, but has the chest in the open position. Add a new event page, and make the graphic the open position of the chest. Now we have to make a self switch that will activate after the rest of the first page is finished. Make the condition for the second page of the event "Self Switch A is On".


Then go back to the first page, and at the end of the code, insert a "Control Self Switch" command, and select self switch A. That's it! Your simple chest is now done. Here is what the final event code should look like:


Well, that's pretty much it. I hope this tutorial helps a bunch of you. biggrin.gif

This post has been edited by thesanguinepenguin38: Jun 15 2011, 06:59 PM


__________________________
Go to the top of the page
 
+Quote Post
   
kayden997
post Jun 15 2011, 07:07 PM
Post #2


>Glitched<
Group Icon

Group: Local Mod
Posts: 1,160
Type: Event Designer
RM Skill: Masterful
Rev Points: 30




Simple tutorial with lots of pictures.
I've seen worse, so good job smile.gif


__________________________


Runescape with Dyedfire




Go to the top of the page
 
+Quote Post
   
watermelon_1234
post Jun 16 2011, 10:32 AM
Post #3



Group Icon

Group: Member
Posts: 3
Type: None
RM Skill: Undisclosed




I think it makes more sense to play the SE before the message is displayed.
Also, since the tutorial is pretty simple, you could spice it up a bit by telling the reader how to animate the chest.

This post has been edited by watermelon_1234: Jun 16 2011, 10:32 AM
Go to the top of the page
 
+Quote Post
   
Penguin
post Jun 16 2011, 03:06 PM
Post #4


I'll evolve any time now.
Group Icon

Group: Revolutionary
Posts: 225
Type: Event Designer
RM Skill: Masterful




Watermelon, I agree with you. I'm going to make another tutorial, this time how to make a "complex" chest. Thanks for the suggestion.


__________________________
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 09:45 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker