Turning Guards

AUTHOR: Zaccheus


Create a guard somewhere in your mission.


Click on 'properties' at the bottom of the screen.


Now click on the 'Add' button and select:

AI>Ability Settings>Idling: Directions


The "Idling: Directions" dialogue box contains the following fields:


Min. facing switch time

Max. facing switch time


Facing 1:

direction

weight


Facing 2:

direction

weight


Facing 3:

direction

weight



Min. facing switch time and Max. facing switch time tell DromED how long a guard should wait before changing direction.

I believe this is measured in milliseconds, because a minimum time of 3000 and a maximum time of 6000 seem to work well.


Next we define the three directions that the guard can be facing:

Facing 1, Facing 2, and Facing 3

For each of these we can specify the heading (the angle in degrees) and (I think) the importance of the direction.



So, for example, we could have a guard who faces north, south, and west and who turns every four or five seconds, by

specifying:



Min. facing switch time 3000

Max. facing switch time 6000


Facing 1:

direction 0

weight 1


Facing 2:

direction 180

weight 1


Facing 3:

direction 270

weight 1


Finally, simply click 'Ok' and then click 'Done' and that's it!


TIP:

You are not limited to North South East West, as you can specify any heading (in degrees).


The Honest Thief

    Comments