Difference between revisions of "Health"

From Valve Developer Community
Jump to: navigation, search
(Created page with ''''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 …')
 
(added a bug i recently discovered in Gmod)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''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.
+
{{Abstract Mapping}}
 +
__NOTOC__
  
Some games, such as Portal, use an alternative "regenerating health" scheme, where the player's health is not displayed onscreen, and quickly regenerates when the player is not taking damage.
+
'''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|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:
 
Following is a list of health-related articles:
 +
 +
==Health level design==
 +
* [[TF2/Resupply Areas|Resupply areas in Team Fortress 2]]
  
 
==Health entities==
 
==Health entities==
===[[Half-Life 2]] series===
+
=== [[Half-Life 2]], [[Episode One]] and [[Episode Two]] ===
*[func_healthcharger]] - [[brush entity]]-based health charging station
+
* [[func_recharge]]
*[[item_healthcharger]] - a prop-based health charging station
+
* [[func_healthcharger]]
*[[item_healthkit]] - a power-up to restore health
+
* [[item_battery]]
*[[item_healthvial]] - a power-up to restore health
+
* [[item_healthcharger]]
===[[Team Fortress 2]]===
+
* [[item_healthkit]]
*[[item_healthkit_full]] - a power-up to restore health
+
* [[item_healthvial]]
*[[item_healthkit_medium]]
+
* [[item_item_crate]]
*[[item_healthkit_small]]
+
* [[item_suitcharger]]
*[[obj_dispenser]] - health and ammo dispenser
+
* [[npc_antlion_grub]]
===Other===
+
 
*[[asw_pickup_medkit]] - spawn a personal healthkit in [[Alien Swarm]]
+
=== [[Team Fortress 2]] ===
*[[prop_health_cabinet]] - cabinet in [[Left 4 Dead]] containing medkits/pain pills.
+
* [[func_regenerate]]
 +
* [[item_healthkit_full]]
 +
* [[item_healthkit_medium]]
 +
* [[item_healthkit_small]]
 +
* [[obj_dispenser]]
  
==Health coding==
+
=== [[Left 4 Dead]] ===
 +
* [[prop_health_cabinet]]
 +
* [[weapon_first_aid_kit_spawn]]
 +
* [[weapon_defibrillator_spawn]]
 +
* [[weapon_pain_pills_spawn]]
 +
* [[weapon_adrenaline_spawn]]
 +
 
 +
=== [[Counter-Strike: Global Offensive]] ===
 +
* [[weapon_healthshot]]
 +
 
 +
=== [[Alien Swarm]] ===
 +
* [[asw_pickup_medkit]]
 +
 
 +
=== [[Sin Episodes]] ===
 +
* [[item_antigen_dispenser]]
 +
* [[item_healthvial]]
 +
* [[item_megahealth]]
 +
* [[prop_antigen_canister]]
 +
* [[prop_antigen_explosive_barrel]]
 +
 
 +
=== [[The Ship]] ===
 +
* [[ship_item_spawner]]
 +
 
 +
=== [[Dark Messiah]] ===
 +
* [[item_food_banana_regime]]
 +
* [[item_food_banana01]]
 +
* [[item_food_banana02]]
 +
* [[item_food_banana03]]
 +
* [[item_food_banana04]]
 +
* [[item_food_bread01_cooked]]
 +
* [[item_food_bread01_row]]
 +
* [[item_food_chicken_roasted]]
 +
* [[item_food_fish_hanged]]
 +
* [[item_food_fibs_cooked]]
 +
* [[item_food_fibs_row]]
 +
* [[item_food_fish01]]
 +
* [[item_food_fish02]]
 +
* [[item_food_fish03]]
 +
* [[item_food_food_ratio02]]
 +
* [[item_food_garlic]]
 +
* [[item_food_ham]]
 +
* [[item_food_leek01]]
 +
* [[item_food_magic_toad]]
 +
* [[item_food_mushroom]]
 +
* [[item_food_mushroom_verymedium]]
 +
* [[item_food_pie]]
 +
* [[item_food_red_apple]]
 +
* [[item_potion_full_life]]
 +
* [[item_potion_life]]
 +
* [[weapon_arxringregeneration]]
 +
* [[weapon_arxringsecondchance]]
 +
* [[weapon_mm_helmet_health]]
 +
 
 +
=== [[Vampire The Masquerade - Bloodlines]] ===
 +
* [[item_g_bloodpack]]
 +
* [[item_g_bluebloodpack]]
 +
* [[item_g_eldervitaepack]]
 +
* [[item_p_occult_heal_rate]]
 +
* [[item_p_occult_regen]]
 +
 
 +
=== [[Half-Life]], [[Half-Life: Opposing Force]] and [[Half-Life: Blue Shift]] ===
 +
* [[func_healthcharge]]
 +
* [[func_recharge]]
 +
* [[item_battery]]
 +
* [[item_healthkit]]
 +
 
 +
=== [[Team Fortress Classic]] ===
 +
* [[func_healthcharge]]
 +
* [[item_healthkit]]
 +
 
 +
== Health coding ==
 
*[[Adding class based health differences]]
 
*[[Adding class based health differences]]
 
*[[Regenerating Health]]
 
*[[Regenerating Health]]
 
*[[VGUI Health bar]]
 
*[[VGUI Health bar]]
 +
 +
[[Category:Hubs]]

Latest revision as of 17:25, 17 June 2019

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: 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