Simple bot: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Bug*:Using
Bug*:Using  Team Fortress 2. Use
 Team Fortress 2. Use 
		
	
| m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) | m (Classifying as model entity) | ||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar}} | ||
| {{ | {{Ent not in fgd}} | ||
| {{ | {{CD|CSimpleBot|base=NextBotCombatCharacter|file1=simple_bot.cpp|nolink=1}} | ||
| {{This is a|model entity|name=simple_bot|game=Counter-Strike: Source|game1=Team Fortress 2|game2=Dota 2|game3=Black Mesa}} | |||
| It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.   | It is a very rudimentary example of a [[NextBot]] entity, displaying the bare minimum required for the AI system to function.   | ||
| Line 9: | Line 10: | ||
| 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. | 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 {{tf2|4}}. Use <code>ent_create simple_bot</code> instead.}} | {{bug*|Using <code>simple_bot_add</code> will crash the game immediately in {{tf2|4}}. Use <code>ent_create simple_bot</code> instead.}} | ||
| == See Also == | |||
| * [[NextBot]] | |||
| [[Category:NextBot Entities]] | [[Category:NextBot Entities]] | ||
Latest revision as of 04:34, 19 May 2025

 
|  Class hierarchy | 
|---|
| CSimpleBot | 
|  simple_bot.cpp | 
simple_bot  is a   model entity  available in  Counter-Strike: Source,
 Counter-Strike: Source,  Team Fortress 2,
 Team Fortress 2,  Dota 2, and
 Dota 2, and  Black Mesa.
 Black Mesa.
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.
 Bug*:Using
Bug*:Using simple_bot_add will crash the game immediately in  Team Fortress 2. Use
 Team Fortress 2. Use ent_create simple_bot instead.























