Character Walks

From ADRIFT 5 Manual Wiki
Revision as of 12:07, 14 August 2012 by Saabie (Talk | contribs) (Adding Steps)

Jump to: navigation, search

Construction.gif

Character walks are defined on the "Movement" tab of each character, and are similar to events in that they define a sequence of actions that are performed in order each time the player enters a command.

To do this tutorial you will need a game with several locations. We will be creating a guard who will walk along a predefined patrol route, so add a location called "Guard post" in the area you would like him to patrol.

Create a new character, give him the descriptor "a guard", and set his initial location to "Guard post".

Creating a new Walk

To get our guard character to patrol along a specific path we need to create a new "Walk".

Open the guard character and select the "Movement" tab:

CharacterMovement.jpg

The movement page allows you to program one or more routes that this character will follow, and actions they will perform along the way.

Each of these independant routes and its associated actions is called a "Walk". A character can have several walks, but can only follow one walk at a time.

Click "Add Walk" to open the new walk dialog:

NewWalk.jpg

This dialog box has three tabbed pages: Control, Steps and Activities.

On the "Control" page enter the description "Guard Patrol" and select the "Active" radiobutton under "This walk should start off...". This will cause the guard to start walking as soon as the game starts.

Tick the "Repeat on completion" box. This will make the guard start walking his patrol route again from the beginning as soon as he completes it.

Adding Steps

Select the "Steps" tab and press the "Add Step" button to create a new step and open the "Step of Walk" dialog box:

WalkStep.jpg

Select a location adjacent to the guard post, and how long they should stay there (the number of turns the player will make before the guard moves to the next location).

IconWarning.png The two buttons at the bottom are cutoff by a bug. They are "OK" on the left and "Cancel" on the right. Click the OK button.

Add several more steps, moving the guard to each location along his patrol route until they finally get back to the guard post. Have the guard stay at the guard post for several turns before repeating the walk.

Adding Activities

WalkActivity.jpg


Adding a Walk Control

WalkControl.jpg