CTFBaseProjectile: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Despite the name, this isn't the base class for all TF2 projectiles, but rather a small subset of generic projectiles for some reason.


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


'''Linked entity : ...'''
==[[Classes|Class Structure]]==
 
==[[SendProps|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProjectile]]'''
****'''[[CBaseFlex]]'''
****'''CTFBaseProjectile'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CTFBaseProjectile  
|+CTFBaseProjectile  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 28: Line 23:
| style="width: 50%;" |'''m_hLauncher'''
| style="width: 50%;" |'''m_hLauncher'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTFBaseProjectile
! 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%;" |'''CTFBaseProjectileFlyThink'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 22:02, 6 March 2022

Overview[edit | edit source]

Despite the name, this isn't the base class for all TF2 projectiles, but rather a small subset of generic projectiles for some reason.

Source location : /game/shared/tf/tf_projectile_base.h

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFBaseProjectile
Name Type Description
m_vInitialVelocity Vector
m_hLauncher Integer

Entity DataMaps[edit | edit source]

CTFBaseProjectile
Name Type Description
CTFBaseProjectileFlyThink