Difference between revisions of "Health"

From Valve Developer Community
Jump to: navigation, search
(added a bug i recently discovered in Gmod)
m (Health coding: Added a link to the "VGUI Image Progress Bar" page)
Line 106: Line 106:
*[[Regenerating Health]]
*[[Regenerating Health]]
*[[VGUI Health bar]]
*[[VGUI Health bar]]
*[[VGUI Image Progress Bar]]

Latest revision as of 03:27, 21 August 2021

Abstract Mapping series Discuss your thoughts - Help us develop the articles or ideas you want

Ammunition | Animals & Creatures | Antlions | Beams & Lasers | Cables & Ropes | Clouds & Sky | Color Theory | Combat | Combine | Doors | Dust, Fog & Smoke | Elevators | Level Transitions | Environmental Lighting & Weather | Explosions | Fire | Foliage | Glass | Headcrab | Health | Ladders | Lighting | Optimization | Physics | Retinal scanners | Sound & Music | Special effects | Terrain | Trains | Turrets | Water | Weapons | Zombie

Health, or Health Points (HP), represents a character's physical status in a video game. Most Source engine games use a traditional health points system, where a character is spawned with a certain number of health points which are displayed in the HUD. Taking damage will subtract from the character's health, and the character will die when HP reaches 0. Most games offer powerups and items to restore health.

Bug.png Bug: Sometimes when a player is in godmode in the Source engine, the player may reach 0 health but still be alive.

Some games, such as Portal, use an alternative "regenerating health" scheme, where the player's health quickly regenerates when the player is not taking damage. The health may also not be displayed onscreen.

While in many multiplayer games all characters start with the same amount of health, class-based games such as Team Fortress 2 sometimes assign different starting health values to different classes.

Following is a list of health-related articles:

Health level design

Health entities

Half-Life 2, Episode One and Episode Two

Team Fortress 2

Left 4 Dead

Counter-Strike: Global Offensive

Alien Swarm

Sin Episodes

The Ship

Dark Messiah

Vampire The Masquerade - Bloodlines

Half-Life, Half-Life: Opposing Force and Half-Life: Blue Shift

Team Fortress Classic

Health coding