Prop vehicle

From Valve Developer Community
Revision as of 19:19, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle

Entity description

Vehicle model that can be driven via inputs.

Availability

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

Keyvalues

Flags

  • 1 : Always Think (Run physics every frame) (in all games since Half-Life 2: Episode One)

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