Env blood: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (nocnanos)
m (Reverted edit of last, changed back to last version by cur)
Line 1: Line 1:
getricl
{{wrongtitle|title=env_blood}}
{{wrongtitle|title=env_blood}}
{{base_point}}
{{base_point}}

Revision as of 09:12, 19 December 2008

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