CTFAmmoPack: Difference between revisions

From SigMod
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 ==
...
A medium sized ammopack, halloween crumpkin, or smissmas present dropped by players on death.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tf/tf_ammo_pack.h /game/server/tf/tf_ammo_pack.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tf/tf_ammo_pack.h /game/server/tf/tf_ammo_pack.h]'''
Line 46: Line 46:
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CItemComeToRest'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CItemFallThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CItemItemTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CItemMaterialize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
|-
| style="width: 50%;" |'''CTFAmmoPackFlyThink'''
| style="width: 50%;" |'''CTFAmmoPackFlyThink'''
Line 68: Line 52:
|-
|-
| style="width: 50%;" |'''CTFAmmoPackPackTouch'''
| style="width: 50%;" |'''CTFAmmoPackPackTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnCacheInteraction'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnPlayerTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bActivateWhenAtRest'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNextResetCheckTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pConstraint'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalSpawnAngles'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalSpawnOrigin'''
| style="width: 15%;" |
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 20:15, 10 August 2022

Overview[edit | edit source]

A medium sized ammopack, halloween crumpkin, or smissmas present dropped by players on death.

Source location : /game/server/tf/tf_ammo_pack.h

Linked Entity : tf_ammo_pack

Class Structure[edit | edit source]

SendProps[edit | edit source]

CTFAmmoPack
Name Type Description
m_vecInitialVelocity Vector
m_angRotation Integer
m_angRotation[0] Float
m_angRotation[1] Float
m_angRotation[2] Float

Entity DataMaps[edit | edit source]

CTFAmmoPack
Name Type Description
CTFAmmoPackFlyThink
CTFAmmoPackPackTouch