CPropVehicle: 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/vehicle_base.h /game/server/vehicle_base.h]''' '''Linked...")
 
No edit summary
Line 11: Line 11:
***'''[[CBaseProp]]'''
***'''[[CBaseProp]]'''
****'''CPropVehicle'''
****'''CPropVehicle'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPropVehicle
! 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%;" |'''InputSteering'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputThrottle'''
| 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_flLastPhysicsInfluenceTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_hPhysicsAttacker'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_nVehicleType'''
| 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%;" |
|}

Revision as of 16:12, 26 March 2022

Overview

...

Source location : /game/server/vehicle_base.h

Linked Entity : prop_vehicle

Class Structure

Entity DataMaps

CPropVehicle
Name Type Description
InputAction
InputHandBrakeOff
InputHandBrakeOn
InputSteering
InputThrottle
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_flLastPhysicsInfluenceTime
m_hPhysicsAttacker
m_nVehicleType
m_vecSmoothedVelocity
m_vehicleScript