CTEDust: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
A dust puff particle, it can be quite hard to see when m_flSize is high.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/func_dust.cpp /game/server/func_dust.cpp]'''
<pre>
tempents.Send("Dust", {m_vecOrigin=Vector(0, 0, 0),
                      m_flSize=20,
                      m_flSpeed=10,
                      m_vecDirection=Vector(0, 0, 0)}, nil);
</pre>
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+Preview
|-
|[[File:CTEDust.mp4|border|center|640x360px]]
|}
==[[Classes|Class Structure]]==
*'''[[CBaseTempEntity]]'''
**'''[[CTEParticleSystem]]'''
***'''CTEDust'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTEDust
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_flSize'''
| style="width: 15%;" |Float
| style="width: 35%;" |The size of the particle
|-
| style="width: 50%;" |'''m_flSpeed'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecDirection'''
| style="width: 15%;" |Vector
| style="width: 35%;" |A positional vector for the direction this particle will emit towards (Not an angular vector)
|}

Latest revision as of 23:10, 27 November 2022

Overview[edit | edit source]

A dust puff particle, it can be quite hard to see when m_flSize is high.

Source location : /game/server/func_dust.cpp

tempents.Send("Dust", {m_vecOrigin=Vector(0, 0, 0),
                       m_flSize=20,
                       m_flSpeed=10,
                       m_vecDirection=Vector(0, 0, 0)}, nil);
Preview

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTEDust
Name Type Description
m_flSize Float The size of the particle
m_flSpeed Float
m_vecDirection Vector A positional vector for the direction this particle will emit towards (Not an angular vector)