News / Archive
    About Us
    Staff
    Staff Login
    Links
    Spotlight
    Interview


    SP Maps
    MP Maps


    SP Maps
    MP Maps
    Mods
    Prefabs
    Tools


    Basic Mapping
    Advanced Mapping
    Basic Coding
    Advanced Coding
    ConEdit
    Other


    Forums
    IRC
 

8/12 - Deus Ex 3 on the horizon
5/31 - Deus Ex Machinima!
10/23 - TNM Has Moved!
8/5 - New Version of 3ds2de + Tutorial!
6/28 - Chronos Lives!
8/5 - 3ds2de Version 2
5/16 - Der Zeitmann - Manual Installation (For Mac)
4/3 - DXMP_Cargoyard
4/3 - DXMP_Prophecy_Underground
12/24 - DXMP_Duality
NPC Orders
By Jered
Date Created: 5/23/2002


Orders are what an NPC is told to do. Some examples are Sitting, Standing, or Patrolling. Combining these orders, you can have the NPCs do complex things. To set orders, double click on an NPC to bring up its properties. Then Expand the tree 'Orders'. There are 7 things under here:

AlarmTag
bFixedStart
HomeExtent
Home Tag
Orders
Order Tag
SharedAlarmTag

Lets deal with the category 'Orders' first. Here is what you can have (that I know of):

Wandering
Sitting
Standing
Patrolling
Attacking

RunningTo

There may be more but those are the ones that I have found.

Wandering - The NPC wanders about Aimlessly. This can be further modified using the 'Home Tag' and 'HomeExtent' fields.

Sitting - Exactly what it says. The NPC finds a chair and sits in it.

Standing - The NPC stands in place without moving. This is good for stationary guards.

Patrolling - The NPC patrols along a set of fixed points.

Attacking - Signals the NPC to attack.

RunningTo - The NPC runs to the player. Once he reaches the player he stops. If oyu set this for an NPC as his starting orders he will immediately run to the player. WalkingTo is not a valid order.

The other things are used in other ways.

AlarmTag - The name of the alarm the NPC runs to first.

bFixedStart - I have always set this to false and i guess you should too.

HomeExtent - For use with the 'Wandering' order. This is how far away in UUs the NPC will wander from his 'home'. (Remeber that 16uu's = 1 foot)

Home Tag - Defines the 'home' of the NPC. Setting this to 'Start' sets the home of the NPC to where he was placed in the world. This is the most common thing to do.

Orders Tag - If possible, this is what the order is being done too. Such as 'RunningTo', 'Sitting', or 'Attacking'.

SharedAlarmTag- Something to do with alarms.

"Give us the Tools, and we will build worlds" ~ Jered



Copyright 2001 | Design by AsylumX | Coded by Jim