Prop vehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (doxygen)
m (ep1 add)
Line 10: Line 10:
==Keyvalues==
==Keyvalues==
*{{kv BaseVehicle}}
*{{kv BaseVehicle}}
==Flags==
* {{ep1 add|1 : Always Think (Run physics every frame)}}


==Inputs==
==Inputs==

Revision as of 12:22, 6 August 2006

Template:Wrongtitle

Entity Description

Vehicle model that can be driven via inputs.

Availability

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

Keyvalues

Flags

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