Env blood: Difference between revisions
Jump to navigation
Jump to search
(raw; needs cleanup) |
(cleaned up) |
||
Line 1: | Line 1: | ||
{{ | {{wrongtitle|title=env_blood}} | ||
==Entity Description== | |||
An entity used to spawn blood effects. | An entity used to spawn blood effects. | ||
==Availability== | |||
{{in game|point}} {{game-base}} | |||
{{in code|class=CBlood|file=effects.cpp}} | |||
==Keys== | |||
*{{kv targetname}} | |||
*{{kv parentname}} | |||
*'''spraydir''' | |||
:<[[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''' | |||
:<string> Amount of blood (damage to simulate) | |||
==Flags== | |||
*1 : Random Direction | |||
*2 : Blood Stream | |||
*4 : On Player | |||
*8 : Spray decals | |||
==Inputs== | |||
*{{i targetname}} | |||
*{{i parentname}} | |||
*'''EmitBlood''' | |||
:Triggers the blood effect. | |||
==Outputs== | |||
*{{o targetname}} | |||
[[Category:Entities]] | |||
Revision as of 14:18, 7 October 2005
Entity Description
An entity used to spawn blood effects.
Availability
Template:In game Template:Game-base Template:In code
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
- <string> Amount of blood (damage to simulate)
Flags
- 1 : Random Direction
- 2 : Blood Stream
- 4 : On Player
- 8 : Spray decals
Inputs
- Template:I targetname
- Template:I parentname
- EmitBlood
- Triggers the blood effect.