asw_pathfinder_npc
Jump to navigation
Jump to search
This entity is not in the stock FGD files by default.
|
Code classes:
CASW_Path_Utils_NPC
CAI_BaseNPC
(NPCs)CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
asw_pathfinder_npc
is a point entity present in Alien Swarm. It's an NPC made to test alien pathfinding abilities. It will draw a valid walking path between a given start and end point.
Note: The map needs a reasonable amount of node entities if it is to do any real pathfinding.
FGD Code[edit | edit source]
@PointClass studio("models/aliens/drone/drone.mdl") = asw_pathfinder_npc : "Pathfinding tester"
[
]
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
asw_path_start |
| Places a start point where the player is standing. | |
asw_path_end |
| Places an end point where the player is standing. |