CSpriteTrail: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | |||
Constantly emits a [https://developer.valvesoftware.com/wiki/Sprite sprite], which in turn will create a trail effect on movement. | |||
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/SpriteTrail.h /game/shared/SpriteTrail.h]''' | |||
'''Linked Entity : [https://developer.valvesoftware.com/wiki/env_spritetrail env_spritetrail]''' | |||
==[[Classes|Class Structure]]== | |||
*'''[[CBaseEntity]]''' | |||
**'''[[CSprite]]''' | |||
***'''CSpriteTrail''' | |||
== SendProps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;" | |||
|+CSpriteTrail | |||
! 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_flLifeTime''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flStartWidth''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flEndWidth''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flStartWidthVariance''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flTextureRes''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flMinFadeLength''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_vecSkyboxOrigin''' | |||
| style="width: 15%;" |Vector | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flSkyboxScale''' | |||
| style="width: 15%;" |Float | |||
| style="width: 35%;" | | |||
|} | |||
== Entity DataMaps == | |||
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0; | |||
|+CSpriteTrail | |||
! 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_bAnimate''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flEndWidth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flLifeTime''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flMinFadeLength''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flSkyboxScale''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flStartWidth''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flStartWidthVariance''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_flTextureRes''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_iszSpriteName''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|- | |||
| style="width: 50%;" |'''m_vecSkyboxOrigin''' | |||
| style="width: 15%;" | | |||
| style="width: 35%;" | | |||
|} |
Latest revision as of 18:15, 10 August 2022
Overview[edit | edit source]
Constantly emits a sprite, which in turn will create a trail effect on movement.
Source location : /game/shared/SpriteTrail.h
Linked Entity : env_spritetrail
Class Structure[edit | edit source]
- CBaseEntity
- CSprite
- CSpriteTrail
- CSprite
SendProps[edit | edit source]
Name | Type | Description |
---|---|---|
m_flLifeTime | Float | |
m_flStartWidth | Float | |
m_flEndWidth | Float | |
m_flStartWidthVariance | Float | |
m_flTextureRes | Float | |
m_flMinFadeLength | Float | |
m_vecSkyboxOrigin | Vector | |
m_flSkyboxScale | Float |
Entity DataMaps[edit | edit source]
Name | Type | Description |
---|---|---|
m_bAnimate | ||
m_flEndWidth | ||
m_flLifeTime | ||
m_flMinFadeLength | ||
m_flSkyboxScale | ||
m_flStartWidth | ||
m_flStartWidthVariance | ||
m_flTextureRes | ||
m_iszSpriteName | ||
m_vecSkyboxOrigin |