This article's documentation is for the "GoldSrc" engine. Click here for more information.

env_blood

From Valve Developer Community
Jump to: navigation, search

env_blood is a point entity available in all GoldSrc GoldSrc games. It is used to spawn blood effects.

Key Values


Targetname:
Name (targetname) <targetname>
The targetname that other entities refer to this entity by.

Angles:
Pitch Yaw Roll (Y Z X) (angles) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Blood Color (color) <choices>
Color of the spraying blood.
  • 0: Red (Human)
  • 1: Yellow (Alien)
Amount of blood (damage to simulate) (amount) <string>
Intensity of the blood spray.

Flags

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