CTEDust: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
m_vecDirection=Vector(0, 0, 0)}, nil); | m_vecDirection=Vector(0, 0, 0)}, nil); | ||
</pre> | </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]]== | ==[[Classes|Class Structure]]== | ||
Line 33: | Line 39: | ||
| 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: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);
Class Structure[edit | edit source]
- CBaseTempEntity
- CTEParticleSystem
- CTEDust
- CTEParticleSystem
SendProps[edit | edit source]
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) |