Health Charger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 19: Line 19:
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 up to a certain amount. When this amount is reached,
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:Level Design]]

Revision as of 13:30, 24 May 2012

The finished product ingame.

The Health Charger is a simple object in Half-Life that replenishes the player's health.

Creation

1. Create a block, 64 width, 96 height, and 8 thickness. 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. Place it in your level.


Theory

When the player uses this object, their health will be restored up to a certain amount. When this amount is reached, the texture changes to a dimmed version and the health charger can no longer be used.