Sv cheats: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 11: Line 11:
{{Note|Enabling cheats in {{hdtf|4}} will give the player an achievement.}}
{{Note|Enabling cheats in {{hdtf|4}} will give the player an achievement.}}


{{Important|In older version of {{goldsrc|4}}, prior to an update, a map restart or [[changelevel]] is required in order to fully enable Cheats.}}
{{ModernImportant|In older version of {{goldsrc|4}}, prior to an update, a map restart or [[changelevel]] is required in order to fully enable Cheats.}}


==See Also==
==See Also==

Revision as of 23:51, 23 June 2023

English (en)Русский (ru)中文 (zh)Translate (Translate)

This boolean ConVar enables/disables cheats on the server. Enabling this will disable Steam Achievements in some games..

It also gives you access to commmands that would normally be abused or misused by players. When building maps, you may want this as a startup command.

Syntax: sv_cheats <boolean>

Note.pngNote:In The Stanley Parable The Stanley Parable (excluding the Demo), this command will instead, briefly turned on then turned off, then the game will send you to the Serious Room. This can be bypassed by replacing the bin\client.dll from the paid version with the demo one.
Note.pngNote:Enabling cheats in Hunt Down the Freeman Hunt Down the Freeman will give the player an achievement.
Icon-Important.pngImportant:In older version of GoldSrc GoldSrc, prior to an update, a map restart or changelevel is required in order to fully enable Cheats.

See Also

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, or gives player max money amount ($16000) in all Counter-Strike games.
  • 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.