Health: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added more health entities from different games to the list)
Line 1: Line 1:
{{Abstract Mapping}}
{{Abstract Mapping}}
<br>
__NOTOC__
'''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.
 
'''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.


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.
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.
Line 10: Line 11:


==Health level design==
==Health level design==
*[[TF2/Resupply Areas|Resupply areas in Team Fortress 2]]
* [[TF2/Resupply Areas|Resupply areas in Team Fortress 2]]


==Health entities==
==Health entities==
=== {{Game link|Half-Life 2}} series===
=== [[Half-Life 2]], [[Episode One]] and [[Episode Two]] ===
*[[func_healthcharger]] - [[brush entity|Brush]]-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]]
*[[item_item_crate]] - A crate which can be set to drop health (or other) items upon breaking.
* [[item_healthkit]]
* [[item_healthvial]]
* [[item_item_crate]]
* [[item_suitcharger]]
* [[npc_antlion_grub]]
 
=== [[Team Fortress 2]] ===
* [[func_regenerate]]
* [[item_healthkit_full]]
* [[item_healthkit_medium]]
* [[item_healthkit_small]]
* [[obj_dispenser]]
 
=== [[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]]


=== {{Game link|Team Fortress 2}}===
=== [[Half-Life]], [[Half-Life: Opposing Force]] and [[Half-Life: Blue Shift]] ===
*[[func_regenerate]] - Restores health and ammo in a resupply room.
* [[func_healthcharge]]
*[[item_healthkit_full]] - A power-up to restore health.
* [[func_recharge]]
*[[item_healthkit_medium]]
* [[item_battery]]
*[[item_healthkit_small]]
* [[item_healthkit]]
*[[obj_dispenser]] - Health and ammo dispenser.


===Other===
=== [[Team Fortress Classic]] ===
*[[asw_pickup_medkit]] - Spawn a personal healthkit in [[Alien Swarm]].
* [[func_healthcharge]]
*[[prop_health_cabinet]] - Cabinet in [[Left 4 Dead]] containing medkits/pain pills.
* [[item_healthkit]]


==Health coding==
== Health coding ==
*[[Adding class based health differences]]
*[[Adding class based health differences]]
*[[Regenerating Health]]
*[[Regenerating Health]]

Revision as of 04:45, 19 May 2019

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), 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.

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