APIs to interact with the navigation system powering AI entities.
More...
APIs to interact with the navigation system powering AI entities.
void | NodeEdit_LinkNodes (node_t *, node_t *) |
| Links node wp towards w2. More...
|
|
void | NodeEdit_UnlinkNodes (node_t *, node_t *) |
| Unlinks node wp from going towards w2. More...
|
|
int | NodeEdit_FindClosestNode (vector) |
| Returns the id of the closest node in a node graph. More...
|
|
bool | NodeEdit_SaveFile (string) |
| Saves the specified nodegraph to disk with the specified filename. More...
|
|
bool | NodeEdit_ReadFile (string, bool) |
| Loads the nodegraph from the specified filename off disk. More...
|
|
void | NodeEdit_Flush (void) |
| Flushes the nodegraph being passed. More...
|
|
void | NodeEdit_Cmd (void) |
|
void | NodeEdit_DrawDebugInfo (void) |
|
void | Nodes_Flush (void) |
|
void | Nodes_Init (void) |
|
bool | Nodes_Available (void) |
|
vector | Nodes_PositionOfClosestNode (vector) |
|
vector | Nodes_FindCoverFromEnemy (ncActor targetEnemy) |
| Returns the position of a spot that'll provide cover from the specified enemy. More...
|
|
vector | Nodes_FindBackFromPosition (vector targetPosition, vector eulerDirection) |
| Returns the position of a spot that'll be behind where you're currently standing. More...
|
|
vector | Nodes_FindCoverFromEnemyNearNode (ncActor targetEnemy, vector nodePosition) |
| Returns the position of a spot that'll provide cover from the specified enemy, closest to a specified node. More...
|
|
vector | Nodes_FindCoverFromEnemyFarNode (ncActor targetEnemy, vector nodePosition) |
| Returns the position of a spot that'll provide cover from the specified enemy, furthest from a specified node. More...
|
|
vector | Nodes_FindCoverFromPosition (vector targetOrigin) |
| Returns the position of a spot that'll provide cover from the specified enemy. More...
|
|
int | Route_RoundDistance (float) |
|
int | Route_GetNodeFlags (nodeslist_t *) |
|
vector | Route_GetJumpVelocity (vector, vector, float) |
|
ncEntity | Route_SelectRandom (string) |
|
bool | Way_ReadFBFile (string, bool) |
|
bool | Way_ReadJumbotFile (string, bool) |
|
bool | Way_ReadPBFile (string, bool) |
|
◆ NodeEdit_Cmd()
void NodeEdit_Cmd |
( |
void |
| ) |
|
◆ NodeEdit_DrawDebugInfo()
void NodeEdit_DrawDebugInfo |
( |
void |
| ) |
|
◆ NodeEdit_FindClosestNode()
int NodeEdit_FindClosestNode |
( |
vector |
vecOrigin | ) |
|
Returns the id of the closest node in a node graph.
◆ NodeEdit_Flush()
void NodeEdit_Flush |
( |
void |
| ) |
|
Flushes the nodegraph being passed.
◆ NodeEdit_LinkNodes()
Links node wp towards w2.
◆ NodeEdit_ReadFile()
bool NodeEdit_ReadFile |
( |
string |
strFile, |
|
|
bool |
flush |
|
) |
| |
Loads the nodegraph from the specified filename off disk.
◆ NodeEdit_SaveFile()
bool NodeEdit_SaveFile |
( |
string |
filename | ) |
|
Saves the specified nodegraph to disk with the specified filename.
◆ NodeEdit_UnlinkNodes()
Unlinks node wp from going towards w2.
◆ Nodes_Available()
bool Nodes_Available |
( |
void |
| ) |
|
◆ Nodes_FindBackFromPosition()
vector Nodes_FindBackFromPosition |
( |
vector |
targetPosition, |
|
|
vector |
eulerDirection |
|
) |
| |
Returns the position of a spot that'll be behind where you're currently standing.
- Parameters
-
targetPosition | The position to back away from. |
eulerDirection | The direction we're looking in, in euler-angles. |
- Returns
- Absolute position of a valid cover spot.
◆ Nodes_FindCoverFromEnemy()
vector Nodes_FindCoverFromEnemy |
( |
ncActor |
targetEnemy | ) |
|
Returns the position of a spot that'll provide cover from the specified enemy.
- Parameters
-
targetEnemy | The enemy to hide from. |
- Returns
- Absolute position of a valid cover spot.
◆ Nodes_FindCoverFromEnemyFarNode()
vector Nodes_FindCoverFromEnemyFarNode |
( |
ncActor |
targetEnemy, |
|
|
vector |
nodePosition |
|
) |
| |
Returns the position of a spot that'll provide cover from the specified enemy, furthest from a specified node.
- Parameters
-
targetEnemy | The enemy to hide from. |
nodePosition | The position we should get as far away from as possible from. |
- Returns
- Absolute position of a valid cover spot.
◆ Nodes_FindCoverFromEnemyNearNode()
vector Nodes_FindCoverFromEnemyNearNode |
( |
ncActor |
targetEnemy, |
|
|
vector |
nodePosition |
|
) |
| |
Returns the position of a spot that'll provide cover from the specified enemy, closest to a specified node.
- Parameters
-
targetEnemy | The enemy to hide from. |
nodePosition | The position we should get closest to. |
- Returns
- Absolute position of a valid cover spot.
◆ Nodes_FindCoverFromPosition()
vector Nodes_FindCoverFromPosition |
( |
vector |
targetOrigin | ) |
|
Returns the position of a spot that'll provide cover from the specified enemy.
- Parameters
-
targetOrigin | The spot to hide from. |
- Returns
- Absolute position of a valid cover spot.
◆ Nodes_Flush()
void Nodes_Flush |
( |
void |
| ) |
|
◆ Nodes_Init()
◆ Nodes_PositionOfClosestNode()
vector Nodes_PositionOfClosestNode |
( |
vector |
pointOrigin | ) |
|
◆ Route_GetJumpVelocity()
vector Route_GetJumpVelocity |
( |
vector |
vecFrom, |
|
|
vector |
vecTo, |
|
|
float |
flGravMod |
|
) |
| |
◆ Route_GetNodeFlags()
int Route_GetNodeFlags |
( |
nodeslist_t * |
node | ) |
|
◆ Route_RoundDistance()
int Route_RoundDistance |
( |
float |
flDist | ) |
|
◆ Route_SelectRandom()
ncEntity Route_SelectRandom |
( |
string |
sEntname | ) |
|
◆ Way_ReadFBFile()
bool Way_ReadFBFile |
( |
string |
strFile, |
|
|
bool |
flush |
|
) |
| |
◆ Way_ReadJumbotFile()
bool Way_ReadJumbotFile |
( |
string |
strFile, |
|
|
bool |
flush |
|
) |
| |
◆ Way_ReadPBFile()
bool Way_ReadPBFile |
( |
string |
strFile, |
|
|
bool |
flush |
|
) |
| |