Zh/Sv cheats: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
(Created page with "{{otherlang2 | en = Sv-cheats | ru = Sv_cheats:ru }} {{DISPLAYTITLE:sv_cheats}} Category:Glossary Category:Console VariablesCategory:Dedicated Server 这个类...")
 
No edit summary
Line 1: Line 1:
{{otherlang2
{{otherlang2
| en = Sv-cheats
| en = Sv_cheats
| ru = Sv_cheats:ru
| ru = Sv_cheats:ru
}}
}}

Revision as of 00:24, 22 July 2021

Template:Otherlang2

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

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

Syntax: 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.