Sv cheats/zh

From Valve Developer Community
Jump to: navigation, search
Info content.png
This page needs to be translated.

本页面或包含不完全的翻译、不正确的翻译,或未有翻译。
如果本页面出于某些原因无法被翻译,或长时间地处于未翻译的状态,则应予删除。

另外,请确保文章在尽量遵守 多语言指导。

这个类型是布尔值ConVar用于在服务器上启用/禁用作弊.

它还使你可以执行通常会被玩家滥用或误用的命令. 在做地图时,你可能会将其作为启动命令.


语法: sv_cheats <boolean>

也可以看看

Below are some typical cheats which gamers may find useful. Developers may also find these useful for bug testings and specific testing on in-game worlds.

(Command parameters are described inside the < and > characters.)

  • god - "God Mode": Player becomes invincible. Type again to turn off.
  • impulse 101 - Equip the player with a full loadout of equipment.
  • impulse 203 - Remove an entity.
  • give <entity name> - Give the player the item, weapon, entity or asset stated.
  • noclip - Toggle the player collision with the environment and other objects. Allows the player to fly through walls, etc. Type again to turn off.
  • notarget - Toggle NPC detection of the player. The player will still activate trigger entities, etc. Type again to turn off.