CPropVehicleDriveable: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
'''Linked entity : ...'''
'''Linked entity : ...'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
Line 16: Line 16:


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CPropVehicleDriveable  
|+CPropVehicleDriveable  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 76: Line 76:
| style="width: 50%;" |'''m_vecGunCrosshair'''
| style="width: 50%;" |'''m_vecGunCrosshair'''
| style="width: 15%;" |Vector
| 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%;" |'''InputAction'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputHandBrakeOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputHandBrakeOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputLock'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSteering'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputThrottle'''
| 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%;" |
|-
| 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_VehiclePhysics
|-
| style="width: 50%;" |'''m_actionScale'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_actionSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_actionValue'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bIsOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLastBoost'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLastSkid'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bLastThrottle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.bHasBrakePedal'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.boost'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.brake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.brakepedal'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.handbrake'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.handbrakeLeft'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.handbrakeRight'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.steering'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_controls.throttle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_debugRadius'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fLastBoost'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMaxRevThrottle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flMaxSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flVehicleVolume'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_maxThrottle'''
| 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_nLastSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nRPM'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nSpeed'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_poseParameters'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_throttleActiveTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_throttleRate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_throttleStartTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_turboTimer'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_wheelBaseHeight'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_wheelCount'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_wheelPosition'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_wheelRotation'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_wheelTotalHeight'''
| style="width: 15%;" |
| style="width: 35%;" |
|}
|-
| style="width: 50%;" |'''m_VehiclePhysics.m_pVehicle'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_VehiclePhysics.m_pWheels'''
| 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_flLastPhysicsInfluenceTime'''
| 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_hPhysicsAttacker'''
| 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%;" |
|-
| style="width: 50%;" |'''m_nVehicleType'''
| 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%;" |
|-
| style="width: 50%;" |'''m_vecSmoothedVelocity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vehicleScript'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Revision as of 01:49, 14 February 2022

Overview

...

Source location : ...

Linked entity : ...

Class Structure

SendProps

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

CPropVehicleDriveable
Name Type Description
InputAction
InputHandBrakeOff
InputHandBrakeOn
InputLock
InputSteering
InputThrottle
InputTurnOff
InputTurnOn
InputUnlock
m_VehiclePhysics
m_actionScale
m_actionSpeed
m_actionValue
m_bIsOn
m_bLastBoost
m_bLastSkid
m_bLastThrottle
m_controls.bHasBrakePedal
m_controls.boost
m_controls.brake
m_controls.brakepedal
m_controls.handbrake
m_controls.handbrakeLeft
m_controls.handbrakeRight
m_controls.steering
m_controls.throttle
m_debugRadius
m_fLastBoost
m_flMaxRevThrottle
m_flMaxSpeed
m_flVehicleVolume
m_maxThrottle
m_nBoostTimeLeft
m_nHasBoost
m_nLastSpeed
m_nRPM
m_nSpeed
m_poseParameters
m_throttleActiveTime
m_throttleRate
m_throttleStartTime
m_turboTimer
m_wheelBaseHeight
m_wheelCount
m_wheelPosition
m_wheelRotation
m_wheelTotalHeight
m_VehiclePhysics.m_pVehicle
m_VehiclePhysics.m_pWheels
m_attack2axis
m_attackaxis
m_bEngineLocked
m_bEnterAnimOn
m_bExitAnimOn
m_bHasGun
m_bLocked
m_bUnableToFire
m_flLastPhysicsInfluenceTime
m_flMinimumSpeedToEnterExit
m_flThrottle
m_flTurnOffKeepUpright
m_hKeepUpright
m_hNPCDriver
m_hPhysicsAttacker
m_hPlayer
m_nBoostTimeLeft
m_nHasBoost
m_nRPM
m_nScannerDisabledVehicle
m_nScannerDisabledWeapons
m_nSpeed
m_nVehicleType
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
m_vecSmoothedVelocity
m_vehicleScript