Zh/Sv cheats: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
No edit summary
m (Properly apply lang, use chinese categories, and use {{ent}}.)
Line 1: Line 1:
{{lang|Sv_cheats}}
{{lang|Sv cheats|title=sv_cheats}}
 
{{translate:zh-cn}}
{{DISPLAYTITLE:sv_cheats}}
[[Category:Glossary:zh-cn]] [[Category:Console Variables:z-cn]] [[Category:Dedicated Server:zh-cn]]
[[Category:Glossary]] [[Category:Console Variables]][[Category:Dedicated Server]]


这个类型是[[boolean|布尔值]]的[[ConVar]]用于在服务器上启用/禁用作弊.
这个类型是[[boolean|布尔值]]的[[ConVar]]用于在服务器上启用/禁用作弊.
Line 8: Line 7:
它还使你可以执行通常会被玩家滥用或误用的命令. 在做地图时,你可能会将其作为启动命令.
它还使你可以执行通常会被玩家滥用或误用的命令. 在做地图时,你可能会将其作为启动命令.


{{Syntax:zh-cn|}}<code>sv_cheats <boolean></code>
{{Syntax:zh-cn|sv_cheats <boolean>}}


==也可以看看==
==也可以看看==
Line 16: Line 15:
(Command parameters are described inside the <code><</code> and <code>></code> characters.)
(Command parameters are described inside the <code><</code> and <code>></code> characters.)


* [[god]] - "God Mode": Player becomes invincible. Type again to turn off.
* {{ent|god}} - "God Mode": Player becomes invincible. Type again to turn off.
* [[impulse]] 101 - Equip the player with a full loadout of equipment.
* {{ent|impulse|101}} - Equip the player with a full loadout of equipment.
* [[impulse]] 203 - Remove an entity.
* {{ent|impulse|203}} - Remove an entity.
* [[give]] <entity name> - Give the player the item, weapon, entity or asset stated.
* {{ent|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.
* {{ent|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.
* {{ent|notarget}} - Toggle NPC detection of the player. The player will still activate [[trigger]] entities, etc. Type again to turn off.

Revision as of 16:34, 9 September 2021

English (en)Русский (ru)中文 (zh)Translate (Translate)
Info content.png
This page has not been fully translated.
You can help by finishing the translation.
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 complies with the alternate languages guide.(en)
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.


Template:Translate:zh-cn

这个类型是布尔值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.