CTFWeaponBaseGrenadeProj: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
The base class for TF2 "grenades". In general, projectiles that fly in an arc will inherit from this class in one way or another.


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


'''Linked entity : ...'''
'''Linked entity : [https://developer.valvesoftware.com/wiki/tf_weaponbsae_grenadeproj tf_weaponbase_grenadeproj]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseAnimatingOverlay]]'''
***'''[[CBaseProjectile]]'''
****'''[[CBaseFlex]]'''
****'''[[CBaseGrenade]]'''
*****'''[[CBaseCombatCharacter]]'''
*****'''CTFWeaponBaseGrenadeProj'''
******'''[[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;"
|+CTFWeaponBaseGrenadeProj  
|+CTFWeaponBaseGrenadeProj  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 52: Line 50:
| style="width: 50%;" |'''m_hDeflectOwner'''
| style="width: 50%;" |'''m_hDeflectOwner'''
| 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;
|+CTFWeaponBaseGrenadeProj
! 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%;" |'''CTFWeaponBaseGrenadeProjDetonateThink'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 18:11, 6 March 2022

Overview[edit | edit source]

The base class for TF2 "grenades". In general, projectiles that fly in an arc will inherit from this class in one way or another.

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

Linked entity : tf_weaponbase_grenadeproj

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFWeaponBaseGrenadeProj
Name Type Description
m_vInitialVelocity Vector
m_bCritical Boolean
m_vecOrigin Integer
m_angRotation Integer
m_vecOrigin Vector
m_angRotation Vector
m_iDeflected Integer
m_hDeflectOwner Integer

Entity DataMaps[edit | edit source]

CTFWeaponBaseGrenadeProj
Name Type Description
CTFWeaponBaseGrenadeProjDetonateThink