CS2コンソール コマンド
今のCS2に実在するコマンドと変数238個を検索できます。初期値と上限は、ゲーム自身が報告しているものです。なくなったものは別のタブにあるので、古い情報と今の情報を区別できます。
crosshair、fps_max、bot、demoなどで検索してみてください。カテゴリを選ぶと絞り込めます。
コンソールとコンフィグ
設定の実行、保存、管理。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
exec exec <file> | game/csgo/cfgフォルダの.cfgファイルを実行します。.cfgは付けません。 | クライアント | ||
execifexists execifexists <file> | ファイルがある場合だけコンフィグを実行します。ない場合はエラーになりません。 | クライアント | ||
host_writeconfig | 現在の設定をconfig.cfgに保存します。 | クライアント | ||
bind bind "<key>" "<command>" | キーやマウスボタンを、コマンドに割り当てます。 | クライアント | ||
unbind unbind <key> | 1つのキーの割り当てを外します。 | クライアント | ||
unbindall | すべての割り当てを外します。そのあと、移動キーを割り当て直すか、binddefaultsを実行してください。 | クライアント | ||
binddefaults | すべてのキー割り当てを初期状態に戻します。 | クライアント | ||
alias alias "<name>" "<commands>" | コマンドのリストを実行する、短い名前を作ります。 | クライアント | ||
echo echo <text> | コンソールに1行表示します。コンフィグが実行されたか確かめるのに便利です。 | クライアント | ||
toggle toggle <cvar> [value1 value2 ...] | 押すたびに、cvarを値の間で切り替えます。たとえば toggle cl_showfps 0 1 です。 | クライアント | ||
incrementvar incrementvar <cvar> <min> <max> <step> | cvarを一定量ずつ増やし、最小値と最大値の間で循環させます。 | クライアント | ||
cyclevar cyclevar <cvar> <value1> <value2> ... | cvarを、値のリストの順に切り替えます。 | クライアント | ||
toggleconsole | コンソールを開閉します。 | クライアント | ||
find find <text> | コンソールのコマンドとcvarから、単語を検索します。 | クライアント | ||
help help <name> | コマンドやcvarのヘルプを表示します。 | クライアント | ||
cvarlist | ゲームが知っているすべてのコンソール変数とコマンドを一覧にします。 | クライアント | ||
differences | 初期値から変更したcvarを一覧にします。 | クライアント | ||
key_listboundkeys | 割り当てたすべてのキーを一覧にします。 | クライアント | ||
key_findbinding key_findbinding <command> | コマンドに割り当てられているキーを表示します。 | クライアント | ||
con_enable | コンソールを開けるようにします。開発者コンソールを有効にする設定と同じです。 | false | クライアント | |
status | 接続、サーバー、参加しているプレイヤーを表示します。 | クライアント | ||
maps | ゲームが読み込めるマップを一覧にします。 | クライアント | ||
map map <name> | マップを読み込みます。オフラインならローカルのゲームを始めます。 | クライアント | ||
changelevel changelevel <name> | 自分で立てたサーバーで、マップを変更します。 | クライアント | ||
connect connect <address> | サーバーに接続します。 | クライアント | ||
disconnect | 今のゲームから抜けます。 | クライアント | ||
quit | CS2を終了します。 | クライアント |
クロスヘア
クロスヘアの設定は、それぞれ別のcvarです。色は1つの数値ではなく、チャンネルごとに設定します。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
cl_crosshairstyle | クロスヘアのスタイル。ゲームは0〜9を受け付けます。 | 7 | 0〜9 | クライアント |
cl_crosshairdot | センタードットを描きます。 | false | クライアント | |
cl_crosshair_t | Tスタイルのクロスヘア。上のバーを隠します。 | false | クライアント | |
cl_crosshair_drawoutline | アウトライン。0はオフ、1はオン、2はゲームの2番目のアウトラインモードです。 | 1 | 0〜2 | クライアント |
cl_crosshair_length | クロスヘアの各線の長さ。 | 8 | 0〜255 | クライアント |
cl_crosshair_thickness | 線の太さ。 | 2 | 0〜32 | クライアント |
cl_crosshair_gap | 中心と線の間の空き。マイナスにすると、線が重なります。 | 4 | -3840〜3840 | クライアント |
cl_crosshaircolor_r | 赤のチャンネル、0〜255。 | 0 | 0〜255 | クライアント |
cl_crosshaircolor_g | 緑のチャンネル、0〜255。 | 255 | 0〜255 | クライアント |
cl_crosshaircolor_b | 青のチャンネル、0〜255。 | 0 | 0〜255 | クライアント |
cl_crosshaircolor_a | 不透明度、0〜255。 | 255 | 0〜255 | クライアント |
cl_crosshairoutline_r | アウトラインの赤、0〜255。 | 0 | 0〜255 | クライアント |
cl_crosshairoutline_g | アウトラインの緑、0〜255。 | 0 | 0〜255 | クライアント |
cl_crosshairoutline_b | アウトラインの青、0〜255。 | 0 | 0〜255 | クライアント |
cl_crosshairoutline_a | アウトラインの不透明度、0〜255。 | 255 | 0〜255 | クライアント |
cl_crosshair_recoil | クロスヘアをリコイルに追従させます。 | true | クライアント | |
cl_crosshair_sniper_width | スコープの十字線の幅。1は1ピクセルの細線です。 | 1 | クライアント | |
cl_crosshair_friendly_warning | 味方が射線上にいるとき、クロスヘアを変えます。 | 1 | 0〜1 | クライアント |
cl_crosshair_dynamic_splitdist | クロスヘアが広がるとき、線がどれだけ離れるか。 | 3 | 0〜127 | クライアント |
cl_crosshair_dynamic_spread_limit | ダイナミッククロスヘアが開く最大量の上限。 | 255 | 0〜255 | クライアント |
cl_grenadecrosshair_keepusercrosshair | グレネードを投げるクロスヘアが出ている間も、自分のクロスヘアを残します。 | true | クライアント | |
cl_show_observer_crosshair | 観戦中に、誰のクロスヘアが見えるか。 | 2 | クライアント |
ビューモデルとFOV
武器が画面のどこにあるか。範囲はゲームに組み込まれた上限です。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
viewmodel_fov | ビューモデルの視野角。 | 60 | 60〜68 | クライアント |
viewmodel_offset_x | 銃を左(マイナス)または右(プラス)に動かします。 | 1 | -2〜2.5 | クライアント |
viewmodel_offset_y | 銃をカメラに近づけたり、遠ざけたりします。 | 1 | -2〜2 | クライアント |
viewmodel_offset_z | 銃を下(マイナス)または上(プラス)に動かします。 | -1 | -2〜2 | クライアント |
viewmodel_presetpos | 内蔵の位置プリセットを適用します。1がデスクトップ、2がクラシックです。 | 1 | クライアント | |
cl_prefer_lefthanded | 武器を左手に持ちます。 | false | クライアント | |
fov_desired | 基本の視野角。 | 75 | 1〜135 | クライアント |
r_drawtracers_firstperson | 自分の弾道(トレーサー)を表示または非表示にします。 | true | クライアント |
HUDとレーダー
画面のレイアウトとミニマップ。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
cl_hud_color | 0 = team color, 1 = white, 2 = bright white, 3 = light blue, 4 = blue, 5 = purple, 6 = red, 7 = orange, 8 = yellow, 9 = green, 10 = aqua, 11 = pink, 12 = teammate color. | 0 | クライアント | |
hud_scaling | HUDの拡大率。 | 1 | 0.9〜1.1 | クライアント |
cl_hud_radar_scale | 画面上のレーダーの大きさ。 | 1 | 0.8〜1.3 | クライアント |
cl_radar_scale | レーダー内のマップのズーム。小さいほど、マップの広い範囲が映ります。 | 0.7 | 0.25〜1 | クライアント |
cl_radar_always_centered | If set to 0, the radar is maximally used. Otherwise the player is always centered, even at map extents. | true | クライアント | |
cl_radar_rotate | 視点に合わせてレーダーを回転させます。 | true | クライアント | |
cl_radar_icon_scale_min | Sets the minimum icon scale. Valid values are 0.4 to 1.25. | 0.6 | 0.4〜1.25 | クライアント |
cl_radar_square_with_scoreboard | スコアボードを開いている間、レーダーを四角にします。 | true | クライアント | |
cl_hud_radar_background_alpha | レーダーの背景の不透明度。 | 0.627 | 0〜1 | クライアント |
cl_hud_radar_blur_background | Blurs the radar background. | true | クライアント | |
cl_teamid_overhead_mode | Always show team id over teammates. 0 = off, 1 = pips; 2 = +name, 3 = +equipment | 3 | クライアント | |
cl_teammate_colors_show | In competitive, 1 = show teammates as separate colors in the radar, scoreboard, etc., 2 = show colors and letters | 1 | クライアント | |
cl_showloadout | Toggles display of current loadout. | true | クライアント | |
hud_showtargetid | Enables display of target names | true | クライアント | |
cl_show_clan_in_death_notice | Is set, the clan name will show next to player names in the death notices. | true | クライアント | |
cl_deathnotices_show_numbers | 0: default; 1: draw names as just numbers; 2: append number on killer and victim to the name | 0 | クライアント | |
cl_draw_only_deathnotices | クロスヘアとキルログ以外のHUDを隠します。動画撮影用です。 | false | クライアント | |
cl_drawhud | Enable the rendering of the hud | true | チート保護 | |
cl_autohelp | 自動のヘルパーヒントをオンにします。 | true | クライアント | |
gameinstructor_enable | Display in game lessons that teach new players. | false | クライアント | |
cl_disable_round_end_report | ラウンド終了のレポートを非表示にします。 | false | クライアント | |
cl_cursor_scale | メニューのマウスカーソルの拡大率。 | 1 | クライアント | |
cl_sanitize_player_names | Replace names of other players with something non-offensive. | false | クライアント | |
cl_hide_avatar_images | Hide avatar images for other players. 0 - Off. 1 - Block All 2 - Block all but friends | 0 | クライアント |
オーディオ
音量は0〜1です。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
volume | マスター音量。 | 1 | 0〜1 | クライアント |
snd_gamevolume | Game volume | 1 | 0〜1 | クライアント |
snd_gamevoicevolume | Game v.o. volume | 1 | 0〜1 | クライアント |
snd_voipvolume | ほかのプレイヤーのボイスチャットの音量。 | 1 | 0〜2 | クライアント |
snd_musicvolume | Music volume | 1 | 0〜1 | クライアント |
snd_menumusic_volume | Volume of Menu / Non-gameplay music | 0.04 | 0〜1 | クライアント |
snd_mvp_volume | Volume of MVP Music | 0.16 | 0〜1 | クライアント |
snd_roundstart_volume | Volume of Round Start Music | 0 | 0〜1 | クライアント |
snd_roundend_volume | Volume of Won/Lost Music | 0.16 | 0〜1 | クライアント |
snd_roundaction_volume | Volume of Move Action Music | 0 | 0〜1 | クライアント |
snd_tensecondwarning_volume | Volume of Ten Second Warnings | 0.04 | 0〜1 | クライアント |
snd_deathcamera_volume | Volume of Deathcam Timers | 0.16 | 0〜1 | クライアント |
snd_mapobjective_volume | Volume of Map Objective Music | 0.04 | 0〜1 | クライアント |
snd_headphone_eq | ヘッドホンのイコライザーのプリセットを選びます。 | 0 | クライアント | |
snd_mute_losefocus | ウィンドウが非アクティブのとき、ゲームをミュートします。 | true | クライアント | |
snd_mute_mvp_music_live_players | If set, MVP music is muted if players from both teams are still alive. | false | クライアント | |
snd_steamaudio_enable_perspective_correction | Enable perspective correction for 3D audio. | false | クライアント |
マウスと入力
感度と操作の挙動。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
sensitivity | Mouse sensitivity. | 1.25 | 0.0001〜8 | クライアント |
zoom_sensitivity_ratio | Additional mouse sensitivity scale factor applied when FOV is zoomed in. | 1 | 0.01〜3 | クライアント |
sensitivity_y_scale | Multiplies the mouse Y axis for finer pitch vs yaw aim | 1 | 0〜2 | クライアント |
m_yaw | Mouse yaw factor. | 0.022 | クライアント | |
m_pitch | Mouse pitch factor. | 0.022 | クライアント | |
mouse_inverty | マウスの上下の動きを反転します。 | false | クライアント | |
option_duck_method | しゃがみを、押している間ではなくトグル式にします。 | false | クライアント | |
option_speed_method | 静かに歩くを、押している間ではなくトグル式にします。 | false | クライアント | |
cl_debounce_zoom | Whether or not to disable holding secondary fire to cycle zoom levels | true | クライアント | |
cl_sniper_auto_rezoom | Auto-rezoom snipers after a shot | true | クライアント | |
cl_silencer_mode | 0: cannot detach; 1: press secondary fire to detach | 0 | クライアント | |
cl_use_opens_buy_menu | Pressing the +use key will open the buy menu if in a buy zone (just as if you pressed the 'buy' key). | false | クライアント | |
cl_weapon_stealth_reload_toggle | Should the silent reload act like a toggle | false | クライアント | |
cl_scoreboard_mouse_enable_binding | スコアボード上で、マウスカーソルを自由にするバインド。 | +attack2 | クライアント | |
input_button_code_is_scan_code_scd | Bind keys based on keyboard position instead of key name | true | クライアント | |
cl_allow_multi_input_binds | バインドに複数の入力動作を持たせられるようにします。チート保護されているため、sv_cheats 1のときだけ動作します。 | false | チート保護 |
ネットワーク、FPS、診断
フレームレート、ネットワーク表示、タイミング。古いnet_graphとcl_cmdrateの仲間はなくなりました。下の削除済みの一覧をご覧ください。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
fps_max | Frame rate limiter. 0=no limit. Does not apply to dedicated server. | 120 | クライアント | |
fps_max_ui | Frame rate limiter while the game UI is displayed. 0=no limit. Does not apply to dedicated server. | 0 | クライアント | |
engine_low_latency_sleep_after_client_tick | When r_low_latency is enabled, this moves the low latency sleep on tick frames to happen after client simulation. | false | クライアント | |
cl_showfps | Draw fps meter at top of screen (1 = fps, 2 = smooth fps, 3 = server MS, 4 = Show FPS and Log to file ) | 0 | クライアント | |
cl_showpos | 自分の位置と速度を表示します。現在のゲームではチート保護されています。 | 0 | チート保護 | |
cl_hud_telemetry_ping_show | Show ping in the HUD. 0=never, 1=only in poor conditions, 2=always | 1 | クライアント | |
cl_hud_telemetry_frametime_show | Show frame time (FPS) in the HUD. 0=never, 1=only if poor, 2=always | 1 | クライアント | |
cl_hud_telemetry_net_misdelivery_show | Show percentage of user commands & server snapshots that are missed due to network conditions. 0=never, 1=only in poor conditions, 2=always | 1 | クライアント | |
cl_hud_telemetry_net_quality_graph_show | Show packet jitter and netframe loss/reordering in the HUD. 0=never, 1=only in poor conditions, 2=always | 0 | クライアント | |
cl_hud_telemetry_serverrecvmargin_graph_show | Show graph of the server recv margin in the HUD. (How early/late user commands are arriving at the server before they are executed.) 0=never, 1=only when there are command queue problems, 2=always | 0 | クライアント | |
cl_ticktiming cl_ticktiming {print|<interval>} [summary|detail] | {print|<interval>} [summary|detail] Print timing stats now, or set report interval | クライアント | ||
net_status | ネットワークの状態を表示します。 | クライアント | ||
rate | Min bytes/sec the host can receive data | 80000 | クライアント | |
cl_net_buffer_ticks | Number of ticks of delay for server snapshots and user commands. This value controls the value of cl_interp_ratio, which you should not modify directly. | 0 | 0〜2 | クライアント |
cl_interp_ratio | Set number of client simulation interpolation ticks. | 2 | 0〜19 | クライアント |
cl_timeout | After this many seconds without receiving a packet from the server, the client will disconnect itself | 30 | クライアント | |
mm_dedicated_search_maxping | マッチメイキングがサーバーを探すとき、優先する最大のPing。 | 150 | 25〜350 | クライアント |
r_fullscreen_gamma | Screen Gamma (only in fullscreen modes) | 2.2 | 1〜4 | クライアント |
cl_ragdoll_limit | Maximum number of ragdolls to show (-1 disables limit) | 20 | クライアント |
ボイス、チャット、ピン
コミュニケーションの設定。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
voice_modenable | Enable/disable voice in this mod. | true | クライアント | |
voice_vox | Voice chat uses a vox-style always on | 0 | クライアント | |
voice_threshold | decibel threshold for how loud the talker's input signal is before we think they are talking. | -120 | クライアント | |
voice_loopback | 自分の声を自分に聞こえるようにします。 | false | クライアント | |
voice_toggle_open_mic | オープンマイクを切り替えます。 | クライアント | ||
voice_modenable_toggle | Toggle the voice_modenable convar. | クライアント | ||
+voicerecord | 押している間、話せます(プッシュトゥトーク)。 | クライアント | ||
cl_mute_enemy_team | Block all communication from players on the enemy team. | false | クライアント | |
cl_mute_all_but_friends_and_party | Only allow communication from friends and matchmaking party members. Set to 1 to apply the in non-competitive game modes. Set to 2 will apply the setting in all modes. | 0 | クライアント | |
cl_player_ping_mute | ピンの音を鳴らすかどうかを制御します。Valveの説明では、1で聞こえ、0で無音になり、名前から想像するのとは逆です。 | 0 | クライアント | |
player_ping | Creates a ping notification where the player is looking. | サーバー | ||
cl_radial_radio_tap_to_ping | When tapping the radial radio button, leave a ping if nothing is selected within the time in seconds set in cl_radial_menu_tap_duration | true | クライアント | |
say say "<text>" | 全員にメッセージを送ります。 | サーバー | ||
say_team say_team "<text>" | 自分のチームにメッセージを送ります。 | サーバー | ||
callvote callvote <issue> | Start a vote on an issue. | サーバー |
購入とインベントリ
購入バインドと武器の切り替え用のコマンド。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
buy buy <weapon> | 買える間に、名前でアイテムを購入します。たとえば buy ak47 です。; で複数をつなげられます。 | クライアント | ||
autobuy | Attempt to purchase items with the order listed in cl_autobuy | クライアント | ||
rebuy | Attempt to repurchase items with the order listed in cl_rebuy | クライアント | ||
cl_autobuy | オートバイが購入を試す順番。たとえば cl_autobuy "ak47 m4a1 vesthelm" です。 | クライアント | ||
cl_rebuy | The order in which rebuy will attempt to repurchase items | クライアント | ||
buymenu | Show or hide main buy menu | クライアント | ||
buyrandom | Buy random primary and secondary. Primarily for deathmatch where cost is not an issue. | サーバー | ||
use use <weapon_name> | 持っている武器やアイテムに切り替えます。たとえば use weapon_smokegrenade です。 | クライアント | ||
drop | 持っている武器を落とします。 | クライアント | ||
lastinv | 直前の武器に切り替えます。 | クライアント | ||
slot1 | スロット1(プライマリ)の武器を選びます。 | クライアント | ||
slot2 | スロット2(セカンダリ)の武器を選びます。 | クライアント | ||
slot3 | スロット3(ナイフ)を選びます。 | クライアント | ||
+lookatweapon | 押している間、武器を確認します。 | クライアント | ||
+cl_show_team_equipment | キーを押している間、味方の装備を表示します。 | クライアント |
練習と自分のサーバー
サーバー側のコマンドです。自分で立てたサーバー(オフラインのマップ、練習サーバー、ワークショップのマップ)でしか動きません。チート保護と表示されているものは、sv_cheats 1も必要です。Valveのマッチメイキングサーバーでは、どれも動きません。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
sv_cheats | Allow cheats on server | false | クライアント | |
mp_restartgame mp_restartgame <seconds> | If non-zero, game will restart in the specified number of seconds | 0 | サーバー | |
mp_warmup_end | End warmup immediately. | サーバー | ||
mp_warmup_pausetimer | Set to 1 to stay in warmup indefinitely. Set to 0 to resume the timer. | 0 | クライアント | |
mp_roundtime | How many minutes each round takes. | 5 | 0.1〜60 | サーバー |
mp_roundtime_defuse | How many minutes each round of Bomb Defuse takes. If 0 then use mp_roundtime instead. | 0 | 0〜60 | サーバー |
mp_freezetime | how many seconds to keep players frozen when the round starts | 6 | 0〜60 | サーバー |
mp_buytime | How many seconds after round start players can buy items for. | 90 | 0〜… | クライアント |
mp_buy_anywhere | When set, players can buy anywhere, not only in buyzones. 0 = default. 1 = both teams. 2 = Terrorists. 3 = Counter-Terrorists. | 0 | クライアント | |
mp_maxmoney | maximum amount of money allowed in a player's account | 16000 | 0〜… | クライアント |
mp_startmoney | amount of money each player gets when they reset | 800 | 0〜… | クライアント |
mp_c4timer | how long from when the C4 is armed until it blows | 40 | 10〜… | クライアント |
mp_ignore_round_win_conditions | Ignore conditions which would end the current round | false | サーバー | |
mp_round_restart_delay | Number of seconds to delay before restarting a round after a win | 7 | 0〜… | クライアント |
mp_respawn_on_death_ct | When set to 1, counter-terrorists will respawn after dying. | false | クライアント | |
mp_respawn_on_death_t | When set to 1, terrorists will respawn after dying. | false | クライアント | |
mp_free_armor | Determines whether kevlar (1+) and/or helmet (2+) are given automatically. | 0 | クライアント | |
mp_defuser_allocation | How to allocate defusers to CTs at start or round: 0=none, 1=random, 2=everyone | 0 | 0〜2 | クライアント |
mp_give_player_c4 | Whether this map should spawn a c4 bomb for a player or not. | true | クライアント | |
mp_autoteambalance | サイドの人数が均等になるよう、自動でプレイヤーをチーム間で移動させます。 | true | サーバー | |
mp_limitteams | Max # of players 1 team can have over another (0 disables check) | 2 | 0〜30 | サーバー |
mp_friendlyfire | Allows team members to injure other members of their team | false | クライアント | |
mp_solid_teammates | How solid are teammates: 0 = transparent; 1 = fully solid; 2 = can stand on top of heads | 1 | クライアント | |
mp_pause_match | Pause the match in the next freeze time | サーバー | ||
mp_unpause_match | Resume the match | サーバー | ||
mp_teamname_1 | A non-empty string overrides the first team's name. | サーバー | ||
mp_teamname_2 | A non-empty string overrides the second team's name. | サーバー | ||
ammo_grenade_limit_total | 1人のプレイヤーが持てるグレネードの合計の上限。 | 3 | クライアント | |
sv_infinite_ammo | Player's active weapon will never run out of ammo | 0 | チート保護 | |
sv_grenade_trajectory_prac_pipreview | Shows grenade trajectory practice picture-in-picture preview. | false | クライアント | |
sv_grenade_trajectory_prac_trailtime | Shows grenade trajectory practice visualization for this number of seconds. | 0 | 0〜8 | クライアント |
sv_rethrow_last_grenade | Emit the last grenade thrown on the server. | チート保護 | ||
sv_showimpacts | Shows client (red) and server (blue) bullet impact point (1=both, 2=client-only, 3=server-only) | 0 | クライアント | |
sv_showimpacts_time | Duration bullet impact indicators remain before disappearing | 4 | 0〜10 | クライアント |
weapon_accuracy_nospread | Disable weapon inaccuracy spread | false | クライアント | |
sv_gravity | World gravity. | 800 | クライアント | |
sv_airaccelerate | 空中でどれだけ操作できるか。上げると、エアストレイフがしやすくなります。 | 12 | クライアント | |
host_timescale | Prescale the clock by this amount. | 1 | チート保護 | |
god | Toggle by default, or 0 to disable and 1 to enable. Player becomes invulnerable. | チート保護 | ||
noclip | Toggle. Player becomes non-solid and flies. Optional argument of 0 or 1 to force enable/disable | チート保護 | ||
give give <item> | Give item to player. Arguments: <item_name> | サーバー | ||
kick kick <name> | Kick a player by name. | クライアント | ||
kickid kickid <userid> | Kick a player by userid or uniqueid, with a message. | クライアント |
ボット
自分で立てたサーバーのボット。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
bot_add | bot_add <t|ct> <type> <difficulty> <name> - Adds a bot matching the given criteria. | サーバー | ||
bot_add_t | bot_add_t <type> <difficulty> <name> - Adds a terrorist bot matching the given criteria. | サーバー | ||
bot_add_ct | bot_add_ct <type> <difficulty> <name> - Adds a Counter-Terrorist bot matching the given criteria. | サーバー | ||
bot_kick | bot_kick <all> <t|ct> <type> <difficulty> <name> - Kicks a specific bot, or all bots, matching the given criteria. | サーバー | ||
bot_difficulty | Defines the skill of bots joining the game. Values are: 0=easy, 1=normal, 2=hard, 3=expert. | 1 | サーバー | |
bot_stop | bot_stop <1|all> | <not_bomber> | <t> | <ct> | 0 | チート保護 | |
bot_freeze | ボットがその場で止まります。 | false | チート保護 | |
bot_zombie | If nonzero, bots will stay in idle mode and not attack. | false | チート保護 | |
bot_crouch | ボットがしゃがみます。 | false | チート保護 | |
bot_dont_shoot | If nonzero, bots will not fire weapons (for debugging). | false | チート保護 | |
bot_knives_only | Restricts the bots to only using knives | サーバー | ||
bot_pistols_only | Restricts the bots to only using pistols | サーバー | ||
bot_place | bot_place - Places a bot from the map at where the local player is pointing. | チート保護 |
デモと観戦
リプレイの録画と視聴。
| コマンド | 役割 | 初期値 | 範囲 | 動作場所 |
|---|---|---|---|---|
record record <name> | Record a demo. | チート保護 | ||
stop | Finish recording demo. | クライアント | ||
playdemo playdemo <name> | Play a recorded demo file (.dem ). | クライアント | ||
demoui | Show/hide demo playback ui | クライアント | ||
demo_pause | Pauses demo playback. | クライアント | ||
demo_resume | Resumes demo playback. | クライアント | ||
demo_togglepause | Toggles demo playback. | クライアント | ||
demo_timescale demo_timescale <speed> | Sets demo replay speed. | クライアント | ||
demo_gototick demo_gototick <tick> | Skips to a tick in demo. | クライアント | ||
demo_goto | Skips to location in demo. | クライアント | ||
demo_info | Print information about currently playing demo. | クライアント | ||
demolist | Print demo sequence list. | クライアント | ||
demo_highlight_seconds_before | How many seconds before the actual highlight event to show when viewing highlights. | 6 | クライアント | |
spec_mode | Set spectator mode | クライアント | ||
spec_next | Spectate next player | クライアント | ||
spec_prev | Spectate previous player | クライアント | ||
spec_player | Spectate a player by name or slot | クライアント | ||
spec_goto | Move the spectator camera to a specific location. `spec_goto x y z pitch yaw` | クライアント | ||
cl_obs_interp_enable | Enables interpolation between observer targets | true | クライアント |
もう存在しない古いコマンド
CS:GOのガイドに出てきますが、CS2のコマンド一覧にはないため、不明なコマンドのエラーが出ます。2026年10月28日時点のゲームファイルで確認しています。
| 旧コマンド | もとの機能 | 代わりに使うもの |
|---|---|---|
| net_graph | 画面上のネットワーク・FPSグラフ | cl_showfps と cl_hud_telemetry_* cvar |
| cq_netgraph | net_graph の代わりとしてよく出回っているもの | CS2のコマンドではありません。cl_showfps と cl_hud_telemetry_* を使います |
| cl_cmdrate | クライアントのコマンドレート | 設定不要です。更新レートはゲームが自動で管理します |
| cl_updaterate | サーバーの更新レート | 設定不要です。更新レートはゲームが自動で管理します |
| cl_righthand | 左手・右手の切り替え | cl_prefer_lefthanded |
| cl_bobamt_lat | ビューモデルの左右の揺れ | なし。bob系のcvarは削除されました |
| cl_bobamt_vert | ビューモデルの上下の揺れ | なし。bob系のcvarは削除されました |
| cl_bob_lower_amt | 武器を下げたときの揺れ | なし。bob系のcvarは削除されました |
| cl_bobcycle | 揺れの周期 | なし。bob系のcvarは削除されました |
| cl_usenewbob | ビューモデルの揺れ方の切り替え | なし。bob系のcvarは削除されました |
| viewmodel_recoil | ビューモデルのリコイル量 | なし。このcvarは削除されました |
| m_rawinput | マウスのローインプット | コンソールで設定するものはありません |
| cl_lagcompensation | ラグ補正の切り替え | なし。クライアント側からはオフにできません |
| cl_predict | クライアント予測の切り替え | なし。クライアント側からはオフにできません |
| voice_scale | ボイスの音量 | snd_voipvolume |
| voice_enable | ボイスのオン・オフ | voice_modenable |
| cl_crosshaircolor | クロスヘアのプリセット色(0〜5) | cl_crosshaircolor_r、_g、_b、_a |
| cl_grenadepreview | グレネードの軌道プレビュー | 練習サーバーで sv_grenade_trajectory_prac_pipreview |
確認方法
上のコマンドと変数は、ゲームが自分で処理する一部(buy、use、drop、+jump、+duck、+attack、+voicerecord)を除いて、2026年10月28日時点の、CS2自身のコマンド・変数の表を自動で取り出したダンプで照合しました。初期値、範囲、チートとサーバーのフラグは、そのダンプからそのまま取っています。ゲーム自身の説明がなかったり、わかりにくかったりする場合は、こちらで説明を書きました。ダンプにないコマンドは、この一覧にもありません。
「動作場所」の列は、ゲームのフラグを読み取っています。チート保護はsv_cheats 1が必要、サーバーは自分が管理するサーバーで動作、クライアントは自分のゲームで動作します。
コンソールを開いてコマンドを実行する方法
設定、ゲームで「開発者コンソールを有効にする」をオンにし、コンソールキー(チルダ、~)を押します。コマンドを入力してEnterを押します。変数(cvar)は、名前のあとに値を入力するので、fps_max 0でフレーム上限を設定できます。コマンドは、disconnectのように、実行すると何かをします。設定を触らずに、起動時にコンソールを開くには、CS2起動オプションに-consoleを加えます。
コンソールで入力したものは、ゲームが保存しない限り、次回は消えます。多くの変数は保存対象として印がついていて、自動で引き継がれます。それ以外は、行をautoexec.cfgに残しましょう。当サイトのCS2 autoexecジェネレーターで作れます。また、CS2バインドジェネレーターで、キーにコマンドを割り当てることもできます。
「動作場所」の列の意味
一覧には238個の項目があります。「動作場所」の列は、ゲーム自身が各項目に設定しているフラグを読み取っています。クライアントは198個で、自分のゲームで動作します。サーバーは25個で、mp_、bot_、sv_系など、自分が管理するサーバーでしか効きません。チート保護は15個で、sv_cheats 1が必要なので、オフラインか自分のサーバーでしか動きません。Valveのマッチメイキングサーバーでは、サーバーとチート保護のコマンドは、エラーが出るだけで、何も起こりません。
だから、範囲の列が大切です。変数に範囲があるとき、ゲームは範囲外の値を丸めます。ビューモデルのオフセットがいい例で、当サイトのCS2ビューモデルジェネレーターは、同じ上限でスライダーが止まります。クロスヘアのタブには、クロスヘアの裏にある変数が並んでいて、CS2クロスヘアジェネレーターは、ライブプレビューつきでそれを書き出します。
エイムについては、感度の変数が「マウスと入力」のタブにあり、範囲は0.0001〜8です。DPIをかけるとeDPIになり、ほかのゲームの感度は感度変換ツールで移せます。
よくある質問
CS2でコンソールを開くには?
設定、ゲームを開き、「開発者コンソールを有効にする」を「はい」にします。そのあと、コンソールキー(初期状態ではチルダキー(~))を押します。起動オプションに-consoleを加えれば、起動と同時に開くこともできます。
コマンドとcvarの違いは?
コマンドは、実行すると何かをします。quitやdisconnectなどです。cvar(コンソール変数)は、sensitivityやfps_maxのような設定を保持し、名前に続けて値を入力して変更します。
チート保護とはどういう意味ですか?
チート保護と表示されたコマンドは、サーバーでsv_cheats 1になっているとき、つまり自分のサーバーかオフラインのマップでしか動きません。マッチメイキングやほとんどのコミュニティサーバーでは、エラーが出るだけで、何も起こりません。
自分のサーバーでしか動かないコマンドは?
「サーバー」と表示されているものです。mp_、bot_、sv_のコマンドが該当し、mp_roundtimeやbot_addなどがあります。マッチの進み方を変えるものなので、自分が管理するサーバーしか受け付けません。Valveのマッチメイキングサーバーでは、何も起こりません。
設定を永続させるには?
game/csgo/cfgフォルダのautoexec.cfgに書き込み、起動オプションに +exec autoexec を追加します。当サイトのautoexecジェネレーターで、そのファイルを作れます。
net_graphやcl_cmdrateが一覧にないのはなぜ?
CS2のコマンド一覧にないからです。FPS、Ping、パケットロスには、cl_showfpsとcl_hud_telemetryコマンドを使います。下の削除済みの表に、使えなくなった古いコマンドを載せています。
コンソールコマンドを使うとBANされますか?
ここに載っているコンソールコマンドでは、BANされません。ゲームの一部だからです。チート保護されたコマンドは、チートが無効なサーバーでは使えません。