Prop vehicle crane: Difference between revisions
Jump to navigation
Jump to search
Note:When placing, be sure to read the description of the magnetname keyvalue.
Brandished (talk | contribs) m (spam removal) |
m (Robot: fixing template case.) |
||
Line 15: | Line 15: | ||
==Inputs== | ==Inputs== | ||
* {{ | * {{I BaseDriveableVehicle}} | ||
* '''ForcePlayerIn''' | * '''ForcePlayerIn''' | ||
: Force the player to get into the crane. Only works in singleplayer. | : Force the player to get into the crane. Only works in singleplayer. |
Revision as of 19:26, 19 January 2009
Entity Description

A prop_vehicle_crane entity using the typical models/Cranes/crane_docks.mdl model, with an attached models/props_wasteland/cranemagnet01a.mdl phys_magnet.
A crane. (Driveable model.)

Keyvalues
- Template:Kv basedriveablevehicle
- magnetname
- <target_destination> Magnet entity - The crane model will not show up at all unless a phys_magnet model is specified in this field. The crane will automatically be connected to this phys_magnet via a rope/wire.
Inputs
- BaseDriveableVehicle:
- HandBrakeOn
- HandBrakeOff
- Turns the handbrake on/off, preventing the vehicle from driving but not disabling motion from external forces.
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.
- ForcePlayerIn
- Force the player to get into the crane. Only works in singleplayer.