Prop vehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:


==Availability==
==Availability==
{{in game|point}} {{game|HL2}}
{{in game|point}} {{game-base}}
{{in code|class=CPropVehicle|file=vehicle_base.cpp}}
{{in code|class=CPropVehicle|file=vehicle_base.cpp}}



Revision as of 21:39, 3 April 2006

Template:Wrongtitle

Entity Description

Vehicle model that can be driven via inputs.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

Inputs

BaseVehicle:
Action <floatRedirectInput/float>
Set the speed of the action animation.
Todo: What does this mean?
TurnOn
Start engine and enable throttle.
TurnOff
Stop engine, disable throttle, engage brakes.
Lock
Unlock
Prevent/allow the player from entering or exiting the vehicle.
  • Steer <float>
Steer the vehicle +/-1
  • Throttle <float>
Throttle +/-1

Outputs

See Also