Simple bot: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added Lang template. Added back button. Used Template:Game name.)
Line 1: Line 1:
'''simple_bot''' is a [[point entity]] available in several Source Engine games. It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.  
{{lang|Simple bot}}
{{back|NextBot}}
<code>'''simple_bot'''</code> is a [[point entity]] available in several {{game name|src|name=Source Engine}} games.
 
== Entity Description ==
It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.  


This entity uses the model of a female [[npc_citizen|Citizen]] - with no animations associated with it - and is unable to be damaged or killed. If the map has a [[NAV|.nav]] file, the entity will move to random areas when possible.
This entity uses the model of a female [[npc_citizen|Citizen]] - with no animations associated with it - and is unable to be damaged or killed. If the map has a [[NAV|.nav]] file, the entity will move to random areas when possible.


As an alternative to using <code>ent_create</code> for spawning instances of simple_bot, the [[cheat]] command <code>simple_bot_add</code> will instantly create the entity wherever your crosshair aims at.
As an alternative to using {{ent|ent_create}} for spawning instances of simple_bot, the [[cheat]] command <code>'''simple_bot_add'''</code> will instantly create the entity wherever your crosshair aims at.
{{bug|Using <code>simple_bot_add</code> will crash the game immediately in Team Fortress 2. Use <code>ent_create simple_bot</code> instead.}}
 
{{bug|Using <code>simple_bot_add</code> will crash the game immediately in {{game name|tf2|name=Team Fortress 2}}. Use <code>ent_create simple_bot</code> instead.}}


[[Category:NextBot Entities]]
[[Category:NextBot Entities]]

Revision as of 15:54, 17 November 2021

English (en)Translate (Translate)
NextBot

simple_bot is a point entity available in several Template:Game name games.

Entity Description

It is a very rudimentary example of a NextBot entity, displaying the bare minimum required for the AI system to function.

This entity uses the model of a female Citizen - with no animations associated with it - and is unable to be damaged or killed. If the map has a .nav file, the entity will move to random areas when possible.

As an alternative to using ent_create for spawning instances of simple_bot, the cheat command simple_bot_add will instantly create the entity wherever your crosshair aims at.

Icon-Bug.pngBug:Using simple_bot_add will crash the game immediately in Template:Game name. Use ent_create simple_bot instead.  [todo tested in ?]