Difference between revisions of "Creating a small scene between NPCs"
Line 26: | Line 26: | ||
That might have seemed a little drastic, but now we're ready to make the actual NPCs. Recall that we're going to be using two here -- the Blue Imp, and Bandeau, the ferryman. Let's do Bandeau first. Create a new object (it will appear as Object 0D; don't worry). You'll see Startup / Idle, Activate, and a list of Arbitrary commands. We're only concerned with Startup / Idle at the moment, because this is what tells the game what to do the very moment you enter the room. Let's run through what to do to load him up. Use the 'command' button to make commands that you can edit to specific event functions for this list. | That might have seemed a little drastic, but now we're ready to make the actual NPCs. Recall that we're going to be using two here -- the Blue Imp, and Bandeau, the ferryman. Let's do Bandeau first. Create a new object (it will appear as Object 0D; don't worry). You'll see Startup / Idle, Activate, and a list of Arbitrary commands. We're only concerned with Startup / Idle at the moment, because this is what tells the game what to do the very moment you enter the room. Let's run through what to do to load him up. Use the 'command' button to make commands that you can edit to specific event functions for this list. | ||
− | *Object Coordinates - Use this to place him. Coordinates X - 6F, Y - 94. | + | *Object Coordinates - Use this to place him. Coordinates X - 6F, Y - 94 (to reference these, open the real Medina Elder's House map, fullsize, and move your mouse. In the lower right corner, digits will tell you the coordinates your mouse is currently hovering on). |
*Sprite Drawing - Under command, select Load Sprite. Type is NPC, and the NPC itself is 34 - Villager (Man). | *Sprite Drawing - Under command, select Load Sprite. Type is NPC, and the NPC itself is 34 - Villager (Man). | ||
*Facing - This will make him face a certain direction. Under facing, put right. | *Facing - This will make him face a certain direction. Under facing, put right. |
Revision as of 04:00, 17 July 2005
This tutorial will teach you how to create two NPCs, and have them talk to each other and do other actions. It is based off a scene from the modification "Chrono Trigger: Crimson Echoes."
Temporal Flux Tutorial Disclaimer
This tutorial involves Temporal Flux. Since these tutorials are not meant to augment your game, you should make a copy of your Chrono Trigger ROM for use with these instructions. This not only backs it up, but will prevent you from unnecessarily changing and overwriting your clean copy, which you probably want to still play time to time, no?
In this tutorial, you will use and learn the basic, following skills and commands:
- Creating an NPC
- Making an NPC face a certain way
- Using NPC animations
- Correctly structuring conversations and actions
- Moving NPCs and making them disappear
- Preventing the party from leaving the scene in progress
Getting Started
As stated above, this tutorial is based off a scene from Crimson Echoes. Specifically, we're going to have Bandeau, the ferryman who appeared at the end of Chrono Trigger, argue with the new Medina elder, a Blue Imp. After a couple animations and appeals, Bandeau will storm out, while the Blue Imp will go to the window to gaze and ponder the turn of events. The tutorial will be divided into two sections; creating the NPCs, and making them interact.
Creating the NPCs
Firstly, we need to clean up the event code for Medina Elder's House 1F {021}. Several happenings go on here, and we want to eliminate them so that they will not intrude upon our work or unnecessarily complicate it. Delete all Objects after 07. This way, only the String Index and Music (Object 00), and the Player Characters, will be the only ones left.
That might have seemed a little drastic, but now we're ready to make the actual NPCs. Recall that we're going to be using two here -- the Blue Imp, and Bandeau, the ferryman. Let's do Bandeau first. Create a new object (it will appear as Object 0D; don't worry). You'll see Startup / Idle, Activate, and a list of Arbitrary commands. We're only concerned with Startup / Idle at the moment, because this is what tells the game what to do the very moment you enter the room. Let's run through what to do to load him up. Use the 'command' button to make commands that you can edit to specific event functions for this list.
- Object Coordinates - Use this to place him. Coordinates X - 6F, Y - 94 (to reference these, open the real Medina Elder's House map, fullsize, and move your mouse. In the lower right corner, digits will tell you the coordinates your mouse is currently hovering on).
- Sprite Drawing - Under command, select Load Sprite. Type is NPC, and the NPC itself is 34 - Villager (Man).
- Facing - This will make him face a certain direction. Under facing, put right.
- Animation - Most NPCs in RPGs have a basic walking animation. Use animation 01, normal.
- Return
- End (these two terminate the Startup commands; the game would glitch otherwise)
Let's review what we should have now.