Difference between revisions of "Bots/zh-hant"

From Team Fortress Wiki
Jump to: navigation, search
(continuing...)
m (Removed classic bots mention)
 
(23 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:電腦人BOT}}
 
{{DISPLAYTITLE:電腦人BOT}}
{{trans|zh-hant}}
+
{{hatnote|這個頁面是介紹在遊戲中的絕地要塞2的電腦人。關於[[Team Fortress Wiki|絕地要塞官方維基百科]]的電腦人BOT,請參閱[[:Category:User bots|絕地要塞官方維基百科的電腦人BOT]]。關於在[[Mann vs. Machine (update)/zh-hant|曼恩 vs. 機器更新]]的機器人,請參閱[[Robots/zh-hant|機器人]]。}}
[[Image:Tr_dustbowl0003.jpg|right|thumb|300px|一個[[Soldier/zh-hant|火箭兵]]電腦人。在[[Dustbowl (Training)|Dustbowl的訓練]]地圖內。]]
+
[[File:Tr_dustbowl0003.png|right|thumb|300px|一個[[Soldier/zh-hant|火箭兵]]電腦人。在[[Dustbowl (Training)|Dustbowl的訓練]]地圖內。]]
 
{{Quotation|'''重裝兵電腦人'''對自己的認知|我的拳頭!它們真的是用'''鐵'''做的!|sound=Heavy_specialweapon01.wav}}
 
{{Quotation|'''重裝兵電腦人'''對自己的認知|我的拳頭!它們真的是用'''鐵'''做的!|sound=Heavy_specialweapon01.wav}}
  
Line 7: Line 7:
  
 
== 人工智慧電腦人(簡稱AI BOT) ==
 
