CPhysicsPropRespawnable: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/props.cpp /game/server/props.cpp]''' '''Linked Entity :...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
An extension of [[CPhysicsProp]] which will respawn a certain amount of time after breaking.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/props.cpp /game/server/props.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/props.cpp /game/server/props.cpp]'''
Line 13: Line 13:
*****'''[[CPhysicsProp]]'''
*****'''[[CPhysicsProp]]'''
******'''CPhysicsPropRespawnable'''
******'''CPhysicsPropRespawnable'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPhysicsPropRespawnable
! 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%;" |'''CPhysicsPropRespawnableMaterialize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flRespawnTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalMaxs'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalMins'''
| 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: 35%;" |
|}

Latest revision as of 23:07, 10 August 2022

Overview[edit | edit source]

An extension of CPhysicsProp which will respawn a certain amount of time after breaking.

Source location : /game/server/props.cpp

Linked Entity : prop_physics_respawnable

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CPhysicsPropRespawnable
Name Type Description
CPhysicsPropRespawnableMaterialize
m_flRespawnTime
m_vOriginalMaxs
m_vOriginalMins
m_vOriginalSpawnAngles
m_vOriginalSpawnOrigin