Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| == Overview ==
| |
| A simple spark particle.
| |
|
| |
|
| '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_sparks.cpp /game/server/te_sparks.cpp]'''
| |
|
| |
| <pre>
| |
| tempents.Send("Sparks", {m_vecOrigin=Vector(0, 0, 0),
| |
| m_nMagnitude=2,
| |
| m_nTrailLength=1,
| |
| m_vecDir=Vector(0, 0, 0)}, nil);
| |
| </pre>
| |
|
| |
| ==[[Classes|Class Structure]]==
| |
| *'''[[CBaseTempEntity]]'''
| |
| **'''[[CTEParticleSystem]]'''
| |
| ***'''CTESparks'''
| |
|
| |
| == SendProps ==
| |
| {| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
| |
| |+CTESparks
| |
| ! 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_nMagnitude'''
| |
| | style="width: 15%;" |Integer
| |
| | style="width: 35%;" |How large the base sphere for the spark particle is
| |
| |-
| |
| | style="width: 50%;" |'''m_nTrailLength'''
| |
| | style="width: 15%;" |Integer
| |
| | style="width: 35%;" |How long the spark trails flung from the base sphere are
| |
| |-
| |
| | style="width: 50%;" |'''m_vecDir'''
| |
| | style="width: 15%;" |Vector
| |
| | style="width: 35%;" |A positional vector for the direction this particle will emit towards (Not an angular vector)
| |
| |}
| |