CTFWeaponBaseGrenadeProj: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== 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 : [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 : [https://developer.valvesoftware.com/wiki/tf_weaponbsae_grenadeproj tf_weaponbase_grenadeproj]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseProjectile]]'''
****'''[[CBaseGrenade]]'''
*****'''CTFWeaponBaseGrenadeProj'''
== SendProps ==
{| 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%;" |'''m_vInitialVelocity'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bCritical'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecOrigin'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_angRotation'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecOrigin'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_angRotation'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iDeflected'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hDeflectOwner'''
| 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%;" |
|}

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