CSprite: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
This entity represents a generic [https://developer.valvesoftware.com/wiki/Sprite sprite].


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/shared/Sprite.h /game/shared/Sprite.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/env_sprite env_sprite]'''


==[[Classes|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''CSprite'''
***'''[[CBaseAnimatingOverlay]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
Line 193: Line 188:
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/env_glow env_glow]
! 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
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/env_sprite env_sprite]
! 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
|}
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+[https://developer.valvesoftware.com/wiki/point_commentary_viewpoint point_commentary_viewpoint]
! 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
|}
|}

Latest revision as of 18:13, 10 August 2022

Overview[edit | edit source]

This entity represents a generic sprite.

Source location : /game/shared/Sprite.h

Linked Entity : env_sprite

Class Structure[edit | edit source]

SendProps[edit | edit source]

CSprite
Name Type Description
m_hAttachedToEntity Integer
m_nAttachment Integer
m_flScaleTime Float
m_flSpriteScale Float
m_flGlowProxySize Float
m_flHDRColorScale Float
m_flSpriteFramerate Float
m_flFrame Float
m_flBrightnessTime Float
m_nBrightness Integer
m_bWorldSpaceScale Boolean

Entity DataMaps[edit | edit source]

CSprite
Name Type Description
CSpriteAnimateThink
CSpriteAnimateUntilDead
CSpriteBeginFadeOutThink
CSpriteExpandThink
InputColorBlueValue
InputColorGreenValue
InputColorRedValue
InputHideSprite
InputShowSprite
InputToggleSprite
m_bWorldSpaceScale
m_flBrightnessTime
m_flBrightnessTimeStart
m_flDestScale
m_flDieTime
m_flFrame
m_flGlowProxySize
m_flHDRColorScale
m_flLastTime
m_flMaxFrame
m_flScaleTime
m_flScaleTimeStart
m_flSpriteFramerate
m_flSpriteScale
m_flStartScale
m_hAttachedToEntity
m_nAttachment
m_nBrightness
m_nDestBrightness
m_nStartBrightness