CTEGaussExplosion: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 4: Line 4:
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/hl2/te_gaussexplosion.cpp /game/server/hl2/gaussexplosion.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/hl2/te_gaussexplosion.cpp /game/server/hl2/gaussexplosion.cpp]'''


==[[SendProps|Class Structure]]==
<pre>
tempents.Send("GaussExplosion", {m_vecOrigin=Vector(0, 0, 0),
                                m_nType=0,
                                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:CTEGaussExplosion.mp4|border|center|640x360px]]
|}
 
==[[Classes|Class Structure]]==
*'''[[CBaseTempEntity]]'''
*'''[[CBaseTempEntity]]'''
**'''[[CTEParticleSystem]]'''
**'''[[CTEParticleSystem]]'''
Line 10: Line 22:


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTEGaussExplosion  
|+CTEGaussExplosion  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 22: Line 34:
| style="width: 50%;" |'''m_vecDirection'''
| style="width: 50%;" |'''m_vecDirection'''
| style="width: 15%;" |Vector
| style="width: 15%;" |Vector
| style="width: 35%;" |
| style="width: 35%;" |A positional vector for the direction this particle will emit towards (Not an angular vector)
|}
|}

Latest revision as of 23:06, 27 November 2022

Overview[edit | edit source]

...

Source location : /game/server/hl2/gaussexplosion.cpp

tempents.Send("GaussExplosion", {m_vecOrigin=Vector(0, 0, 0),
                                 m_nType=0,
                                 m_vecDirection=Vector(0, 0, 0)}, nil);
Preview

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTEGaussExplosion
Name Type Description
m_nType Integer
m_vecDirection Vector A positional vector for the direction this particle will emit towards (Not an angular vector)