== 人工智慧電腦人(簡稱AI BOT) ==
'''AI Bot'''是被設計來模仿人類玩家,動作自主,讓真人可和它們對戰的電腦人。除此之外,他們選兵種時是隨機挑伺服器選的。它們使用了和惡靈勢力系列裡的AI相同的複雜程式碼。<ref>[http://teamfortress.com/post.php?id=3279 Team Fortress Official Blog - Erectin a dispenser]</ref>AI Bot'''不需要'''伺服器開啟作弊碼就能使用,因此,你在和它們對戰時,成就仍可以達成。
+
'''AI Bot'''是被設計來模仿人類玩家,動作自主,讓真人可和它們對戰的電腦人。除此之外,他們選兵種時是隨機挑伺服器選的。它們使用了和惡靈勢力系列裡的AI相同的複雜程式碼。<ref>[http://teamfortress.com/post.php?id=3279 Team Fortress Official Blog - Erectin a dispenser]</ref>AI Bot'''不需要'''伺服器開啟作弊碼就能使用,因此,你在和它們對戰時,成就仍可以達成。不過,因為電腦人不會看[[Deathcam/zh-hant|死亡觀察攝影機]],所以陣亡後對它們的嘲諷成就還是無法解開。
  
 
AI Bots也有一些經常會出現的行為:  
 
AI Bots也有一些經常會出現的行為:  
 
* 在[[Setup time|準備時間(Setup time)]]時,有在你的準心上的AI電腦人都會做嘲諷動作。
 
* 在[[Setup time|準備時間(Setup time)]]時,有在你的準心上的AI電腦人都會做嘲諷動作。
* 如果你按下請求治療鈕(預設E鍵),任何同隊的[[Medic-zh-hant|醫護兵]]電腦人都會過來醫治你。.  
+
* 如果你按下請求治療鈕(預設E鍵),任何同隊的[[Medic/zh-hant|醫護兵]]電腦人都會過來醫治你。.  
* 如果一個醫護兵正醫治你,而且[[ÜberCharge/zh-hant|醫療槍電量]]也達100%時,按下"Go go go!"(Z-3)或"Activate Charge!"(X-7)聲音指令會讓那個醫護兵電腦人啟動他的醫療槍無敵。
+
* 如果一個醫護兵正醫治你,而且[[ÜberCharge/zh-hant|醫療槍電量]]也達 100%時,按下「前進!」(Z-3)或「啟動ÜberCharge!」(X-7)[[Voice commands/zh-hant|聲音指令]]會讓那個醫護兵電腦人啟動他的醫療槍無敵。
 +
* AI Bots 有時會自行喊出「間諜!」或是「往前!」等聲音指令,但是文字並不會出現在聊天對話框中。
  
 
=== 現在人工智慧BOT的情況: ===   
 
=== 現在人工智慧BOT的情況: ===   
更精進的AI Bot現在正在beta測試中,到時釋出會比現行的版本更好。目前為止,不是所有兵種的AI系統都設定的很好,比方說[[Spy/zh-hant|間諜]]。間諜電腦人會在玩家或其他敵人面向它們時跑開,而且它們不會使用自己的隱形手錶,現在間諜電腦人也只能在[[List of game modes#Highlander|Highlander 模式]],在console鍵入''"tf_bot_force_class Spy"''或是setting class restrictions with a third party program才會出現。
+
更精進的 AIBot 現在正在 beta 測試中,到時釋出會比現行的版本更好。無帽日更新後,所有兵種的 AI 系統都設定的很好,包括之前一直無法表現得很好的[[Spy/zh-hant|間諜]]也是。AI Bot 目前只在官方的[[King of the Hill/zh-hant|山丘之王]]、一些[[Payload/zh-hant|彈頭車]]地圖、攻擊防禦控制點地圖如[[Dustbowl/zh-hant|Dustbowl]]和[[Gorge/zh-hant|Gorge]]、[[Capture the flag/zh-hant|爭奪情報箱]]地圖、[[Mann Manor|曼恩莊園]]地圖才會正常行動(在後兩者的地圖中,電腦人必須鍵入<tt>tf_bot_add</tt>指令才會出現)。在非官方地圖叫出人工智慧電腦人是可能的,但是他們就不會像官方地圖一樣運作自如了。
AI Bot目前只在官方的[[King of the Hill|山丘之王]]、一些[[Payload|推車]][[Dustbowl]]和[[Mann Manor|曼恩莊園]]地圖才會正常行動(而且只能鍵入<tt>tf_bot_add</tt>指令才會出現)。在非官方地圖叫出人工智慧電腦人是可能的,但是他們就不會像however, they will not emulate human players as well.
 
  
''Note: A [http://forums.steampowered.com/forums/showthread.php?t=1264447 pack of pre-made bot meshes] has been compiled for many popular maps.''
+
:有許多受歡迎的非官方地圖,已經做出[http://forums.steampowered.com/forums/showthread.php?t=1264447 電腦人運作包]
  
==== 在沒AI BOT支援的地圖叫出電腦人: :====
+
==== 在沒 AI BOT 支援的地圖叫出電腦人: ====
# Type "sv_cheats 1" in console
+
# 在控制台(console)鍵入"sv_cheats 1"
# Type "nav_generate" in console
+
# 再鍵入"nav_generate"
# Wait while the game generates AI paths
+
# 等待電腦畫出AI路徑
# Map will reload (navigation has been saved and the previous step doesn't need to be repeated)
+
# 地圖會重新載入(路徑已經被儲存了,所以之前的動作不需重複)
# Open console and type ''"tf_bot_add <number>"'' as above to add bots
+
# 再打開控制台,鍵入<tt>"tf_bot_add <數字>"</tt>叫出電腦人。
  
You can use bots on any map on which you have performed the above steps without having to repeat them, except for entering the ''"tf_bot_add <number>"'' command each time you want to add bots.
+
你可以在任何地圖鍵入這些指令,叫出電腦人,但是最後一行指令必須要依情況,鍵入數字,叫出適當數量的電腦人。
 
 
''Note: Bots do not work on [[Capture the Flag]] maps, even if the above tutorial is followed.''
 
  
 
==== AI電腦人特徵 ====
 
==== AI電腦人特徵 ====
 
* 電腦人目前為止'''不能'''使用任何非基本[[Weapons/zh-hant|武器]],或是戴上[[Hats/zh-hant|帽子]]和配帶[[Miscellaneous items/zh-hant|其他物品]]。  
 
* 電腦人目前為止'''不能'''使用任何非基本[[Weapons/zh-hant|武器]],或是戴上[[Hats/zh-hant|帽子]]和配帶[[Miscellaneous items/zh-hant|其他物品]]。  
* 電腦人目前為止不會[[Jumping|跳躍]][[Rocketjump#Rocket jumps|火箭跳]]或[[Stickyjump#Sticky jumps|黏彈跳]]
+
* 在簡單難度下,電腦人多數情況都會使用,甚至只使用,他們的主要武器。
 +
* 簡單難度下不會有[[Spy/zh-hant|間諜]]跟[[Sniper/zh-hant|狙擊手]]的電腦人;他們只出現在普通或以上的難度。
 +
* 電腦人目前為止不會[[Jumping/zh-hant#火箭兵的跳躍|火箭跳]]或[[Jumping/zh-hant#爆破兵的跳躍|黏彈跳]],也不會[[buildings/zh-hant#搬運|搬運]]建築物。([[Engineer/zh-hant|工程師]]電腦人在轉移陣地時會直接破壞他們的建築物)
 
* 如果電腦人成功殺了一個玩家,它們很有可能會當場做出嘲諷,即使他們仍被敵方攻擊時也一樣。
 
* 如果電腦人成功殺了一個玩家,它們很有可能會當場做出嘲諷,即使他們仍被敵方攻擊時也一樣。
* 當敵隊的電腦人看到你所操控的已偽裝的Spy,他會持續看著你,但不會攻擊,除非你主動攻擊或是撞到敵人。
+
* 間諜電腦人(以及玩家)在[[disguise/zh-hant|偽裝]]時會被其他電腦人正確地忽略。然而,在電腦人發現敵方間諜被「撞」到、放置[[Sapper/zh-hant|電子破壞器]]、使用武器、或者[[Cloak/zh-hant|隱形]]時,他們會將其視為敵人,不會忘記,直到間諜在視線外改變偽裝或者他們死亡為止。
* 電腦人控制的Pyro會很頻繁的使用[[Compression blast/zh-hant|壓縮氣爆]]來反彈飛行物。
+
* 電腦人控制的火焰兵會很頻繁的使用[[Compression blast/zh-hant|壓縮氣爆]]來反彈飛行物。
 +
* 醫護兵會在醫治狙擊手或工程師之前,先治療其他的兵種,就算呼叫醫護兵的聲音指令被執行也一樣。
 +
* 準備好ÜberCharge的醫護兵電腦人會在受傷的瞬間馬上啟動ÜberCharge。
 +
* 在專家難度下,如果一個偽裝的間諜看到敵方間諜啟動隱身,無論隱身有無失效,他都有辦法跟蹤對方。
 +
* 電腦人在準備時間不會攻擊,除非他們先被攻擊。(正在放黏彈的[[Demoman/zh-hant|爆破兵]]除外)
 +
* 工程師電腦人可能會在奇怪的地方蓋步哨,接著摧毀它,然後尋找金屬好重蓋一個,接著不斷重複這個流程。
 +
* 工程師電腦人傾向不升級傳送器,有時他們也不會修理步哨,儘管在閒暇時也一樣。
 +
* 除了工程師、狙擊手跟間諜以外的電腦人,在[[Control Point (game mode)/zh-hant#攻擊/防禦控制點模式|攻擊/防禦控制點模式]]或者[[Payload/zh-hant|彈頭車模式]]的準備時間,會待在他們的出生點不動。
 +
 
 +
====目前有電腦人功能的官方地圖====
 +
* [[Dustbowl/zh-hant|Dustbowl]]
 +
* [[Mann Manor/zh-hant|Mann Manor]]
 +
* [[Badlands (KOTH)/zh-hant|Badlands]](山丘之王)
 +
* [[Lakeside/zh-hant|Lakeside]]
 +
* [[Nucleus (KOTH)/zh-hant|Nucleus]](山丘之王)
 +
* [[Sawmill (KOTH)/zh-hant|Sawmill]](山丘之王)
 +
* [[Viaduct/zh-hant|Viaduct]]
 +
* [[Badwater Basin/zh-hant|Badwater Basin]]
 +
* [[Gold Rush/zh-hant|Gold Rush]]
 +
* [[Hoodoo/zh-hant|Hoodoo]]
 +
* [[Thunder Mountain/zh-hant|Thunder Mountain]]
 +
* [[Upward/zh-hant|Upward]]
 +
* [[Gorge/zh-hant|Gorge]]
 +
* [[Barnblitz/zh-hant|Barnblitz]]
 +
* [[Kong King/zh-hant|Kong King]]
  
 
=== AI Bot指令 ===
 
=== AI Bot指令 ===
Line 78: Line 102:
 
|'''如果設定成某個兵種的名稱,所有電腦人會重生轉成那個兵種。'''
 
|'''如果設定成某個兵種的名稱,所有電腦人會重生轉成那個兵種。'''
  
;Syntax: <code>tf_bot_force_class <''class''></code>
+
;語法: <code>tf_bot_force_class <''class''></code>
  
;Parameters:
+
;參數:
 
:<code><''class''></code>
 
:<code><''class''></code>
::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]''. Default is "" (aka blank).
+
::''兵種名稱''可以是以下字串值:''[[Demoman]]''''[[Engineer]]''''[[Heavy]]Weapons''''[[Medic]]''''[[Pyro]]''''[[Scout]]''''[[Soldier]]''''[[Sniper]]''''[[Spy]]''。預設值為""(空白)。
  
;Example: <code>tf_bot_force_class medic</code> will make all TFbots respawn as Medic.
+
;例子: <code>tf_bot_force_class medic</code> ---> 會使所有的電腦人職業都固定成Medic不變。
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_join_after_player'''</big>}}
 
|{{nw|<big>'''tf_bot_join_after_player'''</big>}}
|If nonzero, bots wait until a player joins before entering the game.
+
|如果值非0,電腦人會等到至少一個玩家進入遊戲後才加入遊戲。
  
;Syntax: <code>tf_bot_join_after_player <''integer''></code>
+
;語法: <code>tf_bot_join_after_player <''integer''></code>
  
;Parameters:
+
;參數:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Either 1 or 0. Default is 1 (enabled).
+
::只能是0或1。預設值為1(啟用)。
  
;Example: <code>tf_bot_join_after_player 0</code> will make TFBots join the game when added even if no players are on a team.
+
;例子: <code>tf_bot_join_after_player 0</code> ---> 會讓所有電腦人加入遊戲,即使隊伍裡沒有任何人類玩家。
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_keep_class_after_death'''</big>}}
 
|{{nw|<big>'''tf_bot_keep_class_after_death'''</big>}}
|If zero, bots will always respawn as a different class.
+
|如果值為0,電腦人在重生時會換兵種。
  
;Syntax: <code>tf_bot_keep_class_after_death <''integer''></code>
+
;語法: <code>tf_bot_keep_class_after_death <''integer''></code>
  
;Parameters:
+
;參數:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Either 1 or 0. Default is 0 (disabled).
+
::只能是0或1。預設值為0(禁用)。
  
;Example: <code>tf_bot_keep_class_after_death 1</code> will prevent TFBots from changing class.
+
;例子: <code>tf_bot_keep_class_after_death 1</code> --->使電腦人不會換兵種。
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_kick'''</big>}}
 
|{{nw|<big>'''tf_bot_kick'''</big>}}
 
|
 
|
This command will remove one or all AI bots.
+
這個指令會踢除任一或所有電腦人。
  
;Syntax: <code>tf_bot_kick <''name/all''></code>
+
;語法: <code>tf_bot_kick <''name/all''></code>
  
;Parameters:
+
;參數:
 
:<code><''name/all''></code>
 
:<code><''name/all''></code>
::Specifies the name of bot to remove or all.
+
::指定一個電腦人的名字,或是踢除所有電腦人。
  
;Example: <code>tf_bot_kick CEDA</code> will kick the TFbot named "CEDA" if one exists.
+
;例子: <code>tf_bot_kick CEDA</code> ---> 會把叫做「CEDA」的電腦人踢除(如果有的話)。
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_prefix_name_with_difficulty'''</big>}}
 
|{{nw|<big>'''tf_bot_prefix_name_with_difficulty'''</big>}}
|If nonzero, append the skill level of the bot to the bot's name
+
|如果值非0,會在電腦人的名字附上該名電腦人的難度等級。
  
;Syntax: <code>tf_bot_prefix_name_with_difficulty <''integer''></code>
+
;語法: <code>tf_bot_prefix_name_with_difficulty <''integer''></code>
  
;Parameters:
+
;參數:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Either 1 or 0. Default is 0 (disabled).
+
::只能是0或1。預設值為0(禁用)。
  
;Example: <code>tf_bot_prefix_name_with_difficulty 1</code> will cause added bots to have names like "1 Aimbot" (normal) and "3 Saxton Hale" (expert).
+
;例子: <code>tf_bot_prefix_name_with_difficulty 1</code> ---> 會讓加進來的電腦人有像是「1 Aimbot(普通難度)」和「3 Saxton Hale(專家難度)」等的名字。
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_quota'''</big>}}
 
|{{nw|<big>'''tf_bot_quota'''</big>}}
|Determines the total number of tf bots in the game. Only has effect is "tf_bot_quota_mode" = "fill" or "match".
+
|設定伺服器裡的電腦人總數。只在tf_bot_quota_mode的值是fill或match的時候才有作用。
  
;Syntax: <code>tf_bot_quota <''integer''></code>
+
;語法: <code>tf_bot_quota <''integer''></code>
  
;Parameters:
+
;參數:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Whole number between 0 and how many players the server can hold. Default is 0.
+
::值可以是0到伺服器玩家上限的數字。預設值是0。
  
;Example: <code>tf_bot_quota 2</code>, if tf_bot_quota_mode = match, will add two bots to the server for every one human.
+
;例子: <code>tf_bot_quota 2</code> --->如果tf_bot_quota_mode值為match,則會依照一名人類玩家:兩名電腦人的比例加入電腦人。
 
|-
 
|-
 
|{{nw|<big>'''tf_bot_quota_mode'''</big>}}
 
|{{nw|<big>'''tf_bot_quota_mode'''</big>}}
|Determines the type of quota.
+
|設定加入電腦人的方式。
  
;Syntax: <code>tf_bot_quota_mode<''normal/fill/match''></code>
+
;語法: <code>tf_bot_quota_mode<''normal/fill/match''></code>
  
;Parameters:
+
;參數:
 
:<code>''normal/fill/match''</code>
 
:<code>''normal/fill/match''</code>
::If 'normal', the server will never add/remove TFbots without explicit commands and bot_quota has no effect.
+
::如果值為normal,則在沒有特定指令的情況下伺服器不會增加/移除任何電腦人,且tf_bot_quota指令將會沒有作用。
::If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
+
::如果值為fill,則伺服器會調整電腦人數量好讓伺服器保持至少有N名玩家,其中N為tf_bot_quota的數值。
::If 'match', the server will maintain a 1:N ratio of humans to bots, where N is bot_quota.
+
::如果值為match,則伺服器會保持1名人類玩家:N名電腦人的比,其中N為tf_bot_quota的數值。
  
;Example: <code>tf_bot_quota_mode fill</code> will always keep (bot_quota - # of human players) bots in the game.
+
;例子: <code>tf_bot_quota_mode fill</code> ---> 伺服器將會確保遊戲中有(bot_quota值 - 人類玩家數量)個電腦人。
 
|}
 
|}
  
 
== 標靶電腦人 ==
 
== 標靶電腦人 ==
Puppet bots have no AI code and cannot move or act on their own. These bots can be used like puppets though, players can manipulate them to follow the player's commands such as following the player around and firing their weapons. Puppet Bots are mainly used for testing purposes and can also create stunning visuals if manipulated accordingly.
 
  
=== Puppet Bot Commands ===
+
標靶電腦人並沒有AI也不會靠自己移動。這些電腦人可以像機器人一樣的使用,操作者可以命令他們跟著玩家到處亂走亂開火。標靶機器人經常被用於戰鬥技的練習,但也可以藉由使用多項命令來製造驚人的視覺效果。
Not all of the following commands work; for clarity, the complete list of commands is included.
 
  
''Note: entering the command without any values will display the command's current setting and a brief description.''
+
=== 標靶電腦人指令 ===
 +
 
 +
下列指令並非全部都有作用;但為求精確,還是將完整的指令列表列出。
 +
 
 +
''附註:以未指定數值的方式鍵入帶參數的指令會顯示該指令的現在設定值,以及簡單的功能敘述。
  
 
{| class="wikitable grid"
 
{| class="wikitable grid"
! class="header" | Command
+
! class="header" | 指令碼
! class="header" | Description
+
! class="header" | 作用描述
 
|-
 
|-
 
|{{nw|<big>'''bot'''</big>}}
 
|{{nw|<big>'''bot'''</big>}}
|This command will create a bot on the given team with the specified class and name. If team or name is omitted, they will be assigned randomly.
+
|這個指令將會將一名可以指定名字、兵種、隊伍的電腦人加入遊戲。若沒有指定,隊伍、名字或兵種將會隨機決定。
  
;Syntax: <code>bot -team <''teamname/number''> -class <''classname''> -name <''botname''></code>
+
;語法: <code>bot -team <''teamname/number''> -class <''classname''> -name <''botname''></code>
  
;Parameters:
+
;參數:
 
:<code>-team ''teamname/number''</code>
 
:<code>-team ''teamname/number''</code>
::Specifies the team name or number to assign the bot. Where ''name/number'' can be ''[[RED]]'' or ''1'', ''[[BLU]]'' or ''0''
+
::指定電腦人加入指定隊伍的名稱或代號。''name/number''可以是''[[RED]]''''1''''[[BLU]]''''0''
 
:<code>-class ''classname''</code>
 
:<code>-class ''classname''</code>
::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]''
+
::''兵種名稱''可以是''[[Demoman]]''''[[Engineer]]''''[[Heavy]]Weapons''''[[Medic]]''''[[Pyro]]''''[[Scout]]''''[[Soldier]]''''[[Sniper]]''''[[Spy]]''
 
:<code>-name ''botname''</code>
 
:<code>-name ''botname''</code>
::''botname'' can be anything. If there is already someone with the same name, an incremental number (starting at 1) surrounded with parenthesis will be added to the beginning of the name. For example, joe, (1)joe, (2)joe, etc. If no name is given then the name will be "bot" followed by a number starting with 01; for example, the first bot will be bot01, the next bot02, and so on.
+
::''電腦人名字''可隨意設定。如果已經有玩家或電腦人有相同的命字,則會在名字前面加上一個用括號括住的遞增數字(由1開始)。例如joe、(1)joe、(2)joe,以此類推。如果沒有指定名字,則電腦人的名字會是"bot",且後面會加上從01開始的遞增數字。舉例來說,第一個加入的電腦人會是bot01,再來加的是bot02,以此類推。
;Example: <code>bot -team red -class Engineer -name joe</code>
+
;例子: <code>bot -team red -class Engineer -name joe</code> ---> 會在紅隊加入一個名字叫做joe的工程師電腦人。
 
|-
 
|-
 
|{{nw|<big>'''bot_changeclass'''</big>}}
 
|{{nw|<big>'''bot_changeclass'''</big>}}
|Force all bots to change to the specified class.
+
|強迫所有電腦人換成指定兵種。
''Does not seem to be implemented, nothing happens.''
+
''無效指令:輸入後沒有作用。''
 
|-
 
|-
 
|{{nw|<big>'''bot_changeteams'''</big>}}
 
|{{nw|<big>'''bot_changeteams'''</big>}}
 
|
 
|
Make all bots change teams.
+
強迫所有電腦人換隊。
This forces all the bots to switch teams. If a bot was on the RED team then it will now be on the BLU team and vice versa.
+
這指令會強制讓使所有電腦人跳到另一個隊伍。如果一名電腦人本來在紅隊,輸入指令後會跳到藍隊;藍隊的電腦人則會跳到紅隊。
 
|-
 
|-
 
|{{nw|<big>'''bot_command'''</big>}}
 
|{{nw|<big>'''bot_command'''</big>}}
|Sends specified command on behalf of specified bot.
+
|令指定電腦人執行特定指令。
  
;Syntax: <code>bot_command <''botname''> <''console command''></code>
+
;語法: <code>bot_command <''botname''> <''console command''></code>
::''botname'' is the name or id of the bot to send the command to.
+
::''botname''是欲指定指令的電腦人名字。
::''console command'' can be any of the ones listed in [[Scripting#Console Commands]].
+
::''console command''可以是[[Scripting#Console Commands|控制台命令列表]]裡的任意指令。
;Example 1: bot_command bot01 "voicemenu 0 0"
+
;例一:bot_command bot01 "voicemenu 0 0" ---> 會使bot01喊出「Medic!」。
;Example 2: bot_command bot01 "taunt"
+
;例二: bot_command bot01 "taunt" ---> 會使bot01做出嘲諷動作。
  
::The slot commands (slot1, slot2, etc.) do not work with bot_command, however with bot_forcefireweapon, you can make all bots in that class switch to that weapon and start firing, then make them stop. You can only make the entire group of bots in that class switch to that weapon, however.
+
::Slot指令(slot1、slot2等等)在bot_command沒有作用,但配合使用bot_forcefireweapon指令的話,你可以令所有指定電腦人切換至該樣武器並開始射擊再令他們停下。只可能用這種方式令指定電腦人換武器。
 
|-
 
|-
 
|{{nw|<big>'''bot_defend'''</big>}}
 
|{{nw|<big>'''bot_defend'''</big>}}
|Set to a team number, and that team will all keep their combat shields raised.
+
|設為某隊的代號(1=紅隊,0=藍隊)的話,該隊伍的電腦人會保持警戒姿態。
For instance, Heavies will spin their miniguns.
+
舉例來說,重裝兵電腦人便會開始預轉格林機槍。
 
|-
 
|-
 
|{{nw|<big>'''bot_dontmove'''</big>}}
 
|{{nw|<big>'''bot_dontmove'''</big>}}
|Bots are allowed or prevented from moving.  When set to ''1'' the bots cannot move but they can still turn and jump.  Note with a combination of this command and <code>bot_mimic</code> you can move bots to where you want them and leave them there.
+
|允許或禁止電腦人移動。設為''1''時電腦人無法移動,但還是可以轉身及跳躍。配合<code>bot_mimic</code>指令使用,你可以把電腦人移到想要的位置,並讓他們停在該處。
  
;Syntax: <code>bot_dontmove <''0/1''></code>
+
;語法: <code>bot_dontmove <''0/1''></code>
::Bot is allowed to move, or not.
+
::電腦人可以移動(設為0)或不能移動(設為1)。
;Example: <code>bot_dontmove 1</code>
+
;例子: <code>bot_dontmove 1</code>  
 
|-
 
|-
 
|{{nw|<big>'''bot_forceattack'''</big>}}
 
|{{nw|<big>'''bot_forceattack'''</big>}}
|This will make all the bots automatically fire whatever [[weapon]] they currently have selected.  If <code>bot_forceattack2</code> is set to ''0'', then the bots will execute primary_fire.  If <code>bot_forceattack2</code> is set to ''1'', then the bots will execute secondary_fire.
+
|這個指令會讓所有電腦人開始射擊他們現在持用的[[weapon/zh-hant|武器]]。如果<code>bot_forceattack2</code>設為''0''的話,電腦人會進行主要攻擊。如果<code>bot_forceattack2</code>設為''1'',電腦人將會進行次要攻擊。
  
Note this does nothing if <code>bot_mimic</code> is active (set to ''1'').
+
本指令在<code>bot_mimic</code>啟用中(設為''1'')的情況下無效。
  
;Syntax: <code>bot_forceattack <''0/1''></code>
+
;語法: <code>bot_forceattack <''0/1''></code>
::Bot will not fire if set to ''0'' and fire repeatedly if set to ''1''.
+
::設成''0''時電腦人不會攻擊;設成''1''時將會不斷重複開火。
;Example: <code>bot_forceattack 1</code>
+
;例子: <code>bot_forceattack 1</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_forceattack2'''</big>}}
 
|{{nw|<big>'''bot_forceattack2'''</big>}}
|This will make all the bots execute secondary_fire on whatever [[weapon]] they currently have selected when <code>bot_forceattack</code> is set to ''1''.
+
|這個指令會在<code>bot_forceattack</code>設為''1''時,讓所有電腦人用使用中的[[weapon/zh-hant|武器]]進行次要攻擊。
  
;Syntax: <code>bot_forceattack2 <''0/1''></code>
+
;語法: <code>bot_forceattack2 <''0/1''></code>
::Bot will use its weapon's secondary_fire when set to ''1'', primary_fire when set to ''0''
+
::這個指令設成1時會讓所有電腦人開始使用他們現在持用[[weapon/zh-hant|武器]]的次要攻擊功能、設成''0''時則是主要射擊功能。
;Example: <code>bot_forceattack2 1</code>
+
;: <code>bot_forceattack2 1</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_forceattack_down'''</big>}}
 
|{{nw|<big>'''bot_forceattack_down'''</big>}}
|When firing, don't tap fire, hold it down. If this is set to ''0'' then the bot will act like they are continuously tapping the fire button (useful for the [[Pistol]], but not for the [[Heavy]]'s [[Minigun]]). If this is set to ''1'' then the bot will act as if it is holding down the fire button (useful for the Heavy).
+
|如果設為''0'',電腦人的射擊模式將會是快速點擊開火鍵(適用於[[Pistol/zh-hant|手槍]],但不適於[[Heavy/zh-hant|重裝兵]][[Minigun/zh-hant|格林機槍]])。如果設為''1''電腦人的射擊模式將會是按住開火鍵(適用於重裝兵)
  
;Syntax: <code>bot_forceattack_down <''0/1''></code>
+
;語法: <code>bot_forceattack_down <''0/1''></code>
::On when set to ''1'', off when set to ''0''
+
::設為''1''為啟動,設為''0''為關閉。
;Example: <code>bot_forceattack_down 1</code>
+
;例子: <code>bot_forceattack_down 1</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_forcefireweapon'''</big>}}
 
|{{nw|<big>'''bot_forcefireweapon'''</big>}}
|Forces all bots who have the specified weapon to switch to and fire it.
+
|強迫所有電腦人切換為指定武器並開火。
If a bot does not have this weapon, nothing happens to it (unless it is firing a different weapon, in which it stops)
+
如果有電腦人沒有這項武器,本指令對他不會有效果(除非他正在使用其他武器開火,這時輸入本指令他的動作會停止)
;Syntax: <code>bot_forcefireweapon <''weapon filename''></code>
+
;語法: <code>bot_forcefireweapon <''weapon filename''></code>
::''filename'' is usually ''tf_weapon_ <weapon name>''.
+
::''filename''的格式通常是''tf_weapon_ <weapon name>''
;Examples: <code>bot_forcefireweapon tf_weapon_fists</code> makes all [[Heavy]] bots switch to and repeatedly attack with their [[Fists]], and all other bots stop attacking.
+
;例子: <code>bot_forcefireweapon tf_weapon_fists</code> ---> 讓所有[[Heavy/zh-hant|重裝兵]]電腦人切換為[[Fists/zh-hant|拳頭]]並開始連續出拳,並讓其他兵種的電腦人停止攻擊。
<code>bot_forcefireweapon tf_weapon_shotgun_pyro</code> makes all [[Pyro]] bots switch to and repeatedly fire their [[Shotgun]]s, and all other bots stop attacking.
+
;<code>bot_forcefireweapon tf_weapon_shotgun_pyro</code> ---> 讓所有 [[Pyro/zh-hant|火焰兵]]電腦人切換為[[shotgun/zh-hant|散彈槍]]並以之連續開火,同時讓其他兵種的電腦人停止攻擊。
  
::To make all bots stop attacking, simply specify a non-existent weapon filename. Anything without tf_weapon in it isn't a TF2 weapon, so the bots won't shoot it, for example ''bot_forcefireweapon ,,''
+
::若要讓所有電腦人停止攻擊,只要在filename參數指定不存在的武器名稱即可。只要名稱前面沒有tf_weapon字串的肯定不是TF2裡的武器,所以電腦人沒辦法使用它。例如,''bot_forcefireweapon ,,''
::Bots' loadouts cannot be changed, therefore you cannot make them fire unlockable weapons.
+
::另外,電腦人的裝備無法更動,因此你不能讓電腦人使用解鎖武器開火。
 
|-
 
|-
 
|{{nw|<big>'''bot_kill'''</big>}}
 
|{{nw|<big>'''bot_kill'''</big>}}
 
|
 
|
Kills the specified bot.
+
殺死指定的電腦人。
;Syntax: <code>bot_kill <''bot name''></code>
+
;語法: <code>bot_kill <''bot name''></code>
::Makes the specified bot commit suicide.
+
::讓指定的電腦人自殺。
;Example: <code>bot_kill bot01</code>
+
;例子: <code>bot_kill bot01</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_mimic'''</big>}}
 
|{{nw|<big>'''bot_mimic'''</big>}}
|Bot uses usercmd of player by index.
+
|令所有電腦人跟從玩家動作。
The bot will execute all keystrokes issued by a player, mimicking movements, turns, jumps, fire, etc.
+
電腦人將會執行任何玩家的動作,包括移動、轉身、跳躍、開火...等。
  
Note this overrides <code>bot_forceattack</code> but does not override <code>bot_dontmove</code>.
+
本指令會使<code>bot_forceattack</code>失效,但<code>bot_dontmove</code>依然可以作用。
  
;Syntax: <code>bot_mimic <''0/1''></code>
+
;語法: <code>bot_mimic <''0/1''></code>
::On when set to ''1'', off when set to ''0''
+
::設為''1''為開啟,設為''0''為關閉。
;Example: <code>bot_mimic 1</code>
+
;例子: <code>bot_mimic 1</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_mimic_yaw_offset'''</big>}}
 
|{{nw|<big>'''bot_mimic_yaw_offset'''</big>}}
 
|
 
|
Offsets the bots' yaw.
+
指定電腦人的面對角度。
The bots will face in a direction this angle from the player. By default this is set to ''180'' so that all bots will face the player. Setting this to ''0'' will face the bots in the same direction as the player.
+
電腦人將會看向和玩家相對來看的角度方向。預設值為''180'',也就是所有電腦人都會正面面對玩家。設為''0''會令電腦人看向玩家正在看的相同方向(換句話說,完全背對玩家)。
  
;Syntax: <code>bot_mimic_yaw_offset <''0-360''></code>
+
;語法: <code>bot_mimic_yaw_offset <''0-360''></code>
::Set the direction by specifying angle in degrees
+
::設定電腦人看向的方向角度,單位為度。數值為0到360。
;Example: <code>bot_mimic_yaw_offset 180</code>
+
;例子: <code>bot_mimic_yaw_offset 180</code> ---> 會使電腦人正面面對玩家。
 
|-
 
|-
 
|{{nw|<big>'''bot_randomnames'''</big>}}
 
|{{nw|<big>'''bot_randomnames'''</big>}}
 
|
 
|
 +
|-
 +
|{{nw|<big>'''bot_mirror'''</big>}}
 +
|
 +
指定機器人模仿身上裝備。
 +
;語法: <code>bot_mirror <''bot name''></code>
 +
::讓指定的模仿身上裝備。
 +
;例子: <code>bot_mirror bot01</code>
  
=== AI Bot的名子 ===
+
=== AI Bot的名字 ===
The AI Bots are programmed to have different names, with many of their names being references to Valve's other works. They also include some references to Team Fortress as well. Many of these names have been requested on the Steam forums. <!--If you encounter other names that aren't on the list, please add them-->
+
AI Bots設計為擁有不同的名字,且許多名字都影射了V社出品的其他遊戲的內容。有些名字也直接影射了Team Fortress系列的內容。下列名字大部分都是在Steam玩家論壇的網友提出來的。<!--If you encounter other names that aren't on the list, please add them-->
{|
+
{{Bot names}}
| valign="top" |
+
;語法: <code>bot_randomnames <''0/1''></code>
*[[Hacking#Aimbots|AimBot]]
+
::設為''1''為開啟,設為''0''為關閉。
*AmNot
+
;例子: <code>bot_randomnames 1</code>
*[http://half-life.wikia.com/wiki/Aperture_Science Aperture Science] Prototype XR7
 
*[[Sniper|A Professional With Standards]]
 
*BeepBeepBoop
 
*[[Meet the Engineer|Big Mean Mother Hubbard]]
 
*[http://half-life.wikia.com/wiki/Black_Mesa Black Mesa]
 
*[http://left4dead.wikia.com/wiki/Boomer_bile BoomerBile]
 
*Cannon Fodder
 
*[http://left4dead.wikia.com/wiki/CEDA CEDA]
 
*[http://half-life.wikia.com/wiki/Chell Chell]
 
*[[Scout|Chucklenuts]]
 
*[http://half-life.wikia.com/wiki/Companion_Cube Companion Cube]
 
*[[Engineer|CreditToTeam]]
 
*[[Damage|CRITRAWKETS]]
 
*[[Meet the Sniper|Crazed Gunman]]
 
*[http://half-life.wikia.com/wiki/Crowbar Crowbar]
 
*[[Heavy|CryBaby]]
 
*[[Heavy|CrySomeMore]]
 
*{{W|C++}}
 
*[http://half-life.wikia.com/wiki/Cake Delicious Cake]
 
*DeadHead
 
*{{W|Division_by_zero|Divide by Zero}}
 
*[http://half-life.wikia.com/wiki/Dog Dog]
 
*[[Force-A-Nature]]
 
*[[Scout|Freakin' Unbelievable]]
 
*[http://www.teamfortress.com/classless/hidden/hats/ Gentlemanne of Leisure]
 
| valign="top" |
 
*[http://www.teamfortress.com/classless/hidden/hats/ GENTLE MANNE of LEISURE]
 
*[http://half-life.wikia.com/wiki/Glados GlaDOS]
 
*[[Meet the Demoman|Grim Bloody Fable]]
 
*[[Demoman|GutsAndGlory!]]
 
*[[hats|Hat-Wearing MAN]]
 
*[[Demoman|Headful of Eyeballs]]
 
*[[Medic|Herr Doktor]]
 
*HI THERE
 
*[http://counterstrike.wikia.com/wiki/Hostage Hostage]
 
*Humans Are Weak
 
*[[Hacking|H@XX0RZ]]
 
*[[Heavy|I LIVE!]]
 
*[http://half-life.wikia.com/wiki/Ivan_the_Space_Biker IvanTheSpaceBiker]
 
*[[Demoman|Kaboom!]]
 
*LOS LOS LOS
 
*[[Soldier|Maggot]]
 
*[[Mann Co.]]
 
*Me
 
*[http://www.youtube.com/watch?v=LJbY4ixm_ZM Mentlegen]
 
*Mindless Electrons
 
*[[Meet the Engineer|MoreGun]]
 
*Nobody
 
*[[The Sandvich|Nom Nom Nom]]
 
*Not Me
 
*Numnutz
 
*[http://left4dead.wikia.com/wiki/Coach/Quotes#The_Fairgrounds One-Man Cheeseburger Apocalypse]
 
*[[Poopy Joe]]
 
| valign="top" |
 
*[[Showdown|Pow!]]
 
*[http://www.urbandictionary.com/define.php?term=ragequit RageQuit]
 
*[[Saxton Hale]]
 
*[[Soldier|Screamin' Eagles]]
 
*[http://www.teamfortress.com/classless/hidden/hats/ SMELLY UNFORTUNATE]
 
*[http://half-life.wikia.com/wiki/Still_Alive Still Alive]
 
*SomeDude
 
*Someone Else
 
*Soulless
 
*[http://left4dead.wikia.com/wiki/Tank TAAAAANK!]
 
*[[Training#Target|Target Practice]]
 
*ThatGuy
 
*[[The Administrator]]
 
*THEM
 
*[[Heavy|Tiny Baby Man]]
 
*Totally Not A Bot
 
*[http://half-life.wikia.com/wiki/Combine The Combine]
 
*[http://half-life.wikia.com/wiki/Freeman The Freeman]
 
*[http://half-life.wikia.com/wiki/G_Man The G-Man]
 
*trigger_hurt
 
*[http://left4dead.wikia.com/wiki/Witch WITCH]
 
*ZAWMBEEZ
 
*[[Medic|Ze Ubermensch]]
 
*[[Zepheniah Mann]]
 
*{{W|Hexspeak#Notable_magic_numbers|0xDEADBEEF}}
 
*{{W|Binary_numeral_system|10001011101}}
 
|};Syntax: <code>bot_randomnames <''0/1''></code>
 
::On when set to ''1'', off when set to ''0''
 
;Example: <code>bot_randomnames 1</code>
 
 
|-
 
|-
 
|{{nw|<big>'''bot_refill'''</big>}}
 
|{{nw|<big>'''bot_refill'''</big>}}
|Refills all bots' Ammo counts, including [[Metal]] for Engineers.
+
|將所有電腦人的彈藥數補到上限,包含工程師的[[Metal/zh-hant|金屬]]
  
Syntax: <code>bot_refill</code>
+
;語法: <code>bot_refill</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_saveme'''</big>}}
 
|{{nw|<big>'''bot_saveme'''</big>}}
|This makes all the bots call for a Medic, equivalent to issuing <code>bot_command <''botname''> "voicemenu 0 0"</code> to every bot.
+
|這個指令會使所有電腦人呼叫Medic。效果等同於對所有使用<code>bot_command <''botname''> "voicemenu 0 0"</code>指令。
Syntax: <code>bot_saveme <''0/1''></code>
+
;語法: <code>bot_saveme <''0/1''></code>
::On when set to ''1'', off when set to ''0''
+
::設為''1''為開啟,設為''0''為關閉。
 
|-
 
|-
 
|{{nw|<big>'''bot_selectweaponslot'''</big>}}
 
|{{nw|<big>'''bot_selectweaponslot'''</big>}}
|This makes the first bot select weapon in specified weapon slot.
+
|這個指令會使第一個加入的電腦人選擇指定的武器欄位。
0 = primary; 1 = secondary; 2 = melee; 3 = special
+
0 = 主要武器、1 = 次要武器、 2 = 近戰武器、 3 = 特殊物品
Note this only works for the first bot spawned.  There doesn't seem to be a way to specify other bots.
+
本指令只對第一個加入的電腦人有效。目前尚未發現能夠指定其他電腦人的方法。
  
;Syntax: <code>bot_selectweaponslot <''n''></code>
+
;語法: <code>bot_selectweaponslot <''n''></code>
::Set ''n'' to weapon slot that bots should switch to.
+
::令電腦人切換為編號為''n''的武器欄位。
;Example: <code>bot_selectweaponslot 2</code>
+
;例子: <code>bot_selectweaponslot 2</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_teleport'''</big>}}
 
|{{nw|<big>'''bot_teleport'''</big>}}
|Teleports a specified bot to a given coordinate.
+
|將一名電腦人傳送至指定座標位置。
Map coordinates of where you are standing can be found by typing <code>Status</code> in the console.
+
玩家現在所在的地圖座標位置可藉由在控制列輸入<code>Status</code>得知。
  
;Syntax: <code>bot_teleport <''botname''> <''X''> <''Y''> <''Z''> <''Pitch''> <''Yaw''> <''Roll''></code>
+
;語法: <code>bot_teleport <''botname''> <''X''> <''Y''> <''Z''> <''Pitch''> <''Yaw''> <''Roll''></code>
::Where ''botname'' is the bot name or id to teleport.
+
::''botname''為欲傳送的電腦人名字。
::<code>''X'' ''Y'' ''Z''</code> are the map coordinates.
+
::<code>''X'' ''Y'' ''Z''</code>為地圖座標的X軸、Y軸、Z軸。
::<code>''Pitch'' ''Yaw'' ''Roll''</code> is the direction the bot should face.
+
::<code>''Pitch'' ''Yaw'' ''Roll''</code>為電腦人被傳送後面對地圖座標的X軸、Y軸、Z軸的角度。(值為0到360)
;Example: <code>bot_teleport bot01 -4815 1385 -447 0 0 0</code>
+
;例子: <code>bot_teleport bot01 -4815 1385 -447 0 0 0</code>
 
|-
 
|-
 
|{{nw|<big>'''bot_whack'''</big>}}
 
|{{nw|<big>'''bot_whack'''</big>}}
|Delivers lethal damage from player to specified bot. This basically kills the bot with the currently selected weapon, probably used for testing during development.
+
|使指定電腦人受到來自玩家的即死傷害。效果通常是電腦人被玩家使用中的武器殺死,推測應該是開發用的測試指令。
  
;Syntax: bot_whack <''botname''>
+
;語法: bot_whack <''botname''>
::Where ''botname'' is the name of bot to "whack".
+
::''botname''是你想「痛扁」的電腦人名字。
;Example: bot_whack bot109
+
;例子: bot_whack bot109
 
|}
 
|}
 +
 +
== 第三方電腦人 ==
 +
截至目前,只有另一個電腦人插件仍在為TF2開發:RCBot2。該機器人由Cheeseh創建並正在維護,該網站可以在 [http://rcbot.bots-united.com/ 此處] 找到。
 +
 +
RCBot2改善了原版電腦人的許多問題(例如工程師電腦人不會搬運建築,或者電腦人無法在特定的地圖內正常運作等問題),並對電腦人進行了增強,使得它們的行為更像玩家。
 +
===RCBot2電腦人的特點===
 +
*火箭兵電腦人可以使用火箭跳,爆破兵電腦人也可以使用黏彈跳。(前提是地圖要有專屬的AI路徑)
 +
*電腦人可以「間諜檢查」,如果間諜偽裝成敵方電腦人之一,本尊看到後會立刻進行攻擊。(而不是像原本的電腦人一樣把"冒牌貨"忽略掉)
 +
*工程師電腦人在升級完自己的步哨後,會利用剩餘的金屬來協助其他工程師升級步哨,並且在隊友的建築被敵方間諜裝上電子破壞器時,會幫忙拆除電子破壞器。
 +
*電腦人可以正常的使用語音命令,文字會顯示出來,這與原版電腦人不同。
 +
*電腦人會利用近戰武器隨機攻擊隊友,來確認該隊友是不是間諜。
 +
*在 [[Control Point/zh-hant|攻擊/防禦控制點模式]] 或者 [[Payload/zh-hant|推車護送模式]] 的準備時間內,進攻方電腦人會直接到門口準備就緒,不會在出生點裡面發呆。防守方電腦人會躲藏在有掩蔽物的區域埋伏敵人。
 +
*電腦人可以在 [[Mann vs. Machine/zh-hant|曼恩對決機器模式]] 中正常的移動,攻擊機器人,但不會升級自己的武器。
  
 
== 更新紀錄 ==
 
== 更新紀錄 ==
'''[[January 6, 2010 Patch]]'''
+
{{Update history | '''{{Patch name|1|6|2010}}'''
* Various improvements to combat behaviors.
+
* 對戰鬥行為作出改進。
* In KOTH mode, Bots are now:
+
* 在山丘之王模式中,電腦人現在:
** More likely to roam around and hunt enemies if there is lots of time left.
+
** 如果在時間剩餘很多的情況下,比較會四處巡邏並追擊敵人。
** Become more likely to push for the point as time runs down, or their teammates start to capture it.
+
** 在時間快倒數完或是隊友開始佔點時,會比較積極的去壓點了。
* Medic bots now:
+
* 醫護兵電腦人現在:
** Opportunistically "overheal" nearby friends when they can.
+
** 會視情況盡可能的過量治療鄰近友軍。
** Prioritize healing of injured nearby friends more.
+
** 比較會優先治療鄰近的受傷友軍了。
** Don't focus on Heavies quite so exclusively.
+
** 不會只將治療重點全放在重裝兵上了。
** Don't spam their Medi Gun continuously at round start.
+
** 不會在回合開始時連點醫療槍。
** Won't choose cover far below their heal target so much (koth_nucleus).
+
** 不會去找過低於治療對象的掩護(koth_nucleus)。
** Fight back with their Syringe Gun appropriately.
+
** 會視情況使用注射槍作反擊。
* General bot improvements:
+
* 一般電腦人改進:
** They no longer stand still on the point when capturing or defending it.
+
** 在佔點或防守時不再一味的呆站不動了。
** They choose more varied routes now.
+
** 比較會選擇不同的移動路線了。
** They choose better defensive spots around captured points.
+
** 會選擇比較理想的控制點防禦佈陣。
** They fall back to another weapon when they entirely run out of ammo.
+
** 會在某樣武器彈藥耗盡時切換使用另一項武器。
** They adjust their FOV when using zoomed in Sniper scope.
+
** (狙擊手)會在使用狙擊鏡瞄準中時調整視野。
** They treat in-range Sentry Guns as the most dangerous threat.
+
** 將近距離遭遇的防禦步哨槍視為最大威脅。
** They fire their weapons is more realistic bursts.
+
** 會比較節制發射武器,注重彈藥使用效率。
** Engineers use their Shotgun properly.
+
** 工程師會視情況使用散彈槍攻擊。
* Added a "virtual mousepad" concept to rework how bots track enemy players.
+
* 為電腦人追蹤敵人時的模式加入「虛擬滑鼠墊」的概念:
** They now periodically estimate the position and velocity of the enemy they are tracking, instead of "locking on".
+
** 他們現在會使用預測追蹤中敵人的位置和速度的追蹤方式,而非以往的「鎖定」。
** Addresses the "180 spin around and fire", "Heavy bot is OP", "Sniper bot is OP", and "I can't fight a Heavy bot as a Scout" issues.
+
** 徹底解決玩家們對電腦人的抱怨:「背後長眼睛喔」、「Heavy bot mogg」、「Sniper bot mogg」、「我當Scout完全打不贏Heavy電腦人啊(淚)」等。
* Tuned Sniper spot finding algorithm to generate more diverse locations, partially .addressing the "Predictable Sniper camping spots" issue.
+
* 將狙擊手電腦人龜點選擇及瞄準規則微調得較為有變化,部份解決了「玩家可以預測狙擊手龜點」的問題。
* Soldier bots are more careful to not fire rockets that will explode on nearby geometry and kill them.
+
* 火箭兵電腦人在附近有障礙物時將會審慎決定是否發射火箭以免炸死自己。
* Fixed a bug where bots tried to heal from a Dispenser being carried by an Engineer.
+
* 修正電腦人會試圖從工程師搬運中的補給器獲得醫療和補給的問題。
* Tuned scoreboard logic to guard against malicious server operators spoofing bot pings to hide the "BOT" tag.
+
* 調整記分板模式以防止某些惡意伺服器會把Ping欄位調大以遮擋BOT標籤的問題。
* Added more bot names as suggested by the TF community.
+
* 新增更多TF社群提議的電腦人名字。
'''[[April 28, 2010 Patch]]'''
+
'''{{Patch name|4|28|2010}}'''
* Bots don't retreat to gather health as readily if they are in combat.
+
* 電腦人在戰鬥中時將不會一受傷就立刻尋求醫療資源。
* Bots no longer retreat when moving to block a point capture.
+
* 電腦人不再在試圖阻擋佔點時撤退。
* Bots should now equip an appropriate combat weapon and fight while moving to collect health.
+
* 電腦人現在在尋找醫療資源時會使用適合的武器且戰且走了。
* Bots who are roaming the map and hunting now chase down their victims, following them around corners.
+
* 在地圖上巡視的電腦人現在會追擊敵人,並將之逼到死角。
* Bots that fire projectiles (ie: rockets/grenades/etc) don't hold down their fire button for a minimum time. This was causing Soldier bots to fire rockets into nearby walls as they strafed, killing themselves.
+
* 會使用飛行道具的電腦人(如火箭、榴彈等等)不再按住開火鍵,以免在橫移進入鄰近牆壁作掩護時會炸死自己。
* Soldiers bots now switch to their Shotgun after firing all four rockets when engaging an enemy.
+
* 火箭兵電腦人會在四顆火箭打完後切換成散彈槍追擊敵人。
* Added a few more bot names from community suggestions.
+
* 新增更多社群提議的電腦人名字。
* Fixed a behavior loop with Engineer metal gathering.
+
* 修正工程師電腦人收集金屬的行為迴圈。
'''[[June 10, 2010 Patch]]'''
+
'''{{Patch name|6|10|2010}}'''
* Looking at a bot player for a few seconds now causes it to taunt.
+
* 現在盯著一個電腦人看幾秒會讓他做嘲諷動作。
'''[[June 14, 2010 Patch]]'''
+
'''{{Patch name|6|14|2010}}'''
* Fixed server crash related to bots and health kits.
+
* 修正電腦人使用醫療包造成伺服器當機的問題。
'''[[June 16, 2010 Patch]]'''
+
'''{{Patch name|6|16|2010}}'''
* Medics now respond when nearby humans call for Medic.
+
* 醫護兵電腦人現在會對呼叫Medic的人類玩家作反映了。
* If a Medic Bot is healing you and has an ÜberCharge ready, use the voice commands "Go go go!" or "Activate Charge!" to force the Bot to activate the ÜberCharge.
+
* 如果一個ÜberCharge計量表滿的醫護兵電腦人正在治療你,使用聲音指令「前進!」或「啟動ÜberCharge!」時會強迫該醫護兵電腦人啟動ÜberCharge。
'''[[July 19, 2010 Patch]]'''
+
'''{{Patch name|7|19|2010}}'''
* Improved performance of bot computations that are done when a point is captured, a round starts, or a checkpoint reached.
+
* 改善電腦人在控制點佔領、回合開始以及抵達檢查點的運算規則與行為表現。
* Fixed Engineer bot infinite build-destroy behavior loop regression.
+
* 修正工程師電腦人會不斷重複建造-摧毀的動作迴圈的問題。
* Fixed Medic bots losing their charge if they touch a resupply cabinet.
+
* 修正醫護兵電腦人會在碰到補給櫃時ÜberCharge計量表會歸零的問題。
* Fixed a crash due to having multiple types of bot systems running in-game simultaneously.
+
* 修正同時在遊戲中運行多種電腦人系統時會造成當機的問題。
* Fixed bot behavior issue resulting in bot pile-ups near level 3 teleporter entrances.
+
* 修正電腦人會擠成一堆搶著搭三級傳點的問題。
* Bots no longer consider sapped Sentry Guns a dangerous threat.
+
* 電腦人不再視被放置電子破壞器的防禦步哨槍為威脅了。
* Bots will not try to navigate through enemy spawn rooms (unless they have won the round).
+
* 電腦人將不會試圖進入敵方基地的重生點(除非他們贏了該回合)。
* Bot Engineers will avoid building Teleporters on steep slopes which can hinder teammate movement.
+
* 工程師電腦人會避免把傳點蓋在可能會卡到隊友移動的斜坡上了。
* Added tf_bot_pyro_always_reflect cvar. Set to 1 to make Pyro bots always reflect projectiles, regardless of difficulty level.
+
* 新增 <tt>tf_bot_pyro_always_reflect</tt> 指令。設為 1 時會讓火焰兵電腦人總是會試圖反彈飛行道具,無視他們的難度等級。
 +
'''{{Patch name|8|23|2011}}'''
 +
* 修正[[Demoman/zh-hant|爆破兵]]電腦人試圖引爆已經被摧毀的[[stickybombs/zh-hant|黏性炸彈]]時會當機的問題。
 +
* 新增 <code>tf_bot_kill</code> 指令。(語法和 <code>tf_bot_kick</code> 相同)
 +
* 改善電腦人遵循近戰限定模式的狀況。
 +
* 新增 <code>func_nav_avoid</code> 實體,讓地圖作者能控制電腦人「喜歡」去的地方。
 +
* 修正電腦人的爆破兵使用黏性炸彈時會射一發補一發,使他在布置黏彈陷阱或摧毀建築時沒有效率的問題。
 +
* 電腦人現在在攜帶情報時不會嘲諷了。
 +
* 新增使用[[Huntsman/zh-hant|獵人長弓]]的狙擊手電腦人的瞄準邏輯。
 +
* [[Sniper/zh-hant|狙擊手]]電腦人現在會更加積極地優先解決敵方狙擊手和工程師了。
 +
* 改善爆破兵電腦人用黏彈攻擊步哨防禦槍的表現。
 +
* 電腦人現在不會再試圖使用位置上是安排給敵方使用的醫療物品了。
 +
* 新增對應[[Chargin' Targe/zh-hant|衝擊刺盾]]和各種消耗品(如 [[Bonk! Atomic Punch/zh-hant|Bonk 飲料]]、[[Sandvich/zh-hant|三明治]]等等)的行為反應。
 +
* [[Medic/zh-hant|醫護兵]]電腦人現在會比較緊跟著治療對象了。
 +
* 狙擊手電腦人現在在極近距離遇敵時會拔出近戰武器作戰了。
 +
* 新增 <code>func_tfbot_hint</code> 實體來讓地圖作者能提示電腦人狙擊手哪些地方是適合的狙擊點。
 +
* 狙擊手電腦人在移動到狙擊點的路程中,會看情況攻擊路途上遇到的可能成功擊殺的目標。
 +
* [[Spy/zh-hant|間諜]]電腦人現在會比較積極地在破壞建築前先行刺殺工程師了。}}
  
 
== 參考 ==
 
== 參考 ==

Latest revision as of 19:03, 4 November 2022

這個頁面是介紹在遊戲中的絕地要塞2的電腦人。關於絕地要塞官方維基百科的電腦人BOT,請參閱絕地要塞官方維基百科的電腦人BOT。關於在曼恩 vs. 機器更新的機器人,請參閱機器人
一個火箭兵電腦人。在Dustbowl的訓練地圖內。
我的拳頭!它們真的是用做的!
重裝兵電腦人對自己的認知

在TF2的電腦人(BOT),有兩種模式:「人工智慧電腦人」和「標靶電腦人」。人工智慧電腦人是以一連串複雜的程式碼做出來,在遊戲中模仿真人玩家,可對戰的人工智慧。標靶電腦人就沒有人工智慧程式碼,只會呆站在原地,但他們在玩家測試武器或當標靶時很有用。標靶電腦人需要伺服器開啟作弊碼才能使用。這意味著在使用這種電腦人時,成就並不會被達成。

人工智慧電腦人(簡稱AI BOT)

AI Bot是被設計來模仿人類玩家,動作自主,讓真人可和它們對戰的電腦人。除此之外,他們選兵種時是隨機挑伺服器選的。它們使用了和惡靈勢力系列裡的AI相同的複雜程式碼。[1]AI Bot不需要伺服器開啟作弊碼就能使用,因此,你在和它們對戰時,成就仍可以達成。不過,因為電腦人不會看死亡觀察攝影機,所以陣亡後對它們的嘲諷成就還是無法解開。

AI Bots也有一些經常會出現的行為:

  • 準備時間(Setup time)時,有在你的準心上的AI電腦人都會做嘲諷動作。
  • 如果你按下請求治療鈕(預設E鍵),任何同隊的醫護兵電腦人都會過來醫治你。.
  • 如果一個醫護兵正醫治你,而且醫療槍電量也達 100%時,按下「前進!」(Z-3)或「啟動ÜberCharge!」(X-7)聲音指令會讓那個醫護兵電腦人啟動他的醫療槍無敵。
  • AI Bots 有時會自行喊出「間諜!」或是「往前!」等聲音指令,但是文字並不會出現在聊天對話框中。

現在人工智慧BOT的情況:

更精進的 AIBot 現在正在 beta 測試中,到時釋出會比現行的版本更好。無帽日更新後,所有兵種的 AI 系統都設定的很好,包括之前一直無法表現得很好的間諜也是。AI Bot 目前只在官方的山丘之王、一些彈頭車地圖、攻擊防禦控制點地圖如DustbowlGorge爭奪情報箱地圖、曼恩莊園地圖才會正常行動(在後兩者的地圖中,電腦人必須鍵入tf_bot_add指令才會出現)。在非官方地圖叫出人工智慧電腦人是可能的,但是他們就不會像官方地圖一樣運作自如了。

註:有許多受歡迎的非官方地圖,已經做出電腦人運作包

在沒 AI BOT 支援的地圖叫出電腦人:

  1. 在控制台(console)鍵入"sv_cheats 1"
  2. 再鍵入"nav_generate"
  3. 等待電腦畫出AI路徑
  4. 地圖會重新載入(路徑已經被儲存了,所以之前的動作不需重複)
  5. 再打開控制台,鍵入"tf_bot_add <數字>"叫出電腦人。

你可以在任何地圖鍵入這些指令,叫出電腦人,但是最後一行指令必須要依情況,鍵入數字,叫出適當數量的電腦人。

AI電腦人特徵

  • 電腦人目前為止不能使用任何非基本武器,或是戴上帽子和配帶其他物品
  • 在簡單難度下,電腦人多數情況都會使用,甚至只使用,他們的主要武器。
  • 簡單難度下不會有間諜狙擊手的電腦人;他們只出現在普通或以上的難度。
  • 電腦人目前為止不會火箭跳黏彈跳,也不會搬運建築物。(工程師電腦人在轉移陣地時會直接破壞他們的建築物)
  • 如果電腦人成功殺了一個玩家,它們很有可能會當場做出嘲諷,即使他們仍被敵方攻擊時也一樣。
  • 間諜電腦人(以及玩家)在偽裝時會被其他電腦人正確地忽略。然而,在電腦人發現敵方間諜被「撞」到、放置電子破壞器、使用武器、或者隱形時,他們會將其視為敵人,不會忘記,直到間諜在視線外改變偽裝或者他們死亡為止。
  • 電腦人控制的火焰兵會很頻繁的使用壓縮氣爆來反彈飛行物。
  • 醫護兵會在醫治狙擊手或工程師之前,先治療其他的兵種,就算呼叫醫護兵的聲音指令被執行也一樣。
  • 準備好ÜberCharge的醫護兵電腦人會在受傷的瞬間馬上啟動ÜberCharge。
  • 在專家難度下,如果一個偽裝的間諜看到敵方間諜啟動隱身,無論隱身有無失效,他都有辦法跟蹤對方。
  • 電腦人在準備時間不會攻擊,除非他們先被攻擊。(正在放黏彈的爆破兵除外)
  • 工程師電腦人可能會在奇怪的地方蓋步哨,接著摧毀它,然後尋找金屬好重蓋一個,接著不斷重複這個流程。
  • 工程師電腦人傾向不升級傳送器,有時他們也不會修理步哨,儘管在閒暇時也一樣。
  • 除了工程師、狙擊手跟間諜以外的電腦人,在攻擊/防禦控制點模式或者彈頭車模式的準備時間,會待在他們的出生點不動。

目前有電腦人功能的官方地圖

AI Bot指令

在有支援AI Bot的地圖中使用AI Bot,伺服器的管理員應該會在控制台(console:按下~鍵打開)打入以下指令:

指令碼 功用描述
tf_bot_add 這指令會在地圖中叫出一個或更多個隨機兵種,隨機隊伍的電腦人。他們會以"設計過的名子"被命名。
語法
tf_bot_add [<count>] [<class>] [<team>] [<difficulty>]
參數
<count>
設定有多少個電腦人會被叫出。如果忽略這項,就只會有一個BOT被叫出。
設定數字時要注意真人玩家和電腦人總人數的最大值。如果伺服器的人數最大值為24,只有一名真人玩家時,你應該只叫出最多23名AI BOT。超過的話會讓叫出的BOT站在原地。
<class>
設定兵種名稱。應打入:DemomanEngineerHeavyweaponsMedicPyroScoutSoldierSniperSpy
<team>
設定電腦人應加入哪個隊伍。會是:redblue
<difficulty>
設定電腦人的實力,難度。鍵入:easynormal 或hard
例子
tf_bot_add red 3 heavyweapons easy ---> 會叫出3個難度簡單的重裝兵到紅隊。
tf_bot_difficulty 設定所有加入的電腦人的難度。
語法
tf_bot_difficulty <level>
參數
<level>
設定所有加入的電腦人的難度。參數會是: 0=簡單,1=中等,2=難,3=專家。預設值是中等(1)。
例子
tf_bot_difficulty 2 --->會使這段指令後所有叫出的電腦人的難度為"難"。
tf_bot_force_class 如果設定成某個兵種的名稱,所有電腦人會重生轉成那個兵種。
語法
tf_bot_force_class <class>
參數
<class>
兵種名稱可以是以下字串值:DemomanEngineerHeavyWeaponsMedicPyroScoutSoldierSniperSpy。預設值為""(空白)。
例子
tf_bot_force_class medic ---> 會使所有的電腦人職業都固定成Medic不變。
tf_bot_join_after_player 如果值非0,電腦人會等到至少一個玩家進入遊戲後才加入遊戲。
語法
tf_bot_join_after_player <integer>
參數
<integer>
只能是0或1。預設值為1(啟用)。
例子
tf_bot_join_after_player 0 ---> 會讓所有電腦人加入遊戲,即使隊伍裡沒有任何人類玩家。
tf_bot_keep_class_after_death 如果值為0,電腦人在重生時會換兵種。
語法
tf_bot_keep_class_after_death <integer>
參數
<integer>
只能是0或1。預設值為0(禁用)。
例子
tf_bot_keep_class_after_death 1 --->使電腦人不會換兵種。
tf_bot_kick

這個指令會踢除任一或所有電腦人。

語法
tf_bot_kick <name/all>
參數
<name/all>
指定一個電腦人的名字,或是踢除所有電腦人。
例子
tf_bot_kick CEDA ---> 會把叫做「CEDA」的電腦人踢除(如果有的話)。
tf_bot_prefix_name_with_difficulty 如果值非0,會在電腦人的名字附上該名電腦人的難度等級。
語法
tf_bot_prefix_name_with_difficulty <integer>
參數
<integer>
只能是0或1。預設值為0(禁用)。
例子
tf_bot_prefix_name_with_difficulty 1 ---> 會讓加進來的電腦人有像是「1 Aimbot(普通難度)」和「3 Saxton Hale(專家難度)」等的名字。
tf_bot_quota 設定伺服器裡的電腦人總數。只在tf_bot_quota_mode的值是fill或match的時候才有作用。
語法
tf_bot_quota <integer>
參數
<integer>
值可以是0到伺服器玩家上限的數字。預設值是0。
例子
tf_bot_quota 2 --->如果tf_bot_quota_mode值為match,則會依照一名人類玩家:兩名電腦人的比例加入電腦人。
tf_bot_quota_mode 設定加入電腦人的方式。
語法
tf_bot_quota_mode<normal/fill/match>
參數
normal/fill/match
如果值為normal,則在沒有特定指令的情況下伺服器不會增加/移除任何電腦人,且tf_bot_quota指令將會沒有作用。
如果值為fill,則伺服器會調整電腦人數量好讓伺服器保持至少有N名玩家,其中N為tf_bot_quota的數值。
如果值為match,則伺服器會保持1名人類玩家:N名電腦人的比,其中N為tf_bot_quota的數值。
例子
tf_bot_quota_mode fill ---> 伺服器將會確保遊戲中有(bot_quota值 - 人類玩家數量)個電腦人。

標靶電腦人

標靶電腦人並沒有AI也不會靠自己移動。這些電腦人可以像機器人一樣的使用,操作者可以命令他們跟著玩家到處亂走亂開火。標靶機器人經常被用於戰鬥技的練習,但也可以藉由使用多項命令來製造驚人的視覺效果。

標靶電腦人指令

下列指令並非全部都有作用;但為求精確,還是將完整的指令列表列出。

附註:以未指定數值的方式鍵入帶參數的指令會顯示該指令的現在設定值,以及簡單的功能敘述。

指令碼 作用描述
bot 這個指令將會將一名可以指定名字、兵種、隊伍的電腦人加入遊戲。若沒有指定,隊伍、名字或兵種將會隨機決定。
語法
bot -team <teamname/number> -class <classname> -name <botname>
參數
-team teamname/number
指定電腦人加入指定隊伍的名稱或代號。name/number可以是RED1BLU0
-class classname
兵種名稱可以是DemomanEngineerHeavyWeaponsMedicPyroScoutSoldierSniperSpy
-name botname
電腦人名字可隨意設定。如果已經有玩家或電腦人有相同的命字,則會在名字前面加上一個用括號括住的遞增數字(由1開始)。例如joe、(1)joe、(2)joe,以此類推。如果沒有指定名字,則電腦人的名字會是"bot",且後面會加上從01開始的遞增數字。舉例來說,第一個加入的電腦人會是bot01,再來加的是bot02,以此類推。
例子
bot -team red -class Engineer -name joe ---> 會在紅隊加入一個名字叫做joe的工程師電腦人。
bot_changeclass 強迫所有電腦人換成指定兵種。

無效指令:輸入後沒有作用。

bot_changeteams

強迫所有電腦人換隊。 這指令會強制讓使所有電腦人跳到另一個隊伍。如果一名電腦人本來在紅隊,輸入指令後會跳到藍隊;藍隊的電腦人則會跳到紅隊。

bot_command 令指定電腦人執行特定指令。
語法
bot_command <botname> <console command>
botname是欲指定指令的電腦人名字。
console command可以是控制台命令列表裡的任意指令。
例一:bot_command bot01 "voicemenu 0 0" ---> 會使bot01喊出「Medic!」。
例二: bot_command bot01 "taunt" ---> 會使bot01做出嘲諷動作。
Slot指令(slot1、slot2等等)在bot_command沒有作用,但配合使用bot_forcefireweapon指令的話,你可以令所有指定電腦人切換至該樣武器並開始射擊再令他們停下。只可能用這種方式令指定電腦人換武器。
bot_defend 設為某隊的代號(1=紅隊,0=藍隊)的話,該隊伍的電腦人會保持警戒姿態。

舉例來說,重裝兵電腦人便會開始預轉格林機槍。

bot_dontmove 允許或禁止電腦人移動。設為1時電腦人無法移動,但還是可以轉身及跳躍。配合bot_mimic指令使用,你可以把電腦人移到想要的位置,並讓他們停在該處。
語法
bot_dontmove <0/1>
電腦人可以移動(設為0)或不能移動(設為1)。
例子
bot_dontmove 1
bot_forceattack 這個指令會讓所有電腦人開始射擊他們現在持用的武器。如果bot_forceattack2設為0的話,電腦人會進行主要攻擊。如果bot_forceattack2設為1,電腦人將會進行次要攻擊。

本指令在bot_mimic啟用中(設為1)的情況下無效。

語法
bot_forceattack <0/1>
設成0時電腦人不會攻擊;設成1時將會不斷重複開火。
例子
bot_forceattack 1
bot_forceattack2 這個指令會在bot_forceattack設為1時,讓所有電腦人用使用中的武器進行次要攻擊。
語法
bot_forceattack2 <0/1>
這個指令設成1時會讓所有電腦人開始使用他們現在持用武器的次要攻擊功能、設成0時則是主要射擊功能。
bot_forceattack2 1
bot_forceattack_down 如果設為0,電腦人的射擊模式將會是快速點擊開火鍵(適用於手槍,但不適於重裝兵格林機槍)。如果設為1電腦人的射擊模式將會是按住開火鍵(適用於重裝兵)。
語法
bot_forceattack_down <0/1>
設為1為啟動,設為0為關閉。
例子
bot_forceattack_down 1
bot_forcefireweapon 強迫所有電腦人切換為指定武器並開火。

如果有電腦人沒有這項武器,本指令對他不會有效果(除非他正在使用其他武器開火,這時輸入本指令他的動作會停止)。

語法
bot_forcefireweapon <weapon filename>
filename的格式通常是tf_weapon_ <weapon name>
例子
bot_forcefireweapon tf_weapon_fists ---> 讓所有重裝兵電腦人切換為拳頭並開始連續出拳,並讓其他兵種的電腦人停止攻擊。
bot_forcefireweapon tf_weapon_shotgun_pyro ---> 讓所有 火焰兵電腦人切換為散彈槍並以之連續開火,同時讓其他兵種的電腦人停止攻擊。
若要讓所有電腦人停止攻擊,只要在filename參數指定不存在的武器名稱即可。只要名稱前面沒有tf_weapon字串的肯定不是TF2裡的武器,所以電腦人沒辦法使用它。例如,bot_forcefireweapon ,,
另外,電腦人的裝備無法更動,因此你不能讓電腦人使用解鎖武器開火。
bot_kill

殺死指定的電腦人。

語法
bot_kill <bot name>
讓指定的電腦人自殺。
例子
bot_kill bot01
bot_mimic 令所有電腦人跟從玩家動作。

電腦人將會執行任何玩家的動作,包括移動、轉身、跳躍、開火...等。

本指令會使bot_forceattack失效,但bot_dontmove依然可以作用。

語法
bot_mimic <0/1>
設為1為開啟,設為0為關閉。
例子
bot_mimic 1
bot_mimic_yaw_offset

指定電腦人的面對角度。 電腦人將會看向和玩家相對來看的角度方向。預設值為180,也就是所有電腦人都會正面面對玩家。設為0會令電腦人看向玩家正在看的相同方向(換句話說,完全背對玩家)。

語法
bot_mimic_yaw_offset <0-360>
設定電腦人看向的方向角度,單位為度。數值為0到360。
例子
bot_mimic_yaw_offset 180 ---> 會使電腦人正面面對玩家。
bot_randomnames
bot_mirror

指定機器人模仿身上裝備。

語法
bot_mirror <bot name>
讓指定的模仿身上裝備。
例子
bot_mirror bot01

AI Bot的名字

AI Bots設計為擁有不同的名字,且許多名字都影射了V社出品的其他遊戲的內容。有些名字也直接影射了Team Fortress系列的內容。下列名字大部分都是在Steam玩家論壇的網友提出來的。

Unused bot names

The following bot names were found in a leaked source code version of TF2, containing bot names that were never put into production for unknown reasons.

  • John Spartan
  • Leeloo Dallas Multipass
  • Sho'nuff
  • Bruce Leroy
  • CAN YOUUUUUUUUU DIG IT?!?!?!?!
  • Big Gulp, Huh?
  • Stupid Hot Dog
  • I'm your huckleberry
  • The Crocketeer
語法
bot_randomnames <0/1>
設為1為開啟,設為0為關閉。
例子
bot_randomnames 1
bot_refill 將所有電腦人的彈藥數補到上限,包含工程師的金屬
語法
bot_refill
bot_saveme 這個指令會使所有電腦人呼叫Medic。效果等同於對所有使用bot_command <botname> "voicemenu 0 0"指令。
語法
bot_saveme <0/1>
設為1為開啟,設為0為關閉。
bot_selectweaponslot 這個指令會使第一個加入的電腦人選擇指定的武器欄位。

0 = 主要武器、1 = 次要武器、 2 = 近戰武器、 3 = 特殊物品 本指令只對第一個加入的電腦人有效。目前尚未發現能夠指定其他電腦人的方法。

語法
bot_selectweaponslot <n>
令電腦人切換為編號為n的武器欄位。
例子
bot_selectweaponslot 2
bot_teleport 將一名電腦人傳送至指定座標位置。

玩家現在所在的地圖座標位置可藉由在控制列輸入Status得知。

語法
bot_teleport <botname> <X> <Y> <Z> <Pitch> <Yaw> <Roll>
botname為欲傳送的電腦人名字。
X Y Z為地圖座標的X軸、Y軸、Z軸。
Pitch Yaw Roll為電腦人被傳送後面對地圖座標的X軸、Y軸、Z軸的角度。(值為0到360)
例子
bot_teleport bot01 -4815 1385 -447 0 0 0
bot_whack 使指定電腦人受到來自玩家的即死傷害。效果通常是電腦人被玩家使用中的武器殺死,推測應該是開發用的測試指令。
語法
bot_whack <botname>
botname是你想「痛扁」的電腦人名字。
例子
bot_whack bot109

第三方電腦人

截至目前,只有另一個電腦人插件仍在為TF2開發:RCBot2。該機器人由Cheeseh創建並正在維護,該網站可以在 此處 找到。

RCBot2改善了原版電腦人的許多問題(例如工程師電腦人不會搬運建築,或者電腦人無法在特定的地圖內正常運作等問題),並對電腦人進行了增強,使得它們的行為更像玩家。

RCBot2電腦人的特點

  • 火箭兵電腦人可以使用火箭跳,爆破兵電腦人也可以使用黏彈跳。(前提是地圖要有專屬的AI路徑)
  • 電腦人可以「間諜檢查」,如果間諜偽裝成敵方電腦人之一,本尊看到後會立刻進行攻擊。(而不是像原本的電腦人一樣把"冒牌貨"忽略掉)
  • 工程師電腦人在升級完自己的步哨後,會利用剩餘的金屬來協助其他工程師升級步哨,並且在隊友的建築被敵方間諜裝上電子破壞器時,會幫忙拆除電子破壞器。
  • 電腦人可以正常的使用語音命令,文字會顯示出來,這與原版電腦人不同。
  • 電腦人會利用近戰武器隨機攻擊隊友,來確認該隊友是不是間諜。
  • 攻擊/防禦控制點模式 或者 推車護送模式 的準備時間內,進攻方電腦人會直接到門口準備就緒,不會在出生點裡面發呆。防守方電腦人會躲藏在有掩蔽物的區域埋伏敵人。
  • 電腦人可以在 曼恩對決機器模式 中正常的移動,攻擊機器人,但不會升級自己的武器。

更新紀錄

2010年1月6日更新
  • 對戰鬥行為作出改進。
  • 在山丘之王模式中,電腦人現在:
    • 如果在時間剩餘很多的情況下,比較會四處巡邏並追擊敵人。
    • 在時間快倒數完或是隊友開始佔點時,會比較積極的去壓點了。
  • 醫護兵電腦人現在:
    • 會視情況盡可能的過量治療鄰近友軍。
    • 比較會優先治療鄰近的受傷友軍了。
    • 不會只將治療重點全放在重裝兵上了。
    • 不會在回合開始時連點醫療槍。
    • 不會去找過低於治療對象的掩護(koth_nucleus)。
    • 會視情況使用注射槍作反擊。
  • 一般電腦人改進:
    • 在佔點或防守時不再一味的呆站不動了。
    • 比較會選擇不同的移動路線了。
    • 會選擇比較理想的控制點防禦佈陣。
    • 會在某樣武器彈藥耗盡時切換使用另一項武器。
    • (狙擊手)會在使用狙擊鏡瞄準中時調整視野。
    • 將近距離遭遇的防禦步哨槍視為最大威脅。
    • 會比較節制發射武器,注重彈藥使用效率。
    • 工程師會視情況使用散彈槍攻擊。
  • 為電腦人追蹤敵人時的模式加入「虛擬滑鼠墊」的概念:
    • 他們現在會使用預測追蹤中敵人的位置和速度的追蹤方式,而非以往的「鎖定」。
    • 徹底解決玩家們對電腦人的抱怨:「背後長眼睛喔」、「Heavy bot mogg」、「Sniper bot mogg」、「我當Scout完全打不贏Heavy電腦人啊(淚)」等。
  • 將狙擊手電腦人龜點選擇及瞄準規則微調得較為有變化,部份解決了「玩家可以預測狙擊手龜點」的問題。
  • 火箭兵電腦人在附近有障礙物時將會審慎決定是否發射火箭以免炸死自己。
  • 修正電腦人會試圖從工程師搬運中的補給器獲得醫療和補給的問題。
  • 調整記分板模式以防止某些惡意伺服器會把Ping欄位調大以遮擋BOT標籤的問題。
  • 新增更多TF社群提議的電腦人名字。

2010年4月28日更新

  • 電腦人在戰鬥中時將不會一受傷就立刻尋求醫療資源。
  • 電腦人不再在試圖阻擋佔點時撤退。
  • 電腦人現在在尋找醫療資源時會使用適合的武器且戰且走了。
  • 在地圖上巡視的電腦人現在會追擊敵人,並將之逼到死角。
  • 會使用飛行道具的電腦人(如火箭、榴彈等等)不再按住開火鍵,以免在橫移進入鄰近牆壁作掩護時會炸死自己。
  • 火箭兵電腦人會在四顆火箭打完後切換成散彈槍追擊敵人。
  • 新增更多社群提議的電腦人名字。
  • 修正工程師電腦人收集金屬的行為迴圈。

2010年6月10日更新

  • 現在盯著一個電腦人看幾秒會讓他做嘲諷動作。

2010年6月14日更新

  • 修正電腦人使用醫療包造成伺服器當機的問題。

2010年6月16日更新

  • 醫護兵電腦人現在會對呼叫Medic的人類玩家作反映了。
  • 如果一個ÜberCharge計量表滿的醫護兵電腦人正在治療你,使用聲音指令「前進!」或「啟動ÜberCharge!」時會強迫該醫護兵電腦人啟動ÜberCharge。

2010年7月19日更新

  • 改善電腦人在控制點佔領、回合開始以及抵達檢查點的運算規則與行為表現。
  • 修正工程師電腦人會不斷重複建造-摧毀的動作迴圈的問題。
  • 修正醫護兵電腦人會在碰到補給櫃時ÜberCharge計量表會歸零的問題。
  • 修正同時在遊戲中運行多種電腦人系統時會造成當機的問題。
  • 修正電腦人會擠成一堆搶著搭三級傳點的問題。
  • 電腦人不再視被放置電子破壞器的防禦步哨槍為威脅了。
  • 電腦人將不會試圖進入敵方基地的重生點(除非他們贏了該回合)。
  • 工程師電腦人會避免把傳點蓋在可能會卡到隊友移動的斜坡上了。
  • 新增 tf_bot_pyro_always_reflect 指令。設為 1 時會讓火焰兵電腦人總是會試圖反彈飛行道具,無視他們的難度等級。

2011年8月23日更新

  • 修正爆破兵電腦人試圖引爆已經被摧毀的黏性炸彈時會當機的問題。
  • 新增 tf_bot_kill 指令。(語法和 tf_bot_kick 相同)
  • 改善電腦人遵循近戰限定模式的狀況。
  • 新增 func_nav_avoid 實體,讓地圖作者能控制電腦人「喜歡」去的地方。
  • 修正電腦人的爆破兵使用黏性炸彈時會射一發補一發,使他在布置黏彈陷阱或摧毀建築時沒有效率的問題。
  • 電腦人現在在攜帶情報時不會嘲諷了。
  • 新增使用獵人長弓的狙擊手電腦人的瞄準邏輯。
  • 狙擊手電腦人現在會更加積極地優先解決敵方狙擊手和工程師了。
  • 改善爆破兵電腦人用黏彈攻擊步哨防禦槍的表現。
  • 電腦人現在不會再試圖使用位置上是安排給敵方使用的醫療物品了。
  • 新增對應衝擊刺盾和各種消耗品(如 Bonk 飲料三明治等等)的行為反應。
  • 醫護兵電腦人現在會比較緊跟著治療對象了。
  • 狙擊手電腦人現在在極近距離遇敵時會拔出近戰武器作戰了。
  • 新增 func_tfbot_hint 實體來讓地圖作者能提示電腦人狙擊手哪些地方是適合的狙擊點。
  • 狙擊手電腦人在移動到狙擊點的路程中,會看情況攻擊路途上遇到的可能成功擊殺的目標。
  • 間諜電腦人現在會比較積極地在破壞建築前先行刺殺工程師了。

參考