CPropVehicleDriveable: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
TBD


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/vehicle_base.h /game/server/vehicle_base.h]'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/prop_vehicle_driveable prop_vehicle_driveable]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
***'''[[CBaseProp]]'''
****'''[[CPropVehicle]]'''
*****'''CPropVehicleDriveable'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CPropVehicleDriveable
! 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_hPlayer'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nSpeed'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nRPM'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flThrottle'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nBoostTimeLeft'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nHasBoost'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nScannerDisabledWeapons'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nScannerDisabledVehicle'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bEnterAnimOn'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bExitAnimOn'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUnableToFire'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecEyeExitEndpoint'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHasGun'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecGunCrosshair'''
| style="width: 15%;" |Vector
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPropVehicleDriveable
! 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%;" |'''InputLock'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputTurnOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputUnlock'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_attack2axis'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_attackaxis'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bEngineLocked'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bEnterAnimOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bExitAnimOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bHasGun'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLocked'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUnableToFire'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMinimumSpeedToEnterExit'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flThrottle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTurnOffKeepUpright'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hKeepUpright'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hNPCDriver'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hPlayer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nBoostTimeLeft'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nHasBoost'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nRPM'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nScannerDisabledVehicle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nScannerDisabledWeapons'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_pServerVehicle
|-
| style="width: 50%;" |'''m_PassengerInfo'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_ViewSmoothing
|-
| style="width: 50%;" |'''bRunningEnterExit'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''bWasRunningAnim'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''flEnterExitDuration'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''flEnterExitStartTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''flFOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''vecAngleDiffMin'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''vecAngleDiffSaved'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''vecAnglesSaved'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''vecOriginSaved'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_chPreviousTextureType'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flSpeedPercentage'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flTurnDegrees'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flVehicleVolume'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hExitBlocker'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iCurrentExitAnim'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iSoundGear'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_lastSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nNPCButtons'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nPrevNPCButtons'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pStateSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pStateSoundFade'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_savedViewOffset'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_soundState'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_soundStateStartTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecCurrentExitEndPoint'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| colspan="3" style="padding: 0; margin: 0;" |
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
! colspan="3" |m_vehicleSounds
|-
| style="width: 50%;" |'''crashSounds'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''iszSound'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''iszStateSounds'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''minStateTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''pGears'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|}
|-
| style="width: 50%;" |'''m_playerOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_playerOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pressedAttack'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pressedAttack2'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecEyeExitEndpoint'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vecGunCrosshair'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 23:11, 10 August 2022

Overview[edit | edit source]

TBD

Source location : /game/server/vehicle_base.h

Linked Entity : prop_vehicle_driveable

Class Structure[edit | edit source]

SendProps[edit | edit source]

CPropVehicleDriveable
Name Type Description
m_hPlayer Integer
m_nSpeed Integer
m_nRPM Integer
m_flThrottle Float
m_nBoostTimeLeft Integer
m_nHasBoost Boolean
m_nScannerDisabledWeapons Boolean
m_nScannerDisabledVehicle Boolean
m_bEnterAnimOn Boolean
m_bExitAnimOn Boolean
m_bUnableToFire Boolean
m_vecEyeExitEndpoint Vector
m_bHasGun Boolean
m_vecGunCrosshair Vector

Entity DataMaps[edit | edit source]

CPropVehicleDriveable
Name Type Description
InputLock
InputTurnOff
InputTurnOn
InputUnlock
m_attack2axis
m_attackaxis
m_bEngineLocked
m_bEnterAnimOn
m_bExitAnimOn
m_bHasGun
m_bLocked
m_bUnableToFire
m_flMinimumSpeedToEnterExit
m_flThrottle
m_flTurnOffKeepUpright
m_hKeepUpright
m_hNPCDriver
m_hPlayer
m_nBoostTimeLeft
m_nHasBoost
m_nRPM
m_nScannerDisabledVehicle
m_nScannerDisabledWeapons
m_nSpeed
m_pServerVehicle
m_PassengerInfo
m_ViewSmoothing
bRunningEnterExit
bWasRunningAnim
flEnterExitDuration
flEnterExitStartTime
flFOV
vecAngleDiffMin
vecAngleDiffSaved
vecAnglesSaved
vecOriginSaved
m_chPreviousTextureType
m_flSpeedPercentage
m_flTurnDegrees
m_flVehicleVolume
m_hExitBlocker
m_iCurrentExitAnim
m_iSoundGear
m_lastSpeed
m_nNPCButtons
m_nPrevNPCButtons
m_pStateSound
m_pStateSoundFade
m_savedViewOffset
m_soundState
m_soundStateStartTime
m_vecCurrentExitEndPoint
m_vehicleSounds
crashSounds
iszSound
iszStateSounds
minStateTime
pGears
m_playerOff
m_playerOn
m_pressedAttack
m_pressedAttack2
m_vecEyeExitEndpoint
m_vecGunCrosshair