Health

From Valve Developer Community
Jump to: navigation, search
Abstract Mapping series Discuss your thoughts - Help us develop the articles or ideas you want

Ammunition | List of HL2 Animals and Creatures | Mapping with Antlions | Beams and Lasers | Cables and Ropes | Moving Clouds | Color Theory in Level Design | Combat | Combine | Compression (Source 1) | Doors | Dust, Fog, & Smoke | Elevators | Level Transitions | Environmental Lighting, Sun, Weather, & Outdoors | Explosions | Fire | Half-Life 2 Foliage | Glass & Windows | Headcrab | Health | Ladders | Lighting | Optimization (level design) | Physics | Retinal scanners | Sound and Music | Special effects | Terrain | Trains | Turrets | Water | Weapons | Zombie


Health, or Health Points ("HP", occasionally "Hit Points"), 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.

Icon-Bug.pngBug:Sometimes when a player is in godmode in the Source engine, the player may reach 0 health but still be alive.  [todo tested in?]
Icon-Bug.pngBug:Player's or NPCs' health is not updated instantly when it's modified with addoutput "health [number]" input. Health will update only when player or NPC receives damage or gains health. If player's or NPC's health is depleted completely (set to 0 or lower) they will still be alive but will die in one hit from any weapon.  (tested in: Half-Life 2 Half-Life 2)

Some games, such as Portal 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 Team Fortress 2 sometimes assign different starting health values to different classes.

Following is a list of health-related articles:

Health Level Design

Health Coding

Source Source Health Entities

Half-Life 2 series Half-Life 2 series

Half-Life: Source Half-Life: Source & Half-Life Deathmatch: Source Half-Life Deathmatch: Source

Team Fortress 2 Team Fortress 2

Left 4 Dead series Left 4 Dead series

Counter-Strike: Global Offensive Counter-Strike: Global Offensive

Alien Swarm Alien Swarm

SiN Episodes SiN Episodes

The Ship: Murder Party The Ship: Murder Party

Dark Messiah of Might and Magic Dark Messiah of Might and Magic

Vampire: The Masquerade - Bloodlines Vampire: The Masquerade - Bloodlines

GoldSrc GoldSrc health entities

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

Team Fortress Classic Team Fortress Classic