Bot: Difference between revisions
(Tested LOS blockers for css/csgo. Added an exception note about bothandle.GetClassname() in csgo. If there are more exceptions, it might be a good idea to make more columns, distinguishing I/O and VScript.) |
(Used game templates directly. cs_bots with a targetname turn into players.) |
||
Line 2: | Line 2: | ||
{{stub}} | {{stub}} | ||
A '''bot''' (short for robot) is similar to an [[NPC]] in a multiplayer game, usually designed to behave like a human-controlled [[player]]. An example is the {{ | A '''bot''' (short for robot) is similar to an [[NPC]] in a multiplayer game, usually designed to behave like a human-controlled [[player]]. An example is the {{css|4}} bot. | ||
== Long Version == | == Long Version == | ||
Line 11: | Line 11: | ||
== Bot Classes and Properties == | == Bot Classes and Properties == | ||
{| border="2" cellpadding="5" | {| border="2" cellpadding="5" style=margin:1em | ||
|- style="background:#404040;" | |- style="background:#404040;" | ||
! Bot Class | ! Bot Class | ||
Line 20: | Line 20: | ||
|- | |- | ||
|rowspan=2| [[cs_bot]] | |rowspan=2| [[cs_bot]] | ||
| {{ | | {{css|4}} | ||
| player | | player | ||
| {{yes}} | | {{yes}} | ||
| {{no}} | | {{no}} | ||
|- | |- | ||
| {{ | | {{csgo|4}} | ||
| [[cs_bot]]<sup>1</sup> | | [[cs_bot]]<sup>1</sup> | ||
| {{yes}} | | {{yes}} | ||
Line 31: | Line 31: | ||
|- | |- | ||
| [[survivor_bot]] | | [[survivor_bot]] | ||
| {{ | | {{l4d|4}}<br>{{l4d2|4}} | ||
| player | | player | ||
| {{no}} | | {{no}} | ||
Line 37: | Line 37: | ||
|- | |- | ||
| [[tf_bot]] | | [[tf_bot]] | ||
| {{ | | {{tf2|4}} | ||
| player | | player | ||
| {{no}} | | {{no}} | ||
| {{no}} | | {{no}} | ||
|} | |} | ||
{{inline note|name=1|In VScript, if <code>bot</code> is the handle of a cs_bot, then <code>bot.[[List of CS:GO Script Functions#Methods|GetClassname]]()</code> always delivers <code>"player"</code>.<br>If a cs_bot receives a {{ent|targetname}}, it turns into a <code>player</code>.}} | |||
==See also== | ==See also== |
Revision as of 18:00, 12 May 2022
A bot (short for robot) is similar to an NPC in a multiplayer game, usually designed to behave like a human-controlled player. An example is the Counter-Strike: Source bot.
Long Version
Given the team-based competitive nature behind many first-person shooters, a player who plays offline games, presumably limited or no internet access, will be missing out a huge portion of the game. To remedy this, these games usually come with bots, which are NPCs that behave like a human player.
Another distinct definition of bot is that of a computer program which is commonly designed to perform monotonous or hard-to-achieve tasks such as "farming" and raising levels in RPG-type games. As a result, most RPG games have banned them from use because it is considered cheating. In FPS games this type of bot is also known to be a form of cheating. It helps players achieve better scores by improving their aim and reflexes which, in the extreme case, are completely controlled by the bot software.
Bot Classes and Properties
Bot Class | Game | Target Class for I/O, VScript |
Is solid to NPC clip? |
Affected by LOS Blockers? |
---|---|---|---|---|
cs_bot | ![]() |
player | Yes | No |
![]() |
cs_bot1 | Yes | Yes | |
survivor_bot | ![]() ![]() |
player | No | Yes |
tf_bot | ![]() |
player | No | No |
bot
is the handle of a cs_bot, then bot.GetClassname()
always delivers "player"
.If a cs_bot receives a targetname, it turns into a
player
.See also
- Navigation Meshes
- NextBot
- Server-Side Bots
- Botrix
- bot_quota
Bot Behavior Trees
VScript Examples#Functions to distinguish bots and human players