CTEDust: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
A dust puff particle, it can be quite hard to see at 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]''' | '''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=origin, | |||
m_flSize=20, | |||
m_flSpeed=10, | |||
m_vecDirection=Vector(0, 0, 0)}, nil); | |||
</pre> | |||
==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== | ||
Line 18: | Line 25: | ||
| style="width: 50%;" |'''m_flSize''' | | style="width: 50%;" |'''m_flSize''' | ||
| style="width: 15%;" |Float | | style="width: 15%;" |Float | ||
| style="width: 35%;" | | | style="width: 35%;" |The size of the particle | ||
|- | |- | ||
| style="width: 50%;" |'''m_flSpeed''' | | style="width: 50%;" |'''m_flSpeed''' | ||
Line 26: | Line 33: | ||
| 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 the particle will emit towards | ||
|} | |} |
Revision as of 01:49, 25 November 2022
Overview
A dust puff particle, it can be quite hard to see at when m_flSize is high.
Source location : /game/server/func_dust.cpp
tempents.Send("Dust", {m_vecOrigin=origin, m_flSize=20, m_flSpeed=10, m_vecDirection=Vector(0, 0, 0)}, nil);
Class Structure
- CBaseTempEntity
- CTEParticleSystem
- CTEDust
- CTEParticleSystem
SendProps
Name | Type | Description |
---|---|---|
m_flSize | Float | The size of the particle |
m_flSpeed | Float | |
m_vecDirection | Vector | The direction the particle will emit towards |