This article's documentation is for anything that uses the Source engine. Click here for more information.

Buddha: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Buddha bug is not present in Source 2006/2007/2009 and Alien Swarm SDK.)
No edit summary
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{lang|Buddha}}
{{this is a|console command|name=buddha}} It ensures you never die by always forcing you to have at least 1 health point.
'''<code>buddha</code>''' is a console command that ensures you never die by always forcing you to have at least 1 health point.


To enable and disable, type <code>buddha</code> in the console. If it worked, it should say "Buddha Mode on/off..." in the console.
To enable and disable, type <code>buddha</code> in the console. If it worked, it should say "Buddha Mode on/off..." in the console.


{{bug|Since {{game name|src13|name=Source 2013}}, if the player has X HP and gets dealt any damage between (X-0.001) and (X-0.500), they will die. Health is stored as an integer, and damage as a float. The game rounds damage taken to the nearest integer prior and subtracts it from the player's health value, which can bypass the 1 health point barrier.}}
{{bug|If the player has X HP and gets dealt any damage between (X-0.001) and (X-0.500), they will die. Health is stored as an integer, and damage as a float. The game rounds damage taken to the nearest integer prior and subtracts it from the player's health value, which can bypass the 1 health point barrier.}}


==See Also==
{{note|1=In {{l4d2|4}} it's a cvar and the number it's set to represents amount of survivors that must remain standing (non-incapacitated). So for example with buddha 1, last survivor standing will get the buddha, buddha 2 = last 2 survivors standing will have buddha effect etc.}}
*{{ent|god}}, a console command that makes you take no damage at all.


[[Category:Console Commands]]
==See also==
* {{cmd|god}}, a console command that makes you take no damage at all.

Latest revision as of 11:02, 17 September 2024

buddha is a console command available in all Source Source games. It ensures you never die by always forcing you to have at least 1 health point.

To enable and disable, type buddha in the console. If it worked, it should say "Buddha Mode on/off..." in the console.

Icon-Bug.pngBug:If the player has X HP and gets dealt any damage between (X-0.001) and (X-0.500), they will die. Health is stored as an integer, and damage as a float. The game rounds damage taken to the nearest integer prior and subtracts it from the player's health value, which can bypass the 1 health point barrier.  [todo tested in ?]
Note.pngNote:In Left 4 Dead 2 Left 4 Dead 2 it's a cvar and the number it's set to represents amount of survivors that must remain standing (non-incapacitated). So for example with buddha 1, last survivor standing will get the buddha, buddha 2 = last 2 survivors standing will have buddha effect etc.

See also

  • god, a console command that makes you take no damage at all.