env_blood
env_blood | |
---|---|
Type | Point entity |
Engine | Source |
Availability | In all games |
class hierarchy |
---|
CBlood defined in effects.cpp
|
env_blood
is a point entity available in all Source games. It is used to spawn blood effects. By default, the env_blood
creates an animated splash of blood at its origin when triggered; however, the env_blood
can be set up to spray blood decals onto nearby objects. This entity will only function through inputs.
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Spray Direction (Pitch Yaw Roll)
(spraydir)
<angle> - The general direction that the blood should spray and the direction to trace to apply the decal.
- Blood Color
(color)
<choices> - Color of the spraying blood.
- 0: Red (Human)
- 1: Yellow (Alien)
- Amount of blood (damage to simulate)
(amount)
<float> - Intensity of the blood spray.
Inputs
EmitBlood
- Emits the blood effect.
Flags
- [
1
] : Random Direction
- [
2
] : Blood Stream
- [
4
] : On Player
- [
8
] : Spray decals
- [
16
] : Cloud !FGD
Emits a much larger cloud of blood.
- [
32
] : Drops !FGD
Splashes large blood drops.
- [
64
] : Gore !FGD
Emits an effect similar to Cloud but smaller.