Sv cheats: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=sv_cheats}}
{{DISPLAYTITLE:sv_cheats}}
[[Category:Glossary]] [[Category:Console Variables]]
 
This [[boolean]] [[ConVar]] enables/disables cheats on the server.
 
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|}}<code>sv_cheats <boolean></code>
 
==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 <code><</code> and <code>></code> characters.)
 
* [[god]] - "God Mode": Player becomes invincible. Type again to turn off.
* [[impulse]] 101 - Equip the player with a full loadout of equipment.
* [[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.
{{DISPLAYTITLE:sv_cheats}}
[[Category:Glossary]] [[Category:Console Variables]]
[[Category:Glossary]] [[Category:Console Variables]]



Revision as of 01:02, 30 November 2011


This boolean ConVar enables/disables cheats on the server.

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>

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.
  • 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.

This boolean ConVar enables/disables cheats on the server.

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>

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.
  • 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.