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 (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Not sure why I added the "Since Source 2013" thing back then, this bug exists in Source 2006.)
Line 3: Line 3:
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 {{src13|4.1}}, 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==
==See also==
*{{ent|god}}, a console command that makes you take no damage at all.
*{{ent|god}}, a console command that makes you take no damage at all.

Revision as of 10:26, 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 ?]

See also

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