Prop vehicle: Difference between revisions
Jump to navigation
Jump to search
Erik Johnson (talk | contribs) |
m (doxygen) |
||
Line 6: | Line 6: | ||
==Availability== | ==Availability== | ||
{{in game|point}} {{game-base}} | {{in game|point}} {{game-base}} | ||
{{in code|class=CPropVehicle|file=vehicle_base.cpp}} | {{in code|class=class_c_prop_vehicle.html CPropVehicle|file=vehicle__base_8cpp-source.html vehicle_base.cpp}} | ||
==Keyvalues== | ==Keyvalues== |
Revision as of 06:47, 2 August 2006
Entity Description
Vehicle model that can be driven via inputs.
Availability
Template:In game Template:Game-base Template:In code
Keyvalues
Inputs
BaseVehicle:
- Action <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
- prop_vehicle_driveable - A player drivable vehicle.
- Vehicles (modeling) - How to create a vehicle model