Profilerr
设置

CS2控制台指令

所有控制台指令

sv_cheats 1
client
🔥

On sv_cheats 1

Off sv_cheats 0

impulse 101
client

Cash/Money.

_autosave
default

Autosave

_autosavedangerous
default

AutoSaveDangerous

_bugreporter_restart
default

Restarts bug reporter .dll

_record
default

Record a demo incrementally.

_resetgamestats
server

Erases current game stats and writes out a blank stats file

_restart
default

Shutdown and restart the engine.

achievement_debug
client

Default: 0
Turn on achievement debug msgs. Requires sv_cheats 1

achievement_disable
client

Default: 0
Turn off achievements. Requires sv_cheats 1

addip
default

Add an IP address to the ban list.

adsp_debug
default

Default: 0

adsp_reset_nodes
default
Agency
server

cs_agency

ai_clear_bad_links
server

Clears bits set on nav links indicating link is unusable

ai_debug_los
server

Default: 0
NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid. Requires sv_cheats 1

ai_debug_node_connect
server

Debug the attempted connection between two nodes

ai_debug_shoot_positions
client

Default: 0
Requires sv_cheats 1

ai_disable
server

Command for the "sv_cheats 1" mode. Bots will only perform idle actions.

ai_drawbattlelines
server

Default: 0
Requires sv_cheats 1

ai_drop_hint
server

Drop an ai_hint at the player's current eye position.
Requires sv_cheats 1

ai_dump_hints
server
ai_hull
server

Controls which connections are shown when ai_show_hull or ai_show_connect commands are used
Arguments: NPC name or classname, =NPC under crosshair Requires sv_cheats 1

ai_next_hull
server

Cycles through the various hull sizes. Currently selected hull size is written to the screen. Controls which connections are shown when ai_show_hull or ai_show_connect commands are used
Arguments: -none- Requires sv_cheats 1

ai_nodes
server

Toggles node display. First call displays the nodes for the given network as green objects. Second call displays the nodes and their IDs. Nodes are color coded as follows:
Green - ground node Cyan - air node Magenta - climb node Grey - node not available for selected hull size Orange - node currently locked Requires sv_cheats 1

ai_report_task_timings_on_limit
server

Default: 0

ai_resume
server

If NPC is stepping through tasks (see ai_step ) will resume normal processing.
Requires sv_cheats 1

ai_set_move_height_epsilon
server

Set how high AI bumps up ground walkers when checking steps

ai_setenabled
server

Like ai_disable but you manually specify the state (with a 0 or 1) instead of toggling it.
Requires sv_cheats 1

ai_show_connect
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_connect_crawl
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_connect_fly
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_connect_jump
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_graph_connect
server

Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by the net graph will be drawn in red with magenta lines connecting to the selected node. Nodes that are not connected via the net graph from the selected node will be drawn in blue.
Requires sv_cheats 1

ai_show_grid
server

Draw a grid on the floor where looking.
Requires sv_cheats 1

ai_show_hints
server

Displays all hints as small boxes
Blue - hint is available for use Red - hint is currently being used by an NPC Orange - hint not being used by timed out Grey - hint has been disabled Requires sv_cheats 1

ai_show_hull
server

Displays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Arguments: -none- Requires sv_cheats 1

ai_show_node
server

Highlight the specified node
Requires sv_cheats 1
Modified in v1.34.6.6

ai_show_visibility
server

Toggles visibility display for the node that the player is looking at. Nodes that are visible from the selected node will be drawn in red with yellow lines connecting to the selected node. Nodes that are not visible from the selected node will be drawn in blue.
Requires sv_cheats 1

ai_step
server

NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' again. To resume processing normally use 'ai_resume'
Requires sv_cheats 1

指令清单

// 从清单添加指令

CS2为什么需要控制台指令?

CS2控制台指令允许玩家即时激活游戏的变更或设置。您只需打开控制台(点击“~”),输入您想要的指令,然后按下“Enter”键。整个过程所需的时间就和您读完这句话一样快。

尽管通过控制台,您可以使用3,057条CS2指令,但最重要的设置始终可以在游戏的主菜单中找到。包括视频、音频、游戏、键盘/鼠标、控制器等所有让游戏体验更顺畅舒适的基本设置都可以在不接触键盘的情况下进行调整。然而,使用控制台可以让您复制粘贴别人的整个设置清单,而无需逐一调整。

游戏存在着对训练至关重要的大量指令,如添加机器人及其控制、激活无限装甲,或手雷轨迹等。又或者,如果您厌倦了竞技模式,也可以利用指令与好友在游戏过程中找点乐子。

将所有CS2控制台指令都包含在基本显示菜单中会极大地浪费空间,而且界面也不美观,因此开发人员将这些配置选项都“隐藏”在控制台。高级玩家通常知道大概一百多条CS2指令,但这仅仅是冰山一角。为了方便找到想要启动的指令,我们添加了所有的指令并将其进行分组,这样您便可以通过选择类别快速找到所需的指令。

哪些指令不能在竞技模式中使用?

CS2控制台指令非常多,其中大部分指令都是关于游戏前设置。换句话说,它们都只需设置一次,很少需要变更,尤其是在比赛期间。

然而,也有相当多指令只能在训练时使用。只要在控制台输入“sv_cheats 1”,即可激活这些指令,为竞技模式打开方便之门。人物轻松飞越地图、上帝模式、无限武器、测试最近出生点、手雷轨道等指令都能在训练时发挥作用。

其他不可用于竞技模式的指令都与调整游戏的本地服务器有关。因此,在进行官方匹配时,您无法更改冻结时间、回合时间、队伍规模或资金数额。

不过,游戏默认菜单(如上图)中的所有CS2指令都可以随时使用。因此,您可以轻松变更十字准星细节、持枪视角、雷达方向、语音和HUD设置、绑定新消息等。

FAQ

要激活CS2控制台,请按照以下步骤操作:启动游戏 → 设置 → 游戏 → 开启开发者控制台 → 是。然后按“~”键进行激活。

基本上,您只需键入相反的指令即可取消。对于某些指令,这意味着添加相反值,通常“1”表示激活,“0”表示取消(例如,sv_cheats 1表示启用“作弊”指令,sv_cheats 0表示禁用)。而对于有些指令,您需要找到相反的指令(例如,bot_add/bot_kick)。

最常用的指令与调整游戏音量、鼠标灵敏度和绑定有关,一般每张地图可以变更多次。

控制台指令对技术本身几乎没有影响,但绝对可以让游戏过程更流畅和更舒适,从而让您轻松杀死更多敌人。