Env blood: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(→‎Availability: Removed dead links)
Line 7: Line 7:
==Availability==
==Availability==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
{{in code|class=class_c_blood.html CBlood|file=effects_8cpp-source.html effects.cpp}}
In code it is represented by class CBlood, defined in effects.cpp.


==Keys==
==Keys==

Revision as of 13:09, 15 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