Difference between revisions of "Crane"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "A '''crane''' is a map object, some consisting of a rotatable arm and a hook to lift up cars. == GTA III == thumb|300px|The crusher in GTA III The crushe...")
 
Line 25: Line 25:
 
Through the [[Main.scm|script]], opcodes can assign behavior and check the status of cranes.
 
Through the [[Main.scm|script]], opcodes can assign behavior and check the status of cranes.
 
{|
 
{|
| 01EE || {{Icon|3}} || activate crane
+
| [[01EE]] || {{Icon|3}} || activate crane
 
|-
 
|-
| 01EF || {{Icon|3}} ||deactivate crane
+
| [[01EF]] || {{Icon|3}} ||deactivate crane
 
|-
 
|-
| 02FB || {{Icon|3}} ||activate crusher crane
+
| [[02FB]] || {{Icon|3}} ||activate crusher crane
 
|-
 
|-
| 0368 || {{Icon|3}} ||activate military crane
+
| [[0368]] || {{Icon|3}} ||activate military crane
 
|-
 
|-
| 03A0 || {{Icon|3}} ||checks if a crane is lifting a car
+
| [[03A0]] || {{Icon|3}} ||checks if a crane is lifting a car
 
|-
 
|-
| 03EC || {{Icon|3}} ||checks if the military crane has collected all cars
+
| [[03EC]] || {{Icon|3}} ||checks if the military crane has collected all cars
 
|}
 
|}
  
Line 62: Line 62:
 
* {{Icon|VC}} {{GTAF|457357|Save file discussion including cranes}}
 
* {{Icon|VC}} {{GTAF|457357|Save file discussion including cranes}}
  
[[Category:Mission Script]]
+
{{N|VC|3}}
 +
[[Category:Mission Script]][[Category:Map Formats]]

Revision as of 16:30, 4 July 2015

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

Script

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

01EE GTA III activate crane
01EF GTA III deactivate crane
02FB GTA III activate crusher crane
0368 GTA III activate 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