nuclide/Documentation/Bots/Waypoints.md
Marco Cawthorne d41b90c081 Base: Give some love to base/
VGUI-Menu: friendList, chat backend, textview class proto
SurfaceProps: Flesh impacts recognition
PropData: BreakModels now use a bodyque to limit possible physics overhead
PMove: falldamage, liquids can now be configured via external decl
NSWeapon: added alternative punchangle based on springs, 'punchSpring X Y Z' in decl
API: Team class management APIS
NSPhysicsEntity: Optimised, optimised, optimised. New cvar: phys_lowspec. Scraping, impact effects etc have been added.
More polish everywhere else
2025-01-02 18:53:55 -08:00

1.5 KiB

Bots

Bot Waypoints

Bots will read from the same navmesh as the rest of the artificial intelligence.

You can edit the navmesh using the way_menu command.

Nuclide's way_menu Interface

You can then use the slot keys (usually bound to numbers 1 - 9 including 0) to navigate the menu.

Nodes

Nodes make up the smallest part of the navmesh, but they define all the paths that are walkable.

Links are connections between nodes. You can have as many links between nodes as you wish. Those connections being made can also have special flags.

Flags available on links

The Jump flag will ensure that the bot will jump when it hits point A, before arriving at point B. You want to ensure those nodes are close to the edge of a gap for example.

The Crouch flag will force the bot to crouch while traversing point A to point B.

The Walk flag will force the bot to walk while traversing point A to point B.

The Aim flag will force the bot to forcefully look at the next node directly while traversing point A to point B. This is useful to control where they're looking at in order to make [ladders](@ref func_ladder) climbable by them.

The Use flag will trigger the bot into simulating a use action (simular to +use) to the nearest usable object in proximity of point A.

The Hazardous flag will mark a path between two points as dangerous, and thus will be avoided by bots at specific times.