Health Charger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Replaced deprecated {{Game name}} template with {{Software}} counterpart. Action performed by bot)
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Image:Health_charger_ingame.jpg|thumb|right|400px|The finished product ingame.]]
[[File:Health_charger_ingame.jpg|thumb|right|400px|The finished product ingame.]]
The Health Charger is a simple object in Half-Life that replenishes the player's health.
 
{{HL1}} {{HL1:OP4}} {{HL1:BS}}
 
A '''Health Charger''' is a simple wall mounted health replenisher found throughout {{Half-Life|4}} and its expansions {{Hl1:op4|4}} and {{Half-Life: Blue Shift|4}}. The charger itself is a simple textured brush entity. If you are using the ''Half-Life SDK'' version of GoldSrc, available on Steam, then you can quickly access a pre-built Health and [[Suit Charger]] in your prefabs list, under the prefab library ''Usable Objects''.


== Creation ==
== Creation ==
Personal creation of a health charger is quick and simple.


1. Create a block, 64 width, 96 height, and 8 thickness. Texture it with MEDKITEDGE1.
1. First, create a block, 32 width, 48 height, and 8 units in length. Texture it with medkitedge1.


2. Select the two side faces, set the rotation to 90, and center them.
2. Select the two side faces, set the rotation to 90, and center them.


3. On the front face, apply the texture +0MEDKIT.
3. On the front face, apply the texture +0medkit.


4. Tie it to a func_healthcharger.
4. Tie it to a func_healthcharger.


5. Place it in your level.
5. Finally, place it anywhere in your level. Health chargers are found attached to walls, being located approximately 32 units above the ground.
 
* The exact dimensions given are not mandatory, they are simply the default preferences used by Valve when making health chargers in official Half-life maps.




== Theory ==
== Theory ==


When the player uses this object, their health will be restored up to a certain amount. When this amount is reached,
When the player uses this object, their health will be restored by  of 50% on easy difficulty, 40% on medium difficulty, and 25% on hard. When the charger is empty,
the texture changes to a dimmed version and the health charger can no longer be used.
the texture changes to a dimmed version and the health charger can no longer be used.
[[Category:Half-Life]]
[[Category:Half-Life Level Design]]
[[Category:Level Design]]

Latest revision as of 07:20, 31 May 2024

The finished product ingame.

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

A Health Charger is a simple wall mounted health replenisher found throughout Half-Life Half-Life and its expansions Half-Life: Opposing Force Half-Life: Opposing Force and Half-Life: Blue Shift Half-Life: Blue Shift. The charger itself is a simple textured brush entity. If you are using the Half-Life SDK version of GoldSrc, available on Steam, then you can quickly access a pre-built Health and Suit Charger in your prefabs list, under the prefab library Usable Objects.

Creation

Personal creation of a health charger is quick and simple.

1. First, create a block, 32 width, 48 height, and 8 units in length. Texture it with medkitedge1.

2. Select the two side faces, set the rotation to 90, and center them.

3. On the front face, apply the texture +0medkit.

4. Tie it to a func_healthcharger.

5. Finally, place it anywhere in your level. Health chargers are found attached to walls, being located approximately 32 units above the ground.

  • The exact dimensions given are not mandatory, they are simply the default preferences used by Valve when making health chargers in official Half-life maps.


Theory

When the player uses this object, their health will be restored by of 50% on easy difficulty, 40% on medium difficulty, and 25% on hard. When the charger is empty, the texture changes to a dimmed version and the health charger can no longer be used.