Difference between revisions of "Bots/ja"

From Team Fortress Wiki
Jump to: navigation, search
m (minor edit)
m (Added translation/翻訳追加)
Line 11: Line 11:
 
{{Quotation|'''ソルジャー'''|人間のチームメイトは時にお前を責める。じゃあこの不愛想なカラクリ人形共はどうだ?そうだ、奴らだって物は見える。しかし口を利くことは一切ない。お前がいかにポンコツ野郎だったか、奴らは死ぬまで誰にも明かすことは無いのだ!}}
 
{{Quotation|'''ソルジャー'''|人間のチームメイトは時にお前を責める。じゃあこの不愛想なカラクリ人形共はどうだ?そうだ、奴らだって物は見える。しかし口を利くことは一切ない。お前がいかにポンコツ野郎だったか、奴らは死ぬまで誰にも明かすことは無いのだ!}}
  
'''Bot''' もしくは'''BOT'''(ボット)は、サーバー上でコンピューターに操作されているプレイヤーの事です。''Team Fortress 2'' には2種類のボットが存在し、それぞれAI(人工知能)ボットとパペット(人形)ボットです。AIボットはプレイヤーの動きを真似るように作られている高度な人工知能で、[[cheats/ja|チート]]をオンにしなくても使用可能です。パペットボットはAIコードがありませんが、テストと練習には大変便利です。パペットボットは出現させるのにサーバーのチートをオンにする必要があり、 実績の達成に用いることは出来ません。
+
'''Bot''' もしくは'''BOT'''(ボット)は、サーバー上でコンピューターに操作されているプレイヤーの事です。''Team Fortress 2'' にはAI(人工知能)ボットとパペット(人形)ボットの2種類のボットが存在します。AIボットはプレイヤーの動きを真似るように作られている高度な人工知能で、[[cheats/ja|チート]]をオンにしなくても使用可能です。パペットボットにはAIコードがありませんが、テストと練習には大変便利です。パペットボットを出現させるにはサーバーのチートをオンにする必要があり、またパペットボットを実績の達成に用いることは出来ません。
  
 
==AI ボット==
 
