Crane

From GTAModding
Jump to: navigation, search

A crane is a map object, some consisting of a rotatable arm and a hook to lift up cars.

GTA III

The crusher in GTA III

The crusher and military cranes are integral to gameplay, having been used in several missions and odd jobs. The game scans through the world for specific models to turn into cranes. The following coordinates are based on their item placement in the world. By default, cranes idly rotate back and forth. All crane data is saved in block 6 of the save file.

Location Coordinates Model Notes
X Y Z
Harwood 1118.98 52.4167 10.2705 doc_crane_cab Used as crusher crane, has hook and produces sounds when activated
Portland Docks 1526.15 -759.878 114.703 cranetopb Has hook
1567.94 -669.627 114.703 cranetopa Used as military crane, has hook
1600.32 -645.405 22.3812 doc_crane_cab
1600.32 -626.091 22.3812 doc_crane_cab
1532.38 -775.224 22.3812 doc_crane_cab

Total number of cranes can not exceed 8.

Mission script

Through the script, opcodes can assign behavior and check the status of cranes.

01EE GTA III activates a crane
01EF GTA III deactivates a crane
02FB GTA III activates a crusher crane
0368 GTA III activates a military crane
03A0 GTA III checks if a crane is lifting a car
03EC GTA III checks if the military crane has collected all cars

Vice City

Cranes serve no practical purpose and are only there for aesthetics, idly rotating back and forth. Similar to GTA III, the game scans through the world for specific models to turn into cranes. The following coordinates are based on their item placement in the world. All cranes are located in Viceport. All crane data is saved in block 7 of the save file.

Coordinates Model
X Y Z
-797.9841919 -1593.546265 26.48970032 boatcranelg0
-1021.590149 -1472.457153 22.38119507 doc_crane_cab0
-947.8780518 -1504.333252 22.38119507 doc_crane_cab01
-890.8894653 -1527.512817 22.38119507 doc_crane_cab02
-818.6588745 -1525.729736 22.38119507 doc_crane_cab03
-877.8377686 -1478.923828 113.2046967 LODnetopa0

External links