13 March 2010

Chapter 7: Monster-In-A-Box - The Complete Chests Tutorial

Those who have played Final Fantasy (and several other RPGs) will recognize the Monster-In-A-Box scenario, where a monster pops out and attacks as soon as the chest is opened. It's easy to emulate this in RM2K3.

Set up the chest, "Chest 7" as normal (from Part 1), including the switch on Page 2 set to "Chest 7 Opened".

Immediately under the third Wait command in the Event Commands, we will need to call an enemy encounter (predefined in Monster Groups in the Database). For the purposes of the demo I've created one called "Cave Monster", which is a single Orc.

So, the Event Command we need is "Enemy Encounter" (the very first one on Tab 2). Set the "Specific Monster Group" to "Cave Monster" or whatever predefined monster you want. Set the "Defeat Handler" to "Execute Custom Handler", which gives additional control over winning or losing the battle. And finally, "Disallow Escape" in the "Escape Handler" unless you want to have a specific set of commands for attempting to flee.

The completed routine should look like this (not including the basic chest opening commands from Part 1):
<>Enemy Encounter: Normal, Cave Monster
: Victory Handler
  <>Message: Congratulations!
  :               You beat the Monster-In-A-Box!
  <>Call Event: Random Contents
  <>Switch Operation: [0008:Chest 7 Opened] ON
: Defeat Handler
  <>Game Over
: End
And it's as simple as that.

0 Comments So Far:

Post a Comment

Related Posts with Thumbnails
Template Design "Perfect World" by SkinCorner