==AI ボット==
AIボットは人間のプレイヤーの動きを再現するように設計されており、 直接操作をすることは出来ません。 さらに、クラスはランダムで選ばれます。 このボットのAIコードは "Left 4 Dead" シリーズのプレイヤーボットと感染者の洗練されたAIコードをベースに作られました。<ref>[http://teamfortress.com/post.php?id=3279 Team Fortress Official Blog - Erectin a dispenser]</ref> AIボットはサーバーのチートをオンにする必要がありません。 従って、一部例外を除いて実績の達成に用いることが出来ます。 例えばボットは殺された際に[[Deathcam/ja|キルカメラ]]を見ることが出来ないため、プレイヤーはキルカメラに関する実績を達成する事が出来ません。また、ストレンジクオリティの武器でボットをキルした際、その武器に {{item link|Strange Part}} を装着していない限り、キル数にはカウントされません。Strange Part を装着してキルした場合は、武器のメインのカウンターではなく Strange Part にカウントされます。
+
AIボットは人間のプレイヤーの動きを再現するように設計されており、直接操作をすることは出来ません。ボットのクラスはランダムで選ばれます。このボットのAIコードは "Left 4 Dead" シリーズのプレイヤーボットと感染者の、洗練されたAIコードをベースに作られました。<ref>[http://teamfortress.com/post.php?id=3279 Team Fortress Official Blog - Erectin a dispenser]</ref> AIボットを出現させるためにサーバーのチートをオンにする必要はありません。 従って、一部例外を除いて実績の達成に用いることが出来ます。例えばボットは殺された際に[[Deathcam/ja|キルカメラ]]を見ることが出来ないため、プレイヤーはキルカメラに関する実績を達成する事は出来ません。また、ストレンジクオリティの武器でボットをキルした際、その武器に {{item link|Strange Part}} を装着していない限り、キル数にはカウントされません。Strange Part を装着してキルした場合は、武器のメインのカウンターではなく Strange Part にカウントされます。
  
 
AIボットには、「イージー」から「エキスパート」まで4種類のスキルが存在します。Steam のコミュニティガイドにて、[https://steamcommunity.com/id/segmentation_fault Sigsegv]氏が[https://steamcommunity.com/sharedfiles/filedetails/?id=572409016 各スキルの違いや詳細]について解説{{lang icon|en}}してくれています。
 
AIボットには、「イージー」から「エキスパート」まで4種類のスキルが存在します。Steam のコミュニティガイドにて、[https://steamcommunity.com/id/segmentation_fault Sigsegv]氏が[https://steamcommunity.com/sharedfiles/filedetails/?id=572409016 各スキルの違いや詳細]について解説{{lang icon|en}}してくれています。
Line 246: Line 246:
  
 
:<code><''team''></code>
 
:<code><''team''></code>
::ボットを追加するチームを指定できます。チーム名を入力する場合は''[[red]]''および''[[blue]]''という表記を使います。
+
::ボットを追加するチームを指定できます。チーム名を入力する場合は''[[RED/ja|RED]]''および''[[BLU/ja|BLUE]]''という表記を使います。
  
 
:<code><''difficulty''></code>
 
:<code><''difficulty''></code>
Line 412: Line 412:
  
 
===AIボットの現状について===   
 
===AIボットの現状について===   
AIボットは完全にリリースされている状態です。{{cite|when were they fully/officially released?}}{{update link|Hatless Update}}を経て、かつてバグの多かったスパイボットを含め、全てのボットが正常に動くようになりました。AIボットは[[King of the Hill/ja|キングオブザヒル]]マップのほとんどと、[[Payload/ja|ペイロード]]マップのいくつか、そして攻撃/防衛マップの[[Dustbowl/ja|Dustbowl]] と [[Gorge/ja|Gorge]]、[[Capture the Flag/ja|旗取り]]マップ、そして[[Mann Manor/ja|Mann Manor]]で正常に機能します。 (最後の2つは、<kbd>tf_bot_add</kbd> をコマンドに入力する必要があります。)サポートされていないマップでボットを使用する際は、とある手順を踏めば可能です。ただし人間のように動いてくれるとは限りません。
+
AIボットは完全にリリースされている状態です。{{cite|when were they fully/officially released?}}{{update link|Hatless Update}}を経て、かつてバグの多かったスパイボットを含め、全てのボットが正常に動くようになりました。AIボットは[[King of the Hill/ja|キングオブザヒル]]マップのほとんどと、[[Payload/ja|ペイロード]]マップのいくつか、そして攻撃/防衛マップの[[Dustbowl/ja|Dustbowl]] と [[Gorge/ja|Gorge]]、[[Capture the Flag/ja|旗取り]]マップ、そして[[Mann Manor/ja|Mann Manor]]で正常に機能します。 (最後の2つは、<kbd>tf_bot_add</kbd> をコマンドに入力する必要があります。)サポートされていないマップでボットを使用する際は、とある手順を踏む必要があります。ただし必ずしも人間のように動いてくれるとは限りません。
  
 
ボットは [[Hightower/ja|Hightower]] にある手すりを飛び越えられず、またスポーンした後にどこかにスタックしてしまうので、どの[[Payload/ja|ペイロードレース]]マップでも正しく動いてくれません。またボットは、他のPLRマップにてダンスパーティーをします(これは将来的に修正されるかもしれません)。{{cite|where is the future plan?}}
 
ボットは [[Hightower/ja|Hightower]] にある手すりを飛び越えられず、またスポーンした後にどこかにスタックしてしまうので、どの[[Payload/ja|ペイロードレース]]マップでも正しく動いてくれません。またボットは、他のPLRマップにてダンスパーティーをします(これは将来的に修正されるかもしれません)。{{cite|where is the future plan?}}
Line 420: Line 420:
 
* 初級難易度のボットはサブ武器、近接武器をめったに使いません。上級難易度のボットはメイン武器の弾薬が切れた場合や、敵との距離を考慮した場合にサブ武器に切り替えて使用します。
 
* 初級難易度のボットはサブ武器、近接武器をめったに使いません。上級難易度のボットはメイン武器の弾薬が切れた場合や、敵との距離を考慮した場合にサブ武器に切り替えて使用します。
 
* ボットは特殊[[jump/ja|ジャンプ]](ロケットジャンプ等)や装置の[[haul/ja|運搬]]をしません。
 
* ボットは特殊[[jump/ja|ジャンプ]](ロケットジャンプ等)や装置の[[haul/ja|運搬]]をしません。
* ボットは敵を殺した直後に[[taunt/ja|挑発]]をする事があります。周りからの攻撃を受けていても挑発を実行します。 また、ボットは敵の機密情報を運んでいる際に挑発はしません。[[Mann vs. Machine (game mode)/ja|Mann vs. Machine]] の[[Robots/ja|ロボット]]達も同じ振る舞いをします。
+
* ボットは敵を殺した直後に[[taunt/ja|挑発]]をする事があります。周りからの攻撃を受けていても挑発を実行します。また、ボットは敵の機密情報を運んでいる際に挑発はしません。[[Mann vs. Machine (game mode)/ja|Mann vs. Machine]] の[[Robots/ja|ロボット]]達も同じ振る舞いをします。
 
* スパイのボット(およびプレイヤー)の[[disguise/ja|変装]]に、他のボットは一切気付きません。しかし彼らに触れてしまったり、[[Sapper/ja|サッピング]]や攻撃、 および[[Cloak/ja|透明化]]をするとそれを目撃したボット全員に気付かれてしまいます。見えない場所で変装するか、死ぬか、{{item link|Dead Ringer}}で擬死でもしないと、ボットたちは誰がスパイなのかをずっと覚えています。
 
* スパイのボット(およびプレイヤー)の[[disguise/ja|変装]]に、他のボットは一切気付きません。しかし彼らに触れてしまったり、[[Sapper/ja|サッピング]]や攻撃、 および[[Cloak/ja|透明化]]をするとそれを目撃したボット全員に気付かれてしまいます。見えない場所で変装するか、死ぬか、{{item link|Dead Ringer}}で擬死でもしないと、ボットたちは誰がスパイなのかをずっと覚えています。
 
* 中級以上の難易度の[[Pyro/ja|パイロ]]は、敵の攻撃に対して[[compression blast/ja|圧縮ブラスト]]を使ってきます。
 
* 中級以上の難易度の[[Pyro/ja|パイロ]]は、敵の攻撃に対して[[compression blast/ja|圧縮ブラスト]]を使ってきます。
Line 493: Line 493:
 
*ボットのエイム力や度胸などの情報をカスタマイズすることが可能です。
 
*ボットのエイム力や度胸などの情報をカスタマイズすることが可能です。
 
*エンジニアボットは自分のセントリーガンのアップグレードが完了すると、仲間のエンジニアのセントリーガンをアップグレードしたり、サッパーを除去したりしてくれます。
 
*エンジニアボットは自分のセントリーガンのアップグレードが完了すると、仲間のエンジニアのセントリーガンをアップグレードしたり、サッパーを除去したりしてくれます。
*ボットがセントリーガンの標的にされて逃げ延びた場合、「前方にセントリーガン!」のボイスコマンドを使用します。
+
*ボットがセントリーガンの標的にされて逃げ切れた場合、「前方にセントリーガン!」のボイスコマンドを使用します。
 
*エンジニアボットはテレポーターをウェイポイントがある場所に設置し、またアップグレードも行います。
 
*エンジニアボットはテレポーターをウェイポイントがある場所に設置し、またアップグレードも行います。
 
*時々、敵のメディックボットが変装したスパイを回復してしまうことがあります。
 
*時々、敵のメディックボットが変装したスパイを回復してしまうことがあります。
Line 507: Line 507:
  
 
===RCBot2のバグ===
 
===RCBot2のバグ===
*ウェイポイントの性質上、RCBot2のパスはTFボットほど予測不可能に作られていない。そのためRCBot2は他のボットと頻繁にぶつかり、どちらかが死ぬまでお互いスタックしてしまうことがある。
+
*ウェイポイントの性質上、RCBot2のパスはTFボットほど予測不可能に作られておらず、RCBot2は他のボットと頻繁にぶつかり、どちらかが死ぬまでお互いスタックしてしまうことがある。
 
**スパイボットも同じ理由でプレイヤーにぶつかったまま動けなくなることがあります。スパイボットは設定された範囲しか移動できず、一定の軌道上にとどまります。
 
**スパイボットも同じ理由でプレイヤーにぶつかったまま動けなくなることがあります。スパイボットは設定された範囲しか移動できず、一定の軌道上にとどまります。
 
*エンジニアボットはディスペンサーの設置に手こずります。かつ自分の意志で自由な場所に配置します。
 
*エンジニアボットはディスペンサーの設置に手こずります。かつ自分の意志で自由な場所に配置します。
*デモマンボットは敵が粘着爆弾の上に立っているかどうかが分かり、敵が見えていなくても爆破させます。
+
*デモマンボットは敵が粘着爆弾の上に立っているかどうかが分かり、敵が視界にいなくても爆破させることができます。
*たまにエンジニアボットはセントリーガンの向きを間違えます。
+
*エンジニアボットはたまにセントリーガンの向きを間違えます。
 
*RCbot2はウェイポイントの設定されていない場所に飛ばされると、そこから動けなくなります。例えば [[Nucleus/ja|Nucleus]] の屋根付近などです。
 
*RCbot2はウェイポイントの設定されていない場所に飛ばされると、そこから動けなくなります。例えば [[Nucleus/ja|Nucleus]] の屋根付近などです。
 
*RCbot2はヘルスキットを拾った際にも「ありがとよ!」のボイスコマンドを使用します。
 
*RCbot2はヘルスキットを拾った際にも「ありがとよ!」のボイスコマンドを使用します。
Line 520: Line 520:
 
*SourceMod のプラグインの一部はRCBot2の smac_cvars.smx と相性が悪い可能性があります。しかし [APG]RoboCop[CL] 氏が「config.ini」の中に「sm plugins unload <PLUGIN-NAME>」を追加することでこれを回避しています。
 
*SourceMod のプラグインの一部はRCBot2の smac_cvars.smx と相性が悪い可能性があります。しかし [APG]RoboCop[CL] 氏が「config.ini」の中に「sm plugins unload <PLUGIN-NAME>」を追加することでこれを回避しています。
  
Be sure to report any bugs to RCBot Website or Bots-United Discord, as Team Fortress Wiki and Valve Corporation hold no responsibility nor are affiliated with RCBot2.
+
不具合があった場合は必ずRCbotのウェブサイトまたは Discord の Bots-Unitedチャンネルに報告して下さい。Team Fortress wiki と Valve 社はRCbot2について一切責任を負いません。
  
 
== パペットボット ==
 
== パペットボット ==
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, as seen [http://www.youtube.com/watch?v=Dn9970dxQ2g here].
+
パペットボットにはAIコードが無く、自身で動き回ったり何かをすることはできません。パペットボットはパペットのように扱えるので、プレイヤーを追いかけさせたり武器を使わせたりと、プレイヤーのコマンドに従って動かすことができます。使用用途は主にテストで、以下に示すような指示をしてやると [http://www.youtube.com/watch?v=Dn9970dxQ2g こんなこと]も出来たりします。
  
 
===パペットボットコマンド===
 
===パペットボットコマンド===
Not all of the following commands work; for clarity, the complete list of commands is included.
+
全てのコマンドが正常に機能するわけではなく、省かれている作業コマンドもあります。
  
These commands may or may not work for AI bots as well.
+
AIボットにこのコマンドを指示した場合は、うまく機能したりしなかったりします。
''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>'''<code>bot</code>'''</big>}}
 
|{{nw|<big>'''<code>bot</code>'''</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 [<''teamname/number''>] [<''classname''>] [<''name''>] [<''number''>]</code>
  
;Parameters:
+
;変数
:<code>-team ''teamname/number''</code>
+
:<code><''number''></code>
::Specifies the team name or number to assign the bot. Where ''name/number'' can be ''[[RED]]'' or ''1'', ''[[BLU]]'' or ''0''
+
::追加したいボットの数を指定できます。
:<code>-class ''classname''</code>
+
:<code><''teamname/number''></code>
::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]''
+
::ボットを追加したいチームをアルファベットもしくは数字で指定できます。チームを指定する場合は ''[[RED/ja|RED]]''もしくは''1''''[[BLU/ja|BLU]]'' もしくは ''0''という表記を使います
:<code>-name ''botname''</code>
+
:<code><''classname''></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.
+
::ボットのクラスを指定できます。クラス名を入力する場合は''[[Demoman/ja|Demoman]]''''[[Engineer/ja|Engineer]]''''[[Heavy/ja|Heavy]]Weapons''''[[Medic/ja|Medic]]''''[[Pyro/ja|Pyro]]''''[[Scout/ja|Scout]]''''[[Soldier/ja|Soldier]]''''[[Sniper/ja|Sniper]]''''[[Spy/ja|Spy]]''という表記を使います。
;Example: <code>bot -team red -class Engineer -name joe</code>
+
:<code><''teleport''></code>
 +
::カーソルで狙っている場所にボットをテレポートできます。
 +
:<code><''targetdummy''></code>
 +
::スポーンさせたボットのヘルスが減るのを防ぎます。
 +
:<code><''name''></code>
 +
::どんな名前でもOKです。既に同じ名前のボットがいる場合は、名前の先頭に括弧で囲まれたナンバーが追加されます。例えばJoe、(1)Joe、(2)Joeという感じになります。名前を指定しなかった場合は「bot」の後ろにナンバーが付いたものになります。例えば最初のボットがBot01、次がBot02、と続いていきます。
 +
;
 +
:<code>bot -team red -class Engineer -name joe</code>
 
|-
 
|-
|{{nw|<big>'''bot_changeclass'''</big>}}
+
|{{nw|<big>'''<code>bot_changeclass</code>'''</big>}}
|Force all bots to change to the specified class.
+
|ボットを全員、指定するクラスに変更できます。
''Does not seem to be implemented, nothing happens.''
 
|-
 
|{{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>}}
 
|Sends specified command on behalf of specified bot.
 
  
;Syntax: <code>bot_command <''botname''> <''console command''></code>
+
;構文: <code>bot_changeclass <''name''> <''classname''></code>
::''botname'' is the name or id of the bot to send the command to.
 
::''console command'' can be any of the ones listed in [[Scripting#Console Commands]].
 
;Example 1: bot_command bot01 "voicemenu 0 0"
 
;Example 2: bot_command bot01 "taunt"
 
  
::The slot commands (slot1, slot2, etc.) do not work with bot_command, however with bot_forcefireweapon, all bots in that class can be made to switch to a weapon and start firing, then made to stop. Only the entire group of bots in that class can be made to do so, however.
+
;変数
 +
:<code><''name''></code>
 +
::ターゲットボットの名前を指定できます。
 +
:<code><''classname''></code>
 +
::ボットを切り替えたいクラスの名前です。デフォルトは "" (または空白)です。
 +
;例
 +
:<code>bot_changeclass bot01 Soldier</code>
 
|-
 
|-
|{{nw|<big>'''bot_defend'''</big>}}
+
|{{nw|<big>'''<code>bot_changeteams</code>'''</big>}}
|Set to a team number, and that team will all keep their combat shields raised.
+
|
For instance, Heavies will spin their miniguns.
+
ボットを全員、チーム変更させます。
 +
BLUチームに居たボットならばREDに切り替わり、その逆も同じです。
 
|-
 
|-
|{{nw|<big>'''bot_dontmove'''</big>}}
+
|{{nw|<big>'''<code>bot_command</code>'''</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> bots can be moved to certain areas and left there.
+
|指定されたボットに代わって、指定されたコマンドを送信します。
 +
;構文: <code>bot_command <''name/all''> <''console command''></code>
 +
;変数
 +
:<code><''name/all''></code>
 +
::コマンドの送信先であるボットの名前およびIDを入力します。「all」を指定した場合すべてのボットにコマンドが送信されます。
 +
:<code><''console command''></code>
 +
::[[Scripting/ja|コンソールコマンド]]にリストされているもの、および[[Cheats/ja|チート]]を指定できます。
 +
;例1
 +
:<code>bot_command bot01 "voicemenu 0 0"</code>
 +
;例2
 +
:<code>bot_command bot01 "taunt"</code>
  
;Syntax: <code>bot_dontmove <''0/1''></code>
+
::スロットのコマンド(slot1、slot2など)は bot_command では機能しませんが、<code>bot_forcefireweapon</code>を使う事でそのクラスの全てのボットに武器を発射させ、その後停止させることが可能です。しかしながらそのクラスのボット全体のみしか機能しません。
::Bot is allowed to move, or not.
 
;Example: <code>bot_dontmove 1</code>
 
 
|-
 
|-
|{{nw|<big>'''bot_flipout'''</big>}}
+
|{{nw|<big>'''<code>bot_dontmove</code>'''</big>}}
|When on, this command will make the bots fire the current weapon selected. Default is to use <code>primary_fire</code>, but if <code>bot_forceattack2</code> is set to 1 then secondary fire is used. <br>
+
|ボットの移動を許可もしくは制限できます。''1''でボットは移動不可能になりますが、その場でジャンプしたり体の向きを変える事はできます。 このコマンドと<code>bot_mimic</code>を組み合わせれば、ボットを指定した場所へ移動し、そこで待機させることもできます。
  
;Syntax: <code>bot_flipout <''0/1''></code>
+
;構文: <code>bot_dontmove <''integer''></code>
::On when set to 1. Off when set to 0. <br>
+
;変数
;Example: <code>bot_flipout 1</code>
+
:<code><''integer''></code>
 +
::1でボットの移動を許可できます。デフォルトは0(移動制限)の状態です。
 +
;
 +
:<code>bot_dontmove 1</code>
 
|-
 
|-
|{{nw|<big>'''bot_forceattack'''</big>}}
+
|{{nw|<big>'''<code>bot_forceattack</code>'''</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/ja|武器]]を自動で発射できます。<code>bot_forceattack2</code>が0に設定されている場合、ボットは primary_fire を実行します。<code>bot_forceattack2</code>が1に設定されている場合、ボットは secondary_fire を実行します。
  
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 <''integer''></code>
::Bot will not fire if set to ''0'' and fire repeatedly if set to ''1''.
+
;変数
;Example: <code>bot_forceattack 1</code>
+
:<code><''integer''></code>
 +
::1に設定した場合、全てのボットが銃を発砲します。デフォルトは0(無効)です。
 +
;
 +
:<code>bot_forceattack 1</code>
 
|-
 
|-
|{{nw|<big>'''bot_forceattack2'''</big>}}
+
|{{nw|<big>'''<code>bot_forceattack2</code>'''</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に設定していると、全てのボットが現在構えている武器で secondary_fire を実行します。
  
;Syntax: <code>bot_forceattack2 <''0/1''></code>
+
;構文: <code>bot_forceattack2 <''integer''></code>
::Bot will use its weapon's secondary_fire when set to ''1'', primary_fire when set to ''0''
+
;変数
;Example: <code>bot_forceattack2 1</code>
+
:<code><''integer''></code>
 +
::1に設定すればボットは secondary_fire を実行し、0ならば primary_fire を実行します。
 +
;
 +
:<code>bot_forceattack2 1</code>
 +
|-
 +
|{{nw|<big>'''<code>bot_forceattack_down</code>'''</big>}}
 +
|これを0に設定していれば、ボットは発射ボタンを何回も押すような状態になります。([[Stickybomb Launcher/ja|粘着爆弾ランチャー]]で役立つ)1にすれば、押し続けているような状態になります。([[Minigun/ja|ミニガン]]で役立つ)
  
 +
;構文: <code>bot_forceattack_down <''0/1''></code>
 +
;変数
 +
:<code><''integer''></code>
 +
::1もしくは0。0で無効になります。
 +
;例
 +
:<code>bot_forceattack_down 1</code>
 
|-
 
|-
|{{nw|<big>'''bot_forceattackon'''</big>}}
+
|{{nw|<big>'''<code>bot_forcefireweapon</code>'''</big>}}
|When firing, do not tap fire, hold it down. When this command is set to 0, the bot acts like it is continuously tapping the fire button (useful for the Pistol, but not for the Heavy's Minigun). If this command is set to 1, the bots acts as if it is holding down the fire button (useful for the Heavy's Minigun). <br>
+
|ボットが構える武器を指定した武器に切り替え、強制的に武器を発射させます。指定した武器を持っていない場合は何も起こりません。
 
+
;構文: <code>bot_forcefireweapon <''weapon filename''></code>
;Syntax: <code>bot_forceattackon <''0/1''></code>
+
::''filename'' は通常 ''tf_weapon_ <武器名>''となります。
::On when set to 1. Off when set to 0. <br>
+
;
;Example: <code>bot_forceattackon 1</code>
+
:<code>bot_forcefireweapon tf_weapon_fists</code> すべての[[Heavy/ja|ヘビー]]ボットの武器を[[Fists/ja|拳]]に切り替えさせて連続的に攻撃させ、他のボットは攻撃を停止します。
 +
:<code>bot_forcefireweapon tf_weapon_shotgun_pyro</code> すべての[[Pyro/ja|パイロ]]ボットの武器を[[Shotgun/ja|ショットガン]]に切り替えさせて連続的に攻撃させ、他のボットは攻撃を停止します。
  
 +
::ボット全員の攻撃をやめさせたいのであれば、存在しない武器のファイル名を指定するだけです。tf_weapon が含まれていない物はTF2の武器と見なされない為、<code>''bot_forcefireweapon ,,''</code>等の指定をすればボットは攻撃をしません。
 +
|-
 +
|{{nw|<big>'''<code>bot_jump</code>'''</big>}}
 +
|ボット全員に繰り返しジャンプをさせる事ができます。
 +
;構文: <code>bot_jump <''integer''></code>
 +
;変数
 +
:<code><''integer''></code>
 +
::1でボットが全員、ジャンプを繰り返します。デフォルトは0(無効)です。
 +
;例
 +
:<code>bot_jump 1</code>
 +
|-
 +
|{{nw|<big>'''<code>bot_crouch</code>'''</big>}}
 +
|ボット全員をしゃがみ状態にできます。
 +
;構文: <code>bot_crouch <''integer''></code>
 +
;変数
 +
:<code><''integer''></code>
 +
::1でボットが全員、しゃがんだ状態になります。デフォルトは0(無効)です。
 +
;例
 +
:<code>bot_crouch 1</code>
 +
|-
 +
|{{nw|<big>'''<code>bot_kick</code>'''</big>}}
 +
|名前を指定してボットを削除したり、チームごと、または全員削除したりできます。
 +
;構文: <code>bot_kick <''name/team''></code>
 +
::指定したボットが死にます。
 +
;例
 +
:<code>bot_kick bot01</code> 「bot01」という名前のボットをキックします。
 +
:<code>bot_kick red</code> REDチームのボットをまるごとキックします。
 +
:<code>bot_kick blue</code> BLUチームのボットをまるごとキックします。
 +
:<code>bot_kick all</code> サーバー内のボット全員をキックします。
 
|-
 
|-
|{{nw|<big>'''bot_forceattack_down'''</big>}}
+
|{{nw|<big>'''<code>bot_kill</code>'''</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 [[Stickybomb Launcher]]). If this is set to ''1'' then the bot will act as if it is holding down the fire button (useful for the [[Minigun]]).
+
|ボットを殺せます。
 
+
;構文: <code>bot_kill <''name''></code>
;Syntax: <code>bot_forceattack_down <''0/1''></code>
+
;変数
::On when set to ''1'', off when set to ''0''
+
:<code><''name''></code>
;Example: <code>bot_forceattack_down 1</code>
+
::指定したボットが死にます。
 +
;
 +
:<code>bot_kill bot01</code>
 
|-
 
|-
|{{nw|<big>'''bot_forcefireweapon'''</big>}}
+
|{{nw|<big>'''<code>bot_mirror</code>'''</big>}}
|Forces all bots who have the specified weapon to switch to and fire it.
+
|指定したボットがプレイヤーのロードアウト(クラス、装飾アイテム、武器)をそっくり真似ますが、いくつかバグがあります。 if a [[Demoman]] player has the [[Booties]] and any shield equipped, a mirrored bot will still use the [[Grenade Launcher]] and [[Stickybomb Launcher]] despite showing the Booties and shield on his model. After a mirrored bot dies, it will not retain the previous loadout, and bot_mirror must be used again.
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>
 
::''filename'' is usually ''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_shotgun_pyro</code> makes all [[Pyro]] bots switch to and repeatedly fire their [[Shotgun]]s, and all other bots stop attacking.
 
  
::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 ,,''
+
;構文: <code>bot_mirror <''name''></code>
::Bots' loadouts cannot be changed, therefore you cannot make them fire unlockable weapons.
+
::Where ''name'' is the name of the bot to mirror.
|-
+
;
|{{nw|<big>'''bot_kill'''</big>}}
+
:<code>bot_mirror bot01</code>
|
 
Kills the specified bot.
 
;Syntax: <code>bot_kill <''bot name''></code>
 
::Makes the specified bot commit suicide.
 
;Example: <code>bot_kill bot01</code>
 
 
|-
 
|-
|{{nw|<big>'''bot_mimic'''</big>}}
+
|{{nw|<big>'''<code>bot_mimic</code>'''</big>}}
 
|Bot uses usercmd of player by index.
 
|Bot uses usercmd of player by index.
 
The bot will execute all keystrokes issued by a player, mimicking movements, turns, jumps, fire, etc. It should be noted that bots will not mimic Medic calls, weapon switches, or taunts.
 
The bot will execute all keystrokes issued by a player, mimicking movements, turns, jumps, fire, etc. It should be noted that bots will not mimic Medic calls, weapon switches, or taunts.
Line 643: Line 692:
 
Note this overrides <code>bot_forceattack</code> but does not override <code>bot_dontmove</code>.
 
Note this overrides <code>bot_forceattack</code> but does not override <code>bot_dontmove</code>.
  
;Syntax: <code>bot_mimic <''0/1''></code>
+
;構文: <code>bot_mimic <''integer''></code>
::On when set to ''1'', off when set to ''0''
+
;変数
;Example: <code>bot_mimic 1</code>
+
:<code><''integer''></code>
 +
::Either 1 or 0. Default is 0 (disabled).
 +
;
 +
:<code>bot_mimic 1</code>
 
|-
 
|-
|{{nw|<big>'''bot_mimic_inverse'''</big>}}
+
|{{nw|<big>'''<code>bot_mimic_inverse</code>'''</big>}}
 
|
 
|
 
Inverts the movement of the bots; moving left makes the bots move right, moving forwards makes the bots move backwards, etc.
 
Inverts the movement of the bots; moving left makes the bots move right, moving forwards makes the bots move backwards, etc.
Line 653: Line 705:
 
The direction which the bot is looking is not affected.
 
The direction which the bot is looking is not affected.
  
;Syntax: <code>bot_mimic_inverse <''0/1''></code>
+
;構文: <code>bot_mimic_inverse <''integer''></code>
::On when set to ''1'', off when set to ''0''
+
;変数
;Example: <code>bot_mimic_inverse 1</code>
+
:<code><''integer''></code>
 +
::Either 1 or 0. Default is 0 (disabled).
 +
;
 +
:<code>bot_mimic_inverse 1</code>
 
|-
 
|-
|{{nw|<big>'''bot_mimic_yaw_offset'''</big>}}
+
|{{nw|<big>'''<code>bot_mimic_yaw_offset</code>'''</big>}}
 
|
 
|
 
Offsets the bots' yaw.
 
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.
 
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.
  
;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
 
::Set the direction by specifying angle in degrees
;Example: <code>bot_mimic_yaw_offset 180</code>
+
;
 +
:<code>bot_mimic_yaw_offset 180</code>
 
|-
 
|-
|{{nw|<big>'''bot_randomnames'''</big>}}
+
|{{nw|<big>'''<code>bot_randomnames</code>'''</big>}}
 
|
 
|
  
;Syntax: <code>bot_randomnames <''0/1''></code>
+
;Syntax: <code>bot_randomnames <''0''></code>
::On when set to ''1'', off when set to ''0''
+
;Parameters
;Example: <code>bot_randomnames 1</code>
+
:<code><''integer''></code>
 +
::Either 1 or 0. Default is 0 (disabled).
 +
;Example
 +
:<code>bot_randomnames 1</code>
 
|-
 
|-
|{{nw|<big>'''bot_refill'''</big>}}
+
|{{nw|<big>'''<code>bot_refill</code>'''</big>}}
|Refills all bots' Ammo counts, including [[Metal]] for Engineers.  
+
|Refills all bots' ammo (including [[metal]] for Engineers) and health counts.
  
Syntax: <code>bot_refill</code>
+
;Syntax: <code>bot_refill</code>
 
|-
 
|-
|{{nw|<big>'''bot_saveme'''</big>}}
+
|{{nw|<big>'''<code>bot_saveme</code>'''</big>}}
|This makes all the bots call for a Medic, equivalent to issuing <code>bot_command <''botname''> "voicemenu 0 0"</code> to every bot.
+
|This makes all the bots call for a Medic, equivalent to issuing <code>bot_command <''name''> "voicemenu 0 0"</code> to every bot.
Syntax: <code>bot_saveme <''0/1''></code>
+
;Syntax: <code>bot_saveme <''integer''></code>
::On when set to ''1'', off when set to ''0''
+
;Parameters
 +
:<code><''integer''></code>
 +
::All the bots will call for a Medic when set to 1. Default is 0 (disabled).
 
|-
 
|-
|{{nw|<big>'''bot_selectweaponslot'''</big>}}
+
|{{nw|<big>'''<code>bot_selectweaponslot</code>'''</big>}}
|This makes the first bot select weapon in specified weapon slot.
+
|Forces a bot to switch to the specified weapon slot. To specify which bot switches weapons, use <code>''cc_bot_selectweapon''</code> instead.
0 = primary; 1 = secondary; 2 = melee; 3 = special
 
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>
+
;Syntax: <code>bot_selectweaponslot <''n''> </code>
::Set ''n'' to weapon slot that bots should switch to.
+
;Parameters
;Example: <code>bot_selectweaponslot 2</code>
+
:<code><''n''></code>
 +
::Set ''n'' to weapon slot that bots should switch to.  
 +
::0 = primary; 1 = secondary; 2 = melee; 3 = special
 +
;Example
 +
:<code>bot_selectweaponslot 2 </code>
 
|-
 
|-
|{{nw|<big>'''bot_teleport'''</big>}}
+
|{{nw|<big>'''<code>bot_teleport</code>'''</big>}}
 
|Teleports a specified bot to a given coordinate.
 
|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.
 
Map coordinates of where you are standing can be found by typing <code>Status</code> in the console.
  
;Syntax: <code>bot_teleport <''botname''> <''X''> <''Y''> <''Z''> <''Pitch''> <''Yaw''> <''Roll''></code>
+
;Syntax: <code>bot_teleport <''name''> <''X''> <''Y''> <''Z''> <''Pitch''> <''Yaw''> <''Roll''></code>
::Where ''botname'' is the bot name or id to teleport.
+
::Where ''name'' is the name of the bot or id to teleport.
::<code>''X'' ''Y'' ''Z''</code> are the map coordinates.
+
;Parameters
::<code>''Pitch'' ''Yaw'' ''Roll''</code> is the direction the bot should face.
+
:<code><''name''></code>
;Example: <code>bot_teleport bot01 -4815 1385 -447 0 0 0</code>
+
::Name of the bot to teleport.
 +
:<code><''X''> <''Y''> <''Z''></code>  
 +
::Coordinates of the map the bot will be teleported to.
 +
:<code><''Pitch''> <''Yaw''> <''Roll''></code>
 +
::The direction the bot should face.
 +
;Example
 +
:<code>bot_teleport bot01 -4815 1385 -447 0 0 0</code>
 
|-
 
|-
|{{nw|<big>'''bot_whack'''</big>}}
+
|{{nw|<big>'''<code>bot_whack</code>'''</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.
+
|Delivers lethal damage from player to specified bot. This basically kills the bot with the currently selected weapon, probably used for testing during development. It is worth noting that you can only use bot_whack to kill a teammate if mp_friendlyfire is set to 1, otherwise attempting to whack a teammate will not do anything.
  
;Syntax: bot_whack <''botname''>
+
;Syntax: <code>bot_whack <''name''></code>
::Where ''botname'' is the name of bot to "whack".
+
;Parameters
;Example: bot_whack bot109
+
:<code><''name''></code>
|}
+
::Name of the bot to "whack".
 +
;Example
 +
:<code>bot_whack bot01</code>
 +
|-
 +
|{{nw|<big>'''<code>cc_bot_selectweapon</code>'''</big>}}
 +
|Forces a bot to switch to the specified weapon slot.
 +
;Syntax: <code>cc_bot_selectweapon <''name''> <''n''> </code>
 +
;Parameters
 +
:<code><''n''></code>
 +
::Set ''n'' to weapon slot that bots should switch to.
 +
::0 = primary; 1 = secondary; 2 = melee; 3 = special
 +
:<code><''name''></code>
 +
::Name of the bot that will switch weapon slot.
 +
;Example
 +
:<code>cc_bot_selectweapon bot12 2</code>
 +
|-
 +
|{{nw|<big>'''{{code|bot_hurt}}'''</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.
  
=={{common string| Update history }}==
+
;Syntax: {{code|bot_hurt [<''name''>] [<''team''>] [<''damage''>]}}
{{Update history | '''{{Patch name|12|17|2009}}''' ([[WAR! Update]])
 
* Added work-in-progress Bots for beta testing in KOTH maps.
 
  
'''{{Patch name|1|6|2010}}
+
;Parameters
* Various improvements to combat behaviors.
+
:<code><''name''></code>
* In KOTH mode, Bots are now:
+
::Name of the bot to hurt.
** More likely to roam around and hunt enemies if there is lots of time left.
+
:<code><''team''></code>
** Become more likely to push for the point as time runs down, or their teammates start to capture it.
+
::Specifies the team name of the bot to hurt. Can be ''[[RED]]'', ''[[BLU]]'' or ''all''.
* Medic bots now:
+
:<code><''damage''></code>
** Opportunistically "overheal" nearby friends when they can.
+
::Specifies the amount of damage the bot will receive. If a negative number is set, it will heal (and [[overheal]]) the bot instead.
** Prioritize healing of injured nearby friends more.
+
:<code><''burn''></code>
** Don't focus on Heavies quite so exclusively.
+
::Set the bot on fire. However, the bot will not receive any afterburn damage.
** Don't spam their Medi Gun continuously at round start.
+
;Example
** Won't choose cover far below their heal target so much (koth_nucleus).
+
:<code>bot_hurt -name joe -team red -damage 150</code>
** 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.
 
* 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.
 
* Added more bot names as suggested by the TF community.
 
 
 
'''{{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.
 
* Soldier 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.
 
 
 
'''{{Patch name|6|10|2010}} ([[Mac Update]])
 
* Added Offline Practice mode, with support for KOTH maps and Dustbowl.
 
* {{Undocumented}} Looking at a bot player for a few seconds now causes it to taunt.
 
 
 
'''{{Patch name|6|11|2010}}'''
 
* Fixed a case where servers could get stuck in an infinite loop while spawning bots.
 
* Fixed a level change crash related to Bot navigation meshes.
 
 
 
'''{{Patch name|6|14|2010}}
 
* Fixed server crash related to bots and health kits.
 
 
 
'''{{Patch name|6|16|2010}}
 
* Medic bots now respond when nearby humans call for Medic.
 
* If a Medic bot is healing you and has an ÜberCharge ready, using the voice commands "Go go go!" or "Activate Charge!" will force the Bot to activate the ÜberCharge.
 
 
 
'''{{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 bots infinite build-destroy behavior loop regression.
 
* Fixed Medic bots losing their charge if they touch a resupply cabinet.
 
* 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).
 
* Engineer bots will avoid building Teleporters on steep slopes which could hinder teammate movement.
 
* Added tf_bot_pyro_always_reflect cvar. Set to 1 to make Pyro bots always reflect projectiles, regardless of difficulty level.
 
 
 
'''{{Patch name|4|14|2011}} ([[Hatless Update]])
 
* Added Spy TFBots. Spy bots have basic cloaking, diguising, sapping, and backstabbing behaviors now, and are ready to join the fight
 
* TFBots understand the basics of the Payload scenario now, and will push the cart on offense, and try to stop the cart on defense
 
* Added navigation meshes for pl_goldrush, pl_badwater, pl_upward, pl_thundermountain, and pl_hoodoo_final
 
* Improved TFBot reactions to cloaked and/or disguised enemy Spies
 
* Improved Demoman bot behaviors for planting sticky bomb traps
 
* Demoman bots will now try to move to a safe spot and lob stickybombs onto enemy sentry nests to destroy them
 
* Soldier bots switch to their Shotgun after emptying their Rocket Launcher at close/medium range
 
* TFBots will no longer hide from sapped or carried sentryguns
 
* Engineer bots are better at moving their Sentry Gun nest as the scenario changes
 
* Improved Sniper bot algorithm for finding good sniping spots for both Capture Point and Payload scenarios
 
* Sniper bots will take opportunistic shots at targets while they move to their desired sniping spot
 
* Fixed bug where Sniper bots would sometimes stand around in their spawn room doing nothing.
 
* Improved TFBot ability to find a safe vantage spot to attack enemy Sentry Guns
 
* TFBots will no longer try to use a teleporter entrance they can't actually reach
 
* Added <code>tf_bot_melee_only</code> cvar. If set to 1, all TFBots will be restricted to only using their melee weapon
 
 
 
'''{{Patch name|4|18|2011}}'''
 
* Fixed a server crash that could occur if TFBots were used across map changes
 
 
 
'''{{Patch name|5|5|2011}}''' ([[Replay Update]])
 
* {{Undocumented}} Bots now properly target the Horseless Headless Horsemann as an enemy.
 
 
 
'''{{Patch name|7|22|2011}}'''
 
* {{Undocumented}} Bots now work on CTF maps.
 
 
 
'''{{Patch name|7|26|2011}}'''
 
* Fixed a rare crash bug with the [[Demoman]] TFBot laying [[stickybomb]] traps
 
 
 
'''{{Patch name|8|23|2011}}'''
 
* Fixed crash with Demoman* bots trying to detonate stickybombs that had already been destroyed
 
* Added tf_bot_kill console command (syntax identical to tf_bot_kick)
 
* Bots obey melee only mode a bit better
 
* Added func_nav_avoid to allow map creators control over where bots "like" to go
 
* Fixed issue with Demoman bot reloading between each stickybomb he fired, causing him to be very slow at setting traps/destroying Sentry Guns
 
* Bots never taunt if carrying the flag now
 
* Aiming logic for Huntsman Sniper bots
 
* Sniper bots prioritize enemy Snipers more aggressively, as well as enemy Engineers now
 
* Improved Demoman bot Sentry Gun sticky bombing
 
* Bots will no longer try to use health entities assigned to the enemy team
 
* Added simplistic behaviors for Chargin' Targe, and various consumables (Bonk drink, Sandvich, etc)
 
* Medic* bots stay a bit closer to their patient now
 
* Sniper* bots go after very nearby enemies with their melee weapon now
 
* Added func_tfbot_hint entity to allow map creators to tell Sniper bots good places to lurk
 
* Sniper* bots opportunistically fire on viable targets they encounter while on the way to their desired lurking spot
 
* Spy* bots are more aggressive about backstabbing an Engineer before sapping his nest now}}
 
  
== {{common string|Notes}} ==
+
== 備考 ==
* Bots can also be controlled with debug commands (e.g. {{code|nb_select}} and {{code|nb_warp_selected_here}} to teleport bots to a specific location), regardless of the bot type.
+
* ボットの種類にかかわらず、{{code|nb_select}} {{code|nb_warp_selected_here}} などのデバッグコマンドで制御することも可能です。
  
=={{common string|References}}==
+
==参照==
 
<references/>
 
<references/>
  
 
[[Category:Customization/ja]]
 
[[Category:Customization/ja]]
 
[[Category:Gameplay/ja]]
 
[[Category:Gameplay/ja]]

Revision as of 12:57, 6 March 2022

Dustbowl Training にいるソルジャーのボット
この記事はTeam Fortress 2上でにコンピュータ側で操作するボットについて記載しています。
人間のチームメイトは時にお前を責める。じゃあこの不愛想なカラクリ人形共はどうだ?そうだ、奴らだって物は見える。しかし口を利くことは一切ない。お前がいかにポンコツ野郎だったか、奴らは死ぬまで誰にも明かすことは無いのだ!
ソルジャー

Bot もしくはBOT(ボット)は、サーバー上でコンピューターに操作されているプレイヤーの事です。Team Fortress 2 にはAI(人工知能)ボットとパペット(人形)ボットの2種類のボットが存在します。AIボットはプレイヤーの動きを真似るように作られている高度な人工知能で、チートをオンにしなくても使用可能です。パペットボットにはAIコードがありませんが、テストと練習には大変便利です。パペットボットを出現させるにはサーバーのチートをオンにする必要があり、またパペットボットを実績の達成に用いることは出来ません。

AI ボット

AIボットは人間のプレイヤーの動きを再現するように設計されており、直接操作をすることは出来ません。ボットのクラスはランダムで選ばれます。このボットのAIコードは "Left 4 Dead" シリーズのプレイヤーボットと感染者の、洗練されたAIコードをベースに作られました。[1] AIボットを出現させるためにサーバーのチートをオンにする必要はありません。 従って、一部例外を除いて実績の達成に用いることが出来ます。例えばボットは殺された際にキルカメラを見ることが出来ないため、プレイヤーはキルカメラに関する実績を達成する事は出来ません。また、ストレンジクオリティの武器でボットをキルした際、その武器に Strange Part を装着していない限り、キル数にはカウントされません。Strange Part を装着してキルした場合は、武器のメインのカウンターではなく Strange Part にカウントされます。

AIボットには、「イージー」から「エキスパート」まで4種類のスキルが存在します。Steam のコミュニティガイドにて、Sigsegv氏が各スキルの違いや詳細について解説(英語)してくれています。

プレイヤーは以下の通り、AIボットを間接的に操作することができます。

  • セットアップタイム時にプレイヤーが照準で焦点をあわせた味方、 または敵のボットは挑発を行います。
  • メディックボットは "メディック!" のボイスコマンドを使用したプレイヤーを回復します。
  • メディックボットが自分を回復していて、かつチャージゲージが満タンの時に "ゴー!ゴー!ゴー!" または "チャージを頼む!" のボイスコマンドを使用するとメディックボットはすぐにユーバーチャージを展開します。
  • メディックボットのチャージゲージが満タンの時に、メディックボット自身もしくはその回復対象が大ダメージを受けた際はすぐにユーバーゲージを展開します。
  • ボットの近くで High Five!コンガなどの挑発を実行するとボットはそれに参加します。

パスファインディング

公式がボットの動きをサポートしているマップ

マップ ゲームモード ファイル名
Dustbowl 攻撃/防御 cp_dustbowl
Gorge 攻撃/防御 cp_gorge
Gorge Event 攻撃/防御 cp_gorge_event
Mann Manor 攻撃/防御 cp_manor_event
Mercenary Park 攻撃/防御 cp_mercenarypark
Mossrock 攻撃/防御 cp_mossrock
Badlands (CP) コントロールポイント cp_badlands
Foundry (CP) コントロールポイント cp_foundry
Granary (CP) コントロールポイント cp_granary
Gullywash コントロールポイント cp_gullywash_final1
Metalworks コントロールポイント cp_metalworks
Process コントロールポイント cp_process_final
Snakewater コントロールポイント cp_snakewater_final1
Sunshine コントロールポイント cp_sunshine
Vanguard コントロールポイント cp_vanguard
Turbine 旗取り ctf_turbine
Badlands (KOTH) キングオブザヒル koth_badlands
Brazil キングオブザヒル koth_brazil
Eyeaduct キングオブザヒル koth_viaduct_event
Ghost Fort キングオブザヒル koth_lakeside_event
Kong King キングオブザヒル koth_king
Lakeside キングオブザヒル koth_lakeside_final
Laughter キングオブザヒル koth_slaughter_event
Lazarus キングオブザヒル koth_lazarus
Moldergrove キングオブザヒル koth_undergrove_event
Moonshine Event キングオブザヒル koth_moonshine_event
Nucleus (KOTH) キングオブザヒル koth_nucleus
Probed キングオブザヒル koth_probed
Sawmill (KOTH) キングオブザヒル koth_sawmill
Slasher キングオブザヒル koth_slasher
Viaduct キングオブザヒル koth_viaduct
Badwater Basin ペイロード pl_badwater
Barnblitz ペイロード pl_barnblitz
Bloodwater ペイロード pl_bloodwater
Brimstone ペイロード pl_fifthcurve_event
Enclosure ペイロード pl_enclosure_final
Gold Rush ペイロード pl_goldrush
Gravestone ペイロード pl_rumble_event
Hoodoo ペイロード pl_hoodoo_final
Precipice[OfficialSupport 1] ペイロード pl_precipice_event_final
Swiftwater ペイロード pl_swiftwater_final1
Thunder Mountain ペイロード pl_thundermountain
Upward ペイロード pl_upward
Pier ペイロード pl_pier
Wutville[OfficialSupport 1] ペイロード pl_wutville_event
  1. a b Precipice と Wutville にて、BLUボットがとあるスポーン地点を離れる際に動けなくなってしまいます。なのでBLUチームがほとんどもしくは全く死なず、スポーン地点の付近にカートがある場合のみBLUチームが勝利できるようになっています。

サポートされていないマップでボットを使用する方法

  1. コンソールに "sv_cheats 1" と入力する
  2. コンソールに "nav_generate" と入力する
  3. ゲームのAIパスが自動生成されるのを待つ
  4. Mマップが再ロードされる (ナビゲーションファイルは保存されるため、前のステップを繰り返す必要はありません)
  5. コンソールを開き、 ""tf_bot_add <数値>"" のように入力してボットを追加する

注)既にボットが居る状態でナビゲーションメッシュをいじると、ゲームが落ちる可能性があります。

上記の手順を1度行ったマップなら、ボット追加コマンド "tf_bot_add <number>" 以外の手順を繰り返す必要はありません。

自動生成されたメッシュは、コントロールポイント、キングオブザヒル、ペイロードおよび旗取りのゲームモードにてその効果を発揮します。 Mannpower マップの場合、ボットは旗取りモードとして動きます。しかしボットは Grappling Hook を使わず、パワーアップを取得しても効果的に使う事が出来ません。

公式がボットの動きをサポートしていないマップ

AIボットコマンド

より詳細なコマンドの情報については、こちらをご覧ください。

サポートされているマップでは、サーバー管理者がコンソールに以下のコマンドを入力することでAIボットを使用できます。[2]

コマンド 解説
tf_bot_add このコマンドを使うと、ランダムに選ばれたクラスが任意のチームに参加します。ボットの名前もランダムに選ばれます。
構文
tf_bot_add [<count>] [<class>] [<team>] [<difficulty>] [<name>]
変数
<count>
追加したいボットの数を指定できます。何も入力しなかった場合は1体スポーンします。
サーバーの最大人数を超えてしまう数値を入力した場合、エラーメッセージが表示されて失敗します。
mp_teams_unbalance_limitの値が低すぎる場合、片方のチームだけにボットを複数作成しようとしても自動でオートバランスが行われます。
<class>
ボットのクラスを指定できます。クラス名を入力する場合はDemomanEngineerHeavyWeaponsMedicPyroScoutSoldierSniperSpyという表記を使います。
<team>
ボットを追加するチームを指定できます。チーム名を入力する場合はREDおよびBLUEという表記を使います。
<difficulty>
ボットのレベル(難易度)を指定できます。指定する場合はeasynormalhardexpertという表記を使います。
<name>
ボットの名前を指定できます。
tf_bot_add 3 heavyweapons red easy を入力すれば、EasyレベルのREDヘビーを3体追加できます。
tf_bot_difficulty ゲームに追加するボットの難易度をあらかじめ決められます。
構文
tf_bot_difficulty <level>
変数
<level>
ボットの難易度を指定できます。それぞれ0で初級、1で中級、2で上級、3でエキスパートを選べます。デフォルトだと1です。
tf_bot_difficulty 2 を入力すれば、以降追加されるボットの難易度は上級になります。
tf_bot_fire_weapon_allowed ボットが武器を使用するかどうか指定できます。武器の使用を無効にした場合、ボットはメディガンなどの敵にダメージを与えない武器しか使えなくなります。例外としてメディック注射銃を使うことができます。デモマンは、既に設置していた粘着爆弾を爆破させることはできますが、追加で爆弾を設置することはできません。
構文
tf_bot_fire_weapon_allowed <integer>
変数
<integer>
1か0で指定します。デフォルトは1(武器の使用有効)です。
tf_bot_fire_weapon_allowed 0 を入力すれば、例外を除きボットは武器を使用しなくなります。
tf_bot_force_class クラス名を指定すれば、現存のボット全員が指定したクラスに置き換わります。
構文
tf_bot_force_class <class>
変数
<class>
ボットのクラスを指定できます。クラス名を入力する場合はDemomanEngineerHeavyWeaponsMedicPyroScoutSoldierSniperSpyという表記を使います。デフォルトは"" (空白)です。
tf_bot_force_class medic を入力すれば、全てのボットがメディックに置き換わります。
tf_bot_force_jump ボットにジャンプし続けるように指示できます。
構文
tf_bot_force_jump <integer>
変数
<integer>
1か0で指定します。デフォルトは0(無効)です。
tf_bot_force_jump 1 を入力すれば、ボットがジャンプし続けます。
tf_bot_join_after_player 有効にした場合、ボットはプレイヤーが参加するまで待ちます。
構文
tf_bot_join_after_player <integer>
変数
<integer>
1か0で指定します。デフォルトは1(有効)です。
tf_bot_join_after_player 0 を入力すれば、チームにプレイヤーが居なくてもボットはゲームに参加するようになります。
tf_bot_keep_class_after_death 0の場合、ボットは常にクラスを変えてリスポーンします。
構文
tf_bot_keep_class_after_death <integer>
変数
<integer>
1か0で指定します。デフォルトは0(無効)です。
tf_bot_keep_class_after_death 1 を入力すれば、ボットはクラスを変更しません。
tf_bot_kick ボットを1人、もしくは全員削除します。
構文
tf_bot_kick <name/all>
変数
<name/all>
削除したいボットの名前もしくは全員かを指定できます。
tf_bot_kick CEDA を入力すれば、「CEDA」という名前のボットを消すことができます。tf_bot_kill のコマンドと同様、「Black Mesa」などの2単語で構成される名前を入力する際は tf_bot_kick "Black Mesa" という風に引用符(””)で囲む必要があります。
tf_bot_kill ボットを1人、もしくは全員殺します。
構文
tf_bot_kill <name/all>
変数
<name/all>
殺したいボットの名前もしくは全員かを指定できます。
tf_bot_kill CEDA tf_bot_kill CEDA を入力すれば、「CEDA」という名前のボットを殺すことができます。tf_bot_kick のコマンドと同様、「Black Mesa」などの2単語で構成される名前を入力する際は tf_bot_kill "Black Mesa" という風に引用符(””)で囲む必要があります。
tf_bot_melee_only ボットが近接武器のみを使うかどうか指定できます。
構文
tf_bot_melee_only <integer>
変数
<integer>
1か0で指定します。デフォルトは0(無効)です。
tf_bot_melee_only 1 を入力すれば、近接武器のみを使用するボットを生成できます。
tf_bot_prefix_name_with_difficulty 0以外の場合、名前の前にそれぞれの難易度表記が付いたボットを生成できます。
構文
tf_bot_prefix_name_with_difficulty <integer>
変数
<integer>
1か0で指定します。デフォルトは0(無効)です。
tf_bot_prefix_name_with_difficulty 1 を入力すれば、"Normal Aimbot" や "Expert 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_modematch と指定した場合、プレイヤー1人につき2体のボットが追加されます。
tf_bot_quota_mode ボットの総数の調整ができます。
構文
tf_bot_quota_mode<normal/fill/match>
変数
normal/fill/match
「normal」を指定すると、サーバーは明確な指示が無い限り、勝手にボットを追加もしくは削除することはありません。また bot_quota も無効になります。
「fill」を指定すると、サーバーはN人のボットをゲームに参加させるよう調整します。Nの値は bot_quota で指定します。
「match」を指定すると、サーバーはボットとプレイヤーの比率を1:Nになるよう調整します。Nの値は bot_quota で指定します。
tf_bot_quota_mode fill を入力すれば、(bot_quota - 人間のプレイヤー数)人のボットをゲームに参加させることができます。
tf_bot_taunt_victim_chance ボットが敵を殺した際に挑発を行う頻度を指定できます。
構文
tf_bot_taunt_victim_chance <integer>
変数
<integer>
0から100を指定できます。デフォルトは20です。
tf_bot_taunt_victim_chance 0 を入力すれば、ボットは敵を殺した後に挑発をしません。
tf_bot_taunt_victim_chance 100 を入力すれば、ボットは敵を殺すたびに挑発をします。
tf_bot_warp_team_to_me 自分のチームのボットを自分の居る位置にテレポートできます。sv_cheats 1の場合のみ有効です。
構文
tf_bot_warp_team_to_me
変数
なし

AIボットの現状について

AIボットは完全にリリースされている状態です。[要出典]Hatless アップデートを経て、かつてバグの多かったスパイボットを含め、全てのボットが正常に動くようになりました。AIボットはキングオブザヒルマップのほとんどと、ペイロードマップのいくつか、そして攻撃/防衛マップのDustbowlGorge旗取りマップ、そしてMann Manorで正常に機能します。 (最後の2つは、tf_bot_add をコマンドに入力する必要があります。)サポートされていないマップでボットを使用する際は、とある手順を踏む必要があります。ただし必ずしも人間のように動いてくれるとは限りません。

ボットは Hightower にある手すりを飛び越えられず、またスポーンした後にどこかにスタックしてしまうので、どのペイロードレースマップでも正しく動いてくれません。またボットは、他のPLRマップにてダンスパーティーをします(これは将来的に修正されるかもしれません)。[要出典]

AIボットの行動パターン

  • 現在、ボットのロードアウトはデフォルトのみです (カスタムMODもしくはプラグインを使えばデフォルト以外のロードアウトにできます)。
  • 初級難易度のボットはサブ武器、近接武器をめったに使いません。上級難易度のボットはメイン武器の弾薬が切れた場合や、敵との距離を考慮した場合にサブ武器に切り替えて使用します。
  • ボットは特殊ジャンプ(ロケットジャンプ等)や装置の運搬をしません。
  • ボットは敵を殺した直後に挑発をする事があります。周りからの攻撃を受けていても挑発を実行します。また、ボットは敵の機密情報を運んでいる際に挑発はしません。Mann vs. Machineロボット達も同じ振る舞いをします。
  • スパイのボット(およびプレイヤー)の変装に、他のボットは一切気付きません。しかし彼らに触れてしまったり、サッピングや攻撃、 および透明化をするとそれを目撃したボット全員に気付かれてしまいます。見えない場所で変装するか、死ぬか、Dead Ringerで擬死でもしないと、ボットたちは誰がスパイなのかをずっと覚えています。
  • 中級以上の難易度のパイロは、敵の攻撃に対して圧縮ブラストを使ってきます。
  • スナイパーやエンジニアが「メディック!」と呼びかけても、メディックボットはまず他のクラスを回復しに行きます。
  • メディックボットは人間のプレイヤーのパイロ、ソルジャー、デモマン、ヘビーを優先的にポケットしてくれます。他のクラスを選んだ場合はあまりポケットしてくれません。
  • チャージゲージが満タンなメディックボットは、回復対象が傷つくとすぐさまユーバーチャージを展開します。このシステムは Mann vs. Machineユーバー・メディックにも適用されています。
  • ボットはセットアップタイムに攻撃することはありません(例外としてデモマンボットはセットアップタイム中に粘着爆弾を仕掛けます)。
  • エンジニアボットはテレポーターをアップグレード(もしくはサッパー除去)しません。また、セントリーガンを修復しない時もあります。
  • エンジニアボットは、仲間のエンジニアの装置が自分のターゲットの障害物にならない限り、仲間の装置を修理もしくはアップグレードする事はありません。
  • 攻撃/防衛もしくはペイロードマップのセットアップタイム中にて、攻撃チームのエンジニア、スナイパー、スパイ以外のボットはリスポーン位置から動きません。
  • スパイボットは自身の存在がバレた場合、バックスタブを諦めてリボルバーを撃ちながら後退します。
  • デモマンボットはセントリーガンで1回死ぬとその設置位置を記憶して、セントリーガンの射程圏外に立ち粘着爆弾を仕掛けて破壊を試みます。この際に壁や天井が障害物になる事もあります。
  • スナイパーボットは、スコープを覗いても敵が居なかった場合、ボイスコマンドの「ネガティブ」をつぶやきます。

バグ

  • ボットは壁に向かって歩いたり、攻撃したりする。
  • スパイボットもしくはプレイヤーが透明化/解除および変装/解除すると、他のボットはよそをしていても背後を振り向きこちらを見る。これはスパイボットもしくはプレイヤーが発する足音や武器の音に反応してこちらを見ているわけではない。
  • まれにテレポーターをボットが取り合い、スタックしてしまうことがある。
  • ボットが「スパイだ!」や「前進!」のボイスコマンドを使用しても、そのテキストは表示されない。
  • プレイヤーを回復中メディックボットは、自身のヘルスがかなり低下しても攻撃を避けたりヘルスキットを拾ったりしない。
  • ボットは挑発中に動けるので、Holiday Punchが効かない。
  • 攻撃を受けたメディックボットは注射銃で反撃できない事があり、たまに骨用電ノコを構えたり、ごくまれにメディガンを使うことがある。
  • メディックボットは注射銃を使う際に、エイムが定まらなかったり、発射物の重力を補正できなかったりする。これはAIコードが注射銃をヒットスキャン武器として認識できていない可能性がある。
  • スパイボットは難易度にかかわらず、透明化した敵のスパイ(ボットまたはプレイヤー)が正体を現した際にそれを見て後を追うことができてしまう。
  • スパイが敵チームに居ないクラスに変装しても(ボットはこのような事はしない)、敵に触れるとスパイだと言われてしまう。
  • ボットはオートバランスに反することは絶対ない。特定のチームに特定のクラスのボットを追加したいならば mp_teams_unbalance_limit の値を0にする必要がある。
  • エンジニアボットは自分が建てた装置を、敵に破壊されるまで放置してしまう事がある。
  • ヘビーボットは弾薬が切れてもミニガンを回し続ける事がある(上級以下の難易度でよく起こる)。
  • 試合に負けたメディックボットは、虐殺タイムの最中に周りに敵が居なければ自殺する事がある。コマンドを使用してもプレイヤーはこれを真似できない。
  • ロードアウトメニューのプレビューをBLUチームに設定していると、REDのボットがBLUとして表示されてしまう。
  • ナビゲーションメッシュを生成しても、以下のマップではボットは正常に動かない。(スパイボットおよびスナイパーボットは動く可能性がある。)
  • 近接武器を構えたボットは、弾薬を補給しても近接武器を構えたままの事がある。
    • 対処としてそのボットを殺すか、ランダムにクラスを変更してやれば直る。
  • ジャングル・インフェルノ アップデート を経て、特定のコマンド(例えば tf_bot_add 5 pyro blue normal など)で出現させたボットはリスポーン地点で死んでしまうようになった。対処として sv_cheats を1にし、tf_bot_reevaluate_class_in_spawnroom 0 を入力すると良い。

AIボット名

TFボットは様々な名前を持つようにプログラミングされており、TF2用語や Valve の他作品、もしくはプログラミング関係のワードにちなんだものが多いです。名前はSteamの掲示板でリクエストされています。

未使用の名前

これらの名前はリークされたソースコード版のTF2から見つかったもので、何らかの理由でゲームに導入されなかったものを含みます。

  • 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

ボットの名前をプレイヤーが決める事も出来ます。例えば tf_bot_add heavyweapons blue "Blu Hoovy" と入力すると、「BLUチーム」に「Blu Hoovy」という名の「ヘビー」を追加することができます。

第三者ボット

現在TF2用に開発されているボットはRCbot2のみです。Cheeseh 氏によって開発および管理されており、このサイトで確認できます。

もしくは、[APG]財団のビルドを使う手もあります。このビルドはTF2の最新アップデートに対応しており、ボットが破損するのを防ぐことができます。しかしボットを正常に動かすためには最新の Hookinfo を探す必要があります。これを使用して、Hookinfo ツールから config.ini のオフセット値を調整してください。 (最新版は2020年6月19日の v1.3-APG)

ボットはウェイポイントシステムで動作するため、コマンドを使うのではなくあらかじめプレイヤーが手動でセットアップする必要があります。RCBot2は独自のボットなので通常のTFボットと一緒に動作させることも可能です。

RCBot2の特徴

  • ソルジャーボットはロケットジャンプ、デモマンボットは粘着ジャンプをすることができます。(マップにウェイポイントがある場合のみ)
  • エンジニアボットは旗取りマップやその他のマップで正しく動作します。
  • ボットは「ハンツマン」や「喉ごしガツン!アトミックパンチ」などのカスタムロードアウトを使用します。
  • ボットはスパイチェックをします。スパイがいずれかのボットに変装し、変装の対象になったボットがそれを目撃した場合、スパイを攻撃し始めます。
  • ボットは音声コマンドを使用します。TFボットと異なり、テキストログにも内容が表示されます。
  • ボットは Mann VS Machine の防衛側に参加できますが、アップグレードの購入はしません。
  • CPマップで遊ぶ際、ボットたちはラウンド開始まで動き回ります。まるで人間のプレイヤーのように、音声コマンドを発しながら近接武器でランダムに殴り合います。
  • エンジニアボットはある程度時間が経過すると装置を運搬できるようになります。
  • ボットのエイム力や度胸などの情報をカスタマイズすることが可能です。
  • エンジニアボットは自分のセントリーガンのアップグレードが完了すると、仲間のエンジニアのセントリーガンをアップグレードしたり、サッパーを除去したりしてくれます。
  • ボットがセントリーガンの標的にされて逃げ切れた場合、「前方にセントリーガン!」のボイスコマンドを使用します。
  • エンジニアボットはテレポーターをウェイポイントがある場所に設置し、またアップグレードも行います。
  • 時々、敵のメディックボットが変装したスパイを回復してしまうことがあります。
  • スパイボットが接近したターゲットが振り向いた場合、スパイボットは向こうがまたよそ見をするまで離れます。
  • スカウトボットはダブルジャンプができます。しかしソルジャーボットやデモマンボットと同様に、ウェイポイントが無いとできません。
  • スカウトボットは「喉ごしガツン!アトミックパンチ」を効果的に使用できます(いったん後退し、飲んでからまた前線に向かうなど)。
  • メディックボットはヘルスが減ったクラスを平等に回復してくれます。しかしソルジャーとヘビーは他のクラスより優先度が高いです。
  • ボットは仲間をバックスタブしたスパイを即座に攻撃しません。ボットはスパイを目で追うか、そのスパイが攻撃されているか確認しなくてはなりません。
  • ディスペンサーやメディガンで回復したボットは「ありがとよ!」のボイスコマンドを使用します。
  • ボットは頻繁に振り向いてスパイチェックをします。
  • RCBot2には「信用」システムが存在し、仲間がスパイか否かや、バックスタブに対応するため攻撃するか観察するかなどを考えます。
  • RCBot2はTFボットと違って、マリオカートやペイロードマップなどの複雑なマップに加え plr_hightower_event、sd_doomsday_event、sd_doomsday などのハロウィーンマップで正常に動きます。

RCBot2のバグ

  • ウェイポイントの性質上、RCBot2のパスはTFボットほど予測不可能に作られておらず、RCBot2は他のボットと頻繁にぶつかり、どちらかが死ぬまでお互いスタックしてしまうことがある。
    • スパイボットも同じ理由でプレイヤーにぶつかったまま動けなくなることがあります。スパイボットは設定された範囲しか移動できず、一定の軌道上にとどまります。
  • エンジニアボットはディスペンサーの設置に手こずります。かつ自分の意志で自由な場所に配置します。
  • デモマンボットは敵が粘着爆弾の上に立っているかどうかが分かり、敵が視界にいなくても爆破させることができます。
  • エンジニアボットはたまにセントリーガンの向きを間違えます。
  • RCbot2はウェイポイントの設定されていない場所に飛ばされると、そこから動けなくなります。例えば Nucleus の屋根付近などです。
  • RCbot2はヘルスキットを拾った際にも「ありがとよ!」のボイスコマンドを使用します。
  • RCbot2は泳いだ後に移動速度が低下してしまいます。
  • RCbot2は武器を使う際に相手の動きを予測できません。
  • メディックボットは、特にチャージゲージが満タンの際、一人のプレイヤーにポケットすることはありません。
  • スパイボットは敵エンジニアの装置を壊すために積極的に動いたり、すぐさまサッパーを仕掛けたりしません。
  • SourceMod のプラグインの一部はRCBot2の smac_cvars.smx と相性が悪い可能性があります。しかし [APG]RoboCop[CL] 氏が「config.ini」の中に「sm plugins unload <PLUGIN-NAME>」を追加することでこれを回避しています。

不具合があった場合は必ずRCbotのウェブサイトまたは Discord の Bots-Unitedチャンネルに報告して下さい。Team Fortress wiki と Valve 社はRCbot2について一切責任を負いません。

パペットボット

パペットボットにはAIコードが無く、自身で動き回ったり何かをすることはできません。パペットボットはパペットのように扱えるので、プレイヤーを追いかけさせたり武器を使わせたりと、プレイヤーのコマンドに従って動かすことができます。使用用途は主にテストで、以下に示すような指示をしてやると こんなことも出来たりします。

パペットボットコマンド

全てのコマンドが正常に機能するわけではなく、省かれている作業コマンドもあります。

AIボットにこのコマンドを指示した場合は、うまく機能したりしなかったりします。 注)値を入れずにコマンドを送信すると、現在の設定と簡単な説明が表示されます。

コマンド 解説
bot このコマンドを使うと、指定したクラスが指定された名前で、指定されたチームに参加します。チームおよびボットの名前が省略された場合はランダムに選ばれます。
構文
bot [<teamname/number>] [<classname>] [<name>] [<number>]
変数
<number>
追加したいボットの数を指定できます。
<teamname/number>
ボットを追加したいチームをアルファベットもしくは数字で指定できます。チームを指定する場合は REDもしくは1BLU もしくは 0という表記を使います
<classname>
ボットのクラスを指定できます。クラス名を入力する場合はDemomanEngineerHeavyWeaponsMedicPyroScoutSoldierSniperSpyという表記を使います。
<teleport>
カーソルで狙っている場所にボットをテレポートできます。
<targetdummy>
スポーンさせたボットのヘルスが減るのを防ぎます。
<name>
どんな名前でもOKです。既に同じ名前のボットがいる場合は、名前の先頭に括弧で囲まれたナンバーが追加されます。例えばJoe、(1)Joe、(2)Joeという感じになります。名前を指定しなかった場合は「bot」の後ろにナンバーが付いたものになります。例えば最初のボットがBot01、次がBot02、と続いていきます。
bot -team red -class Engineer -name joe
bot_changeclass ボットを全員、指定するクラスに変更できます。
構文
bot_changeclass <name> <classname>
変数
<name>
ターゲットボットの名前を指定できます。
<classname>
ボットを切り替えたいクラスの名前です。デフォルトは "" (または空白)です。
bot_changeclass bot01 Soldier
bot_changeteams

ボットを全員、チーム変更させます。 BLUチームに居たボットならばREDに切り替わり、その逆も同じです。

bot_command 指定されたボットに代わって、指定されたコマンドを送信します。
構文
bot_command <name/all> <console command>
変数
<name/all>
コマンドの送信先であるボットの名前およびIDを入力します。「all」を指定した場合すべてのボットにコマンドが送信されます。
<console command>
コンソールコマンドにリストされているもの、およびチートを指定できます。
例1
bot_command bot01 "voicemenu 0 0"
例2
bot_command bot01 "taunt"
スロットのコマンド(slot1、slot2など)は bot_command では機能しませんが、bot_forcefireweaponを使う事でそのクラスの全てのボットに武器を発射させ、その後停止させることが可能です。しかしながらそのクラスのボット全体のみしか機能しません。
bot_dontmove ボットの移動を許可もしくは制限できます。1でボットは移動不可能になりますが、その場でジャンプしたり体の向きを変える事はできます。 このコマンドとbot_mimicを組み合わせれば、ボットを指定した場所へ移動し、そこで待機させることもできます。
構文
bot_dontmove <integer>
変数
<integer>
1でボットの移動を許可できます。デフォルトは0(移動制限)の状態です。
bot_dontmove 1
bot_forceattack このコマンドを使えば、ボットが今構えている武器を自動で発射できます。bot_forceattack2が0に設定されている場合、ボットは primary_fire を実行します。bot_forceattack2が1に設定されている場合、ボットは secondary_fire を実行します。

bot_mimicが1(有効)になっている場合、何も起こらないのでご注意ください。

構文
bot_forceattack <integer>
変数
<integer>
1に設定した場合、全てのボットが銃を発砲します。デフォルトは0(無効)です。
bot_forceattack 1
bot_forceattack2 bot_forceattackを1に設定していると、全てのボットが現在構えている武器で secondary_fire を実行します。
構文
bot_forceattack2 <integer>
変数
<integer>
1に設定すればボットは secondary_fire を実行し、0ならば primary_fire を実行します。
bot_forceattack2 1
bot_forceattack_down これを0に設定していれば、ボットは発射ボタンを何回も押すような状態になります。(粘着爆弾ランチャーで役立つ)1にすれば、押し続けているような状態になります。(ミニガンで役立つ)
構文
bot_forceattack_down <0/1>
変数
<integer>
1もしくは0。0で無効になります。
bot_forceattack_down 1
bot_forcefireweapon ボットが構える武器を指定した武器に切り替え、強制的に武器を発射させます。指定した武器を持っていない場合は何も起こりません。
構文
bot_forcefireweapon <weapon filename>
filename は通常 tf_weapon_ <武器名>となります。
bot_forcefireweapon tf_weapon_fists すべてのヘビーボットの武器をに切り替えさせて連続的に攻撃させ、他のボットは攻撃を停止します。
bot_forcefireweapon tf_weapon_shotgun_pyro すべてのパイロボットの武器をショットガンに切り替えさせて連続的に攻撃させ、他のボットは攻撃を停止します。
ボット全員の攻撃をやめさせたいのであれば、存在しない武器のファイル名を指定するだけです。tf_weapon が含まれていない物はTF2の武器と見なされない為、bot_forcefireweapon ,,等の指定をすればボットは攻撃をしません。
bot_jump ボット全員に繰り返しジャンプをさせる事ができます。
構文
bot_jump <integer>
変数
<integer>
1でボットが全員、ジャンプを繰り返します。デフォルトは0(無効)です。
bot_jump 1
bot_crouch ボット全員をしゃがみ状態にできます。
構文
bot_crouch <integer>
変数
<integer>
1でボットが全員、しゃがんだ状態になります。デフォルトは0(無効)です。
bot_crouch 1
bot_kick 名前を指定してボットを削除したり、チームごと、または全員削除したりできます。
構文
bot_kick <name/team>
指定したボットが死にます。
bot_kick bot01 「bot01」という名前のボットをキックします。
bot_kick red REDチームのボットをまるごとキックします。
bot_kick blue BLUチームのボットをまるごとキックします。
bot_kick all サーバー内のボット全員をキックします。
bot_kill ボットを殺せます。
構文
bot_kill <name>
変数
<name>
指定したボットが死にます。
bot_kill bot01
bot_mirror 指定したボットがプレイヤーのロードアウト(クラス、装飾アイテム、武器)をそっくり真似ますが、いくつかバグがあります。 if a Demoman player has the Booties and any shield equipped, a mirrored bot will still use the Grenade Launcher and Stickybomb Launcher despite showing the Booties and shield on his model. After a mirrored bot dies, it will not retain the previous loadout, and bot_mirror must be used again.
構文
bot_mirror <name>
Where name is the name of the bot to mirror.
bot_mirror bot01
bot_mimic Bot uses usercmd of player by index.

The bot will execute all keystrokes issued by a player, mimicking movements, turns, jumps, fire, etc. It should be noted that bots will not mimic Medic calls, weapon switches, or taunts.

Note this overrides bot_forceattack but does not override bot_dontmove.

構文
bot_mimic <integer>
変数
<integer>
Either 1 or 0. Default is 0 (disabled).
bot_mimic 1
bot_mimic_inverse

Inverts the movement of the bots; moving left makes the bots move right, moving forwards makes the bots move backwards, etc.

The direction which the bot is looking is not affected.

構文
bot_mimic_inverse <integer>
変数
<integer>
Either 1 or 0. Default is 0 (disabled).
bot_mimic_inverse 1
bot_mimic_yaw_offset

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.

構文
bot_mimic_yaw_offset <0-360>
Set the direction by specifying angle in degrees
bot_mimic_yaw_offset 180
bot_randomnames
Syntax
bot_randomnames <0>
Parameters
<integer>
Either 1 or 0. Default is 0 (disabled).
Example
bot_randomnames 1
bot_refill Refills all bots' ammo (including metal for Engineers) and health counts.
Syntax
bot_refill
bot_saveme This makes all the bots call for a Medic, equivalent to issuing bot_command <name> "voicemenu 0 0" to every bot.
Syntax
bot_saveme <integer>
Parameters
<integer>
All the bots will call for a Medic when set to 1. Default is 0 (disabled).
bot_selectweaponslot Forces a bot to switch to the specified weapon slot. To specify which bot switches weapons, use cc_bot_selectweapon instead.
Syntax
bot_selectweaponslot <n>
Parameters
<n>
Set n to weapon slot that bots should switch to.
0 = primary; 1 = secondary; 2 = melee; 3 = special
Example
bot_selectweaponslot 2
bot_teleport Teleports a specified bot to a given coordinate.

Map coordinates of where you are standing can be found by typing Status in the console.

Syntax
bot_teleport <name> <X> <Y> <Z> <Pitch> <Yaw> <Roll>
Where name is the name of the bot or id to teleport.
Parameters
<name>
Name of the bot to teleport.
<X> <Y> <Z>
Coordinates of the map the bot will be teleported to.
<Pitch> <Yaw> <Roll>
The direction the bot should face.
Example
bot_teleport bot01 -4815 1385 -447 0 0 0
bot_whack Delivers lethal damage from player to specified bot. This basically kills the bot with the currently selected weapon, probably used for testing during development. It is worth noting that you can only use bot_whack to kill a teammate if mp_friendlyfire is set to 1, otherwise attempting to whack a teammate will not do anything.
Syntax
bot_whack <name>
Parameters
<name>
Name of the bot to "whack".
Example
bot_whack bot01
cc_bot_selectweapon Forces a bot to switch to the specified weapon slot.
Syntax
cc_bot_selectweapon <name> <n>
Parameters
<n>
Set n to weapon slot that bots should switch to.
0 = primary; 1 = secondary; 2 = melee; 3 = special
<name>
Name of the bot that will switch weapon slot.
Example
cc_bot_selectweapon bot12 2
bot_hurt 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
bot_hurt [<name>] [<team>] [<damage>]
Parameters
<name>
Name of the bot to hurt.
<team>
Specifies the team name of the bot to hurt. Can be RED, BLU or all.
<damage>
Specifies the amount of damage the bot will receive. If a negative number is set, it will heal (and overheal) the bot instead.
<burn>
Set the bot on fire. However, the bot will not receive any afterburn damage.
Example
bot_hurt -name joe -team red -damage 150

備考

  • ボットの種類にかかわらず、nb_selectnb_warp_selected_here などのデバッグコマンドで制御することも可能です。

参照