Env blood

From Valve Developer Community
Revision as of 13:09, 15 December 2008 by Craziestdan (talk | contribs) (→‎Availability: Removed dead links)
Jump to navigation Jump to search

Template:Wrongtitle Template:Base point

Entity Description

An entity used to spawn blood effects.

Availability

Template:In game Template:Game-base In code it is represented by class CBlood, defined in effects.cpp.

Keys

<angle> The general direction that the blood should spray and the direction to trace to apply the decal.
  • color
<choices> Blood color:
Literal value Description
0 Red (Human)
1 Yellow (Alien)
  • amount
<float> Amount of blood (damage to simulate)

Flags

  • 1 : Random Direction
  • 2 : Blood Stream
  • 4 : On Player
  • 8 : Spray decals

Inputs

Triggers the blood effect.

Outputs