env_xen_healpool
env_xen_healpool
is a point entity available in Black Mesa. This is a pool with healing liquid from Xen. This entity heals player when the player touches it. This entity is currently unfinished (see Bugs/LimiLimitations), it's more preferable to use trigger_hurt with model and some logic (just like with larger pools at some levels).
Represented by class CPropXenHealPool
.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- World Model (model) <model path>
- Model to use.
- Healing Rate (healrate) <float>
- The healing rate, or how often this entity add 1 health to current player's health. High values makes healing faster. With 0 and lower it will not change amount of health at all.
Bugs/Limitations
Collision bugs
All interactions are based on bounding box of this entity. The problem is that it doesn't change size of bounding box depending on model size. It doesn't cause many issues if the model is smaller than the bounding box. It will cause many issues if model is bigger than the bounding box.
The issue is that model has no collision outside the bounding box. This bug results in the player getting stuck in the model when touching the box (the same for NPCs). Raycast bullets will also fly through the entity if the player is not looking at the box.
Even with proper model size, physics objects still completely ignore this entity.
Example with prop_physics.
HUD issues in team deathmatch
Team Deathmatch uses different HUD colors depending on which team the player is on. This entity will always change the HUD color to yellow when healing player.