CTFWeaponBaseGrenadeProj: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | No edit summary | ||
| (One intermediate revision 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]''' | ||
| ==[[Classes|Class Structure]]== | ==[[Classes|Class Structure]]== | ||
| *'''[[CBaseEntity]]''' | *'''[[CBaseEntity]]''' | ||
| **'''[[CBaseAnimating]]''' | **'''[[CBaseAnimating]]''' | ||
| ***'''[[ | ***'''[[CBaseProjectile]]''' | ||
| ****'''[[ | ****'''[[CBaseGrenade]]''' | ||
| *****''' | *****'''CTFWeaponBaseGrenadeProj''' | ||
| == SendProps == | == SendProps == | ||
Latest revision as of 18:11, 6 March 2022
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 : /game/shared/tf/tf_weaponbase_grenadeproj.h
Linked entity : tf_weaponbase_grenadeproj
Class Structure
- CBaseEntity
- CBaseAnimating
- CBaseProjectile
- CBaseGrenade
- CTFWeaponBaseGrenadeProj
 
 
- CBaseGrenade
 
- CBaseProjectile
 
- CBaseAnimating
SendProps
| 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
| Name | Type | Description | 
|---|---|---|
| CTFWeaponBaseGrenadeProjDetonateThink |