God: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
In most {{source|4}} games (aswell as {{source2|4}}), simply type {{code|god}} in the console to enable it. If it worked, a message will print to the console saying "{{code|godmode ON}}". To disable it, type <code>god</code> again. It should say "{{code|godmode OFF}}" in the console.
In most {{source|4}} games (aswell as {{source2|4}}), simply type {{code|god}} in the console to enable it. If it worked, a message will print to the console saying "{{code|godmode ON}}". To disable it, type <code>god</code> again. It should say "{{code|godmode OFF}}" in the console.


In {{l4d2|4}}, players need to type {{code|god 1}} in order to enable it, and {{code|god 0}} to disable it.}}
In {{l4d2|4}}, players need to type {{code|god 1}} in order to enable it, and {{code|god 0}} to disable it.


{{bug|God mode will NOT work in multiplayer, even if {{code|sv_cheats}} is enabled.{{Note|How about {{l4d2|4}}?}}|since=}}
{{bug|God mode will NOT work in multiplayer, even if {{code|sv_cheats}} is enabled.{{Note|How about {{l4d2|4}}?}}|since=}}

Revision as of 07:08, 16 January 2024

English (en)Translate (Translate)

It prevents you from taking any damage. It requires sv_cheats 1 to work.

In most Source Source games (aswell as Source 2 Source 2), simply type god in the console to enable it. If it worked, a message will print to the console saying "godmode ON". To disable it, type god again. It should say "godmode OFF" in the console.

In Left 4 Dead 2 Left 4 Dead 2, players need to type god 1 in order to enable it, and god 0 to disable it.

Icon-Bug.pngBug:God mode will NOT work in multiplayer, even if sv_cheats is enabled.
Note.pngNote:How about Left 4 Dead 2 Left 4 Dead 2?
  [todo tested in ?]

See also

  • buddha, a similar command that allows the player to take damage until they're at 1 hp.