RPG Palace
( Register )
Navigation
Home Creations RMVX RMXP RM2k/RM2k3 Music

Affiliates
Latest News
RPG Palace:

 

Doors and Treasure Chests - Kamau

Maxy: Kamau's old tutorial on doors and treasure chests for those new to RPG Maker.

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

RPG MAKER 2000 TUTORIAL

:: Miscellaneous Objects ::

By Kamau - mglanville@hotmail.com
Kamau's RPG Palace - http://rpgpalace.gamersuplink.com

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

This tutorial has been created to explain how to make basic objects in
RPG Maker 2000 such as doors and treasure chests.

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

PART 1. Doors

o	Switch to the Events layer and double-click in an empty space
	to create a new event. You can name this door or whatever you
	like.
o	Set the graphic to a door image (found in the Object1 charset).
	Make sure that it is facing DOWN if you want your door to
	start closed.
o	Leave all the options as they are except for these:
		Event Start Condition - Choose whether you want to open
					the door by pressing a button
					or by touching it.
		Position -	Decide whether the door will stop the
				player from moving on to it or under
				it. I think it looks best Below Hero.
		Movement Speed -	Set this to 6: x4 Faster.
o	Double-click on the <> in the Events Commands window to create
	a new event. The first thing will be a sound effect so find it
	on page 3 and play the sound Open1 (or any other sound you want
	to have).
o	Next you'll need to start the door moving. Select Move Event
	from page 2 and use these commands:
		Face Right
		Wait a moment
		Face Up
		Wait a moment
		Face Left
	Make sure that you set the Object Character to THIS EVENT!!!
o	Next make a pause so it waits for the door to open. I'd say
	about 0.5 seconds is enough so enter 5 in the Wait menu.
o	Finally, put in a Teleport event to send the hero to the new
	map (or even the same map). That's it! All done!

Your events should look like this:

	<> Play SE: Open1
	<> Move Event...: this Event , FaceRigh, Wait, Face Up, Wait...
	<> Wait: 0.5s.
	<> Teleport: XXXX:YYYY (AAA,BBB)

XXXX = map number
YYYY = map name
AAA  = map X co-ordinates
BBB  = map Y co-ordinates

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

PART 2. Treasure Chests

o	Creating a treasure chest is similar to creating a door but
	is a little more tricky because you need to use switches. The
	switch will prevent the hero from getting the item from the
	chest more than once.
o	Set the Graphic to the treasure chest in Object1.
o	Start Condition is 'Push Key'
o	Position is Same 'Level As Hero'
o	The first event will be to change a switch. Set the switch name
	to chest1 or something to remind you.
o	Next create an event to Select Face and click Erase to make a
	blank face. This is in case there was already a face selected.
o	Create a Show Message event and say something like
		Found a Potion!
	You could play a sound too but make sure you put the event
	directly before you show the message or it won't play until the
	message window has been closed.
o	Next put in an Add Item event so that the player picks
	something up. You should make it so that you get the same item
	that you said in the message.
o	Now you need to create a new page so that you can't do the same
	thing over and over and get infinite items. Click on New Page
	and in the Event Conditions check a Switch box and select the
	switch you set earlier (chest1).
o	Set the graphic as the same treasure chest but facing left so
	that it is open.
o	You MUST set Animation Type to 'Fixed Graphic'
o	You don't need any events but you could have a message saying
	'Empty...' or something.

Your events should look like this:

	<> Change Switch: [xxxx:yyyy]-ON Set
	<> Select Face Graphic: Eras
	<> Messg: Found a Potion!
	<> Add/Remove Item: Potion -> 1 Incr.

xxxx = switch number
yyyy = switch name

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

 

 

IPB WARNING [2] require(../..foot.php) [function.require]: failed to open stream: No such file or directory (Line: 159 of /doors_chests.php)
IPB WARNING [2] require(../..foot.php) [function.require]: failed to open stream: No such file or directory (Line: 159 of /doors_chests.php)

Fatal error: require() [function.require]: Failed opening required '../..foot.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rpgjpal/public_html/tutorials/oldcontent/doors_chests.php on line 159