02FB

From GTAModding
Jump to: navigation, search
The crusher crane

GTA III ACTIVATE_CRUSHER_CRANE


Description
Activates a crusher crane
Syntax
02FB: create_crusher_crane [flt1] [flt2] [flt3] [flt4] [flt5] [flt6] [flt7] [flt8] [flt9] [flt10]
Parameter
[flt1]
X-coordinate of location of crane
[flt2]
Y-coordinate of location of crane
[flt3]
X-coordinate of one corner of pick up zone
[flt4]
Y-coordinate of one corner of pick up zone
[flt5]
X-coordinate of other corner of pick up zone
[flt6]
Y-coordinate of other corner of pick up zone
[flt7]
X-coordinate of drop off point
[flt8]
Y-coordinate of drop off point
[flt9]
Z-coordinate of drop off point
[flt10]
Heading of drop off point in degrees

This opcode grabs and activates a crane that accepts vehicles for the crusher. The crane behaves similarly to ones activated by opcode 01EE with the following differences. The height of the pick up zone is set at -0.95099998 units. If the crane has a magnet, the magnet is moved appropriately for that height. When you deliver a vehicle model it does not accept, a message with GXT key CR_1 ("Crane cannot lift this vehicle.") is displayed and the crane refuses the vehicle. The following vehicle models based on their IDE values are rejected by cranes activated with this opcode:

  • 97 (Firetruck)
  • 98 (Trashmaster)
  • 102 (Blista)
  • 118 (Securicar)
  • 121 (Bus)
  • 122 (Rhino)
  • 126 (Dodo)

The crusher itself is separate from the crane and is not tied to this restriction or the crane. It is technically considered a garage and its creation is hardcoded.

Keywords

activate, create, crusher, crane

See also

  • GTA III 01EE, activate crane
  • GTA III 0368, activate military crane

External link

  • GTA Net GTAGarage: SilentPatch, allows the crusher crane to lift the Blista and not the Coach