Ghostdog AI Messages

Lithtech 2.1 / 2.2

Post Reply
User avatar
Spawn
Admin
Admin
Posts: 1312
Joined: Sun Jul 25, 2004 12:50 am
Location: Norway
Contact:

Ghostdog AI Messages

Post by Spawn » Wed Jan 16, 2019 12:36 am

Image

A list of messages you can send to an AI. Please help me completing this list. Most of the reactions should somehow work as commands too.

attack: The AI attacks the player.
attackfromcover: The AI attacks from cover (if possible).
Attributes:
dest= followed by the name of a CoverNode.

Example:
"attackfromcover dest=CoverNode03"

attackfromvantage: Similar to 'attackfromcover'.
animate: Used to have AIs performing animations.
Attributes:
anim= followed by the name of the animation (needed).
loop=1 the AI loops the animation.
interrupt=1 the AI can interrupt the animation due to events.

Example:
"animate anim=LeanOnWall loop=1 interrupt=1"

aware: Still not sure about this.
goto: Used to make an AI go to an AINode.
Attributes:
pts= followed by the name of the Node (needed).
move= specifies the movement type. Possible values: run
interrupt=1 the AI can interrupt it's due to events.

Example:
"goto pts=AINode0 move=run"

patrol: Used to have AIs patroling several AINodes.
Attributes:
pts= followed by a list of AINodes,seperated by commas (needed).
loop=1 the AI loops through the points.

Example:
"patrol pts=AINode0,AINode3,AINode8 loop=1"

remove: Removes the AI from the level.
senses: Sets the sense state of an AI.
Attributes:
0 No senses.
1 Normal senses (one of both is of course needed).

Example:
"senses 0"

targetplayer: The AI targets the player.
teleport: Teleports the AI to the given TeleportPoint.
Attributes:
The Name of the TeleportPoint (needed).

Example:
"teleport TeleportPoint01"

(Reposted here for availability)

Image
Image

Post Reply
jedwabna poszewka 50x60