CTEBloodStream: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
...
A blood particle entity, the texture of which seems to be missing as it uses the missing texture purple and black.


<pre>
<pre>
Line 7: Line 7:
tempents.Send("Blood Stream", {m_vecOrigin=origin,
tempents.Send("Blood Stream", {m_vecOrigin=origin,
                               r=255,
                               r=255,
                               g=255,
                               g=0,
                               b=0,
                               b=0,
                               a=255,
                               a=255,
Line 30: Line 30:
| style="width: 50%;" |'''m_vecDirection'''
| style="width: 50%;" |'''m_vecDirection'''
| style="width: 15%;" |Vector
| style="width: 15%;" |Vector
| style="width: 35%;" |
| style="width: 35%;" |The direction this particle will emit towards
|-
|-
| style="width: 50%;" |'''r'''
| style="width: 50%;" |'''r'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |The red color value
|-
|-
| style="width: 50%;" |'''g'''
| style="width: 50%;" |'''g'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |The green color value
|-
|-
| style="width: 50%;" |'''b'''
| style="width: 50%;" |'''b'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |The blue color value
|-
|-
| style="width: 50%;" |'''a'''
| style="width: 50%;" |'''a'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |The alpha value (transparency)
|-
|-
| style="width: 50%;" |'''m_nAmount'''
| style="width: 50%;" |'''m_nAmount'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
| style="width: 35%;" |How much should be emitted
|}
|}

Revision as of 01:33, 25 November 2022

Overview

A blood particle entity, the texture of which seems to be missing as it uses the missing texture purple and black.

local origin = player:GetAbsOrigin();
origin.z = origin.z + 8;
tempents.Send("Blood Stream", {m_vecOrigin=origin,
                               r=255,
                               g=0,
                               b=0,
                               a=255,
                               m_nAmount=100,
                               m_vecDirection=Vector(0, 0, 0)}, nil);

Source location : /game/server/te_bloodstream.cpp

Class Structure

SendProps

CTEBloodStream
Name Type Description
m_vecDirection Vector The direction this particle will emit towards
r Integer The red color value
g Integer The green color value
b Integer The blue color value
a Integer The alpha value (transparency)
m_nAmount Integer How much should be emitted