Prop vehicle crane: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (spam removal)
m (Robot: fixing template case.)
Line 15: Line 15:


==Inputs==
==Inputs==
* {{i basedriveablevehicle}}
* {{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

Template:Wrongtitle

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.)

Note.pngNote:When placing, be sure to read the description of the magnetname keyvalue.

Keyvalues

<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 <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.
  • ForcePlayerIn
Force the player to get into the crane. Only works in singleplayer.

Outputs

See Also