Prop vehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 23: Line 23:
==See Also==
==See Also==
* [[prop_vehicle_driveable]] - A player drivable vehicle.
* [[prop_vehicle_driveable]] - A player drivable vehicle.
 
* [[Vehicles (modeling)]] - How to create a vehicle model
[[Category:Entities]]
[[Category:Entities]]

Revision as of 11:02, 25 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