CTFBaseProjectile: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision 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]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProjectile]]'''
****'''[[CBaseFlex]]'''
****'''CTFBaseProjectile'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
Line 33: Line 28:
== Entity DataMaps ==
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CTFWeaponBaseMelee
|+CTFBaseProjectile
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 15%; background-color: #303030; color: white" |Type

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