这篇条目有关 Source引擎。如需详情,点击这里。

sv_cheats

From Valve Developer Community
< Zh
Jump to: navigation, search
English (en)Русский (ru)中文 (zh)Translate (Translate)

sv_cheats是一个控制台变量(en),可在所有的 起源 起源 游戏中使用。

Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article tries to comply with the alternate languages guide.

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

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


语法: 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(en) entities, etc. Type again to turn off.