Prop vehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (revert)
m (Robot: fixing template case.)
Line 12: Line 12:


== Flags ==
== Flags ==
* {{ep1 add|1 : Always Think (Run physics every frame)}}
* {{EP1 add|1 : Always Think (Run physics every frame)}}


== Inputs ==
== Inputs ==

Revision as of 19:19, 19 January 2009

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