Env blood: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(updates) |
||
Line 1: | Line 1: | ||
[[File:BloodCloud.jpg|thumb|260px|An env_blood with default settings emitting | {{lang|Env blood}} | ||
[[File:BloodCloud.jpg|thumb|260px|An <code>env_blood</code> with default settings emitting blood.]] | |||
{{base point|env_blood}} It is used to spawn blood effects. By default, the <code>env_blood</code> creates an animated splash of blood at its [[origin]] when triggered; however, the <code>env_blood</code> can be set up to spray blood decals onto nearby objects. This entity will only function through [[input]]s. | |||
Does not appear to work properly in [[Team Fortress 2]]. The blood texture is missing. | |||
{{code class|CBlood|effects.cpp}} | {{code class|CBlood|effects.cpp}} | ||
==Flags== | |||
*1: Random Direction | |||
== | *2: Blood Stream | ||
*4: On Player | |||
*8: Spray [[decals]] | |||
:* | *16: Cloud {{not in FGD}} - Emits a much larger cloud of blood. | ||
*32: Drops {{not in FGD}} - Splashes large blood drops. | |||
{{ | *64: Gore {{not in FGD}} - Emits an effect similar to ''Cloud'' but smaller. | ||
{{ | |||
{{ | |||
== | ==Keyvalues== | ||
{{KV|Spray Direction (Pitch Yaw Roll) (spraydir)|angle|The general direction that the blood should spray and the direction to trace to apply the decal.}} | |||
{{KV|Blood Color (color)|choices|Color of the spraying blood. | |||
* | :*0: Red (Human) | ||
* | :*1: Yellow (Alien)}} | ||
{{KV|Amount of blood (damage to simulate) (amount)|float|Intensity of the blood spray.}} | |||
{{KV BaseEntity|css=1}} | |||
== Inputs == | ==Inputs== | ||
{{IO|EmitBlood| | {{IO|EmitBlood|Emits the blood effect.}} | ||
{{I | {{I BaseEntity|prel4d=1}} | ||
== Outputs == | ==Outputs== | ||
{{O | {{O BaseEntity|l4d=1}} |
Revision as of 05:11, 23 September 2018
Template:Base point 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.
Does not appear to work properly in Team Fortress 2. The blood texture is missing.
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.
Keyvalues
- Spray Direction (Pitch Yaw Roll) (spraydir) ([todo internal name (i)]) <angle>
- The general direction that the blood should spray and the direction to trace to apply the decal.
- Blood Color (color) ([todo internal name (i)]) <choices>
- Color of the spraying blood.
- 0: Red (Human)
- 1: Yellow (Alien)
- Amount of blood (damage to simulate) (amount) ([todo internal name (i)]) <float>
- Intensity of the blood spray.
Inputs
- EmitBlood
- Emits the blood effect.