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...")
 
m
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
== GTA III ==
 
== GTA III ==
 
[[File:Crusher.jpg|thumb|300px|The crusher in GTA III]]
 
[[File:Crusher.jpg|thumb|300px|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 [[IPL|item placement]] in the world. By default, cranes idly rotate back and forth. All crane data is saved in [[Saves (GTA 3)#Block 6: Cranes|block 6 of the save file]].
+
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 [[MatchModelString#GTA III|specific models]] to turn into cranes. The following coordinates are based on their [[IPL|item placement]] in the world. By default, cranes idly rotate back and forth. All crane data is saved in [[Saves (GTA 3)#Block 6: Cranes|block 6 of the save file]].
 
{| class="wikitable"
 
{| class="wikitable"
 
! rowspan="2" | Location || colspan="3" | Coordinates || rowspan="2" | Model || rowspan="2" | Notes
 
! rowspan="2" | Location || colspan="3" | Coordinates || rowspan="2" | Model || rowspan="2" | Notes
Line 9: Line 9:
 
! X || Y || Z
 
! X || Y || Z
 
|-
 
|-
| Harwood || 1118.98 || 52.4167 || 10.2705 || doc_crane_cab || Used as crusher crane, has hook
+
| Harwood || 1118.98 || 52.4167 || 10.2705 || doc_crane_cab || Used as crusher crane, has hook and produces sounds when activated
 
|-
 
|-
 
| rowspan="5" | Portland Docks || 1526.15 || -759.878 || 114.703 || cranetopb || Has hook
 
| rowspan="5" | Portland Docks || 1526.15 || -759.878 || 114.703 || cranetopb || Has hook
Line 22: Line 22:
 
|}
 
|}
  
=== Script ===
+
Total number of cranes can not exceed 8.
 +
 
 +
=== Mission script ===
 
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}} ||activates a crane
 
|-
 
|-
| 01EF || {{Icon|3}} ||deactivate crane
+
| [[01EF]] || {{Icon|3}} ||deactivates a crane
 
|-
 
|-
| 02FB || {{Icon|3}} ||activate crusher crane
+
| [[02FB]] || {{Icon|3}} ||activates a crusher crane
 
|-
 
|-
| 0368 || {{Icon|3}} ||activate military crane
+
| [[0368]] || {{Icon|3}} ||activates a 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
 
|}
 
|}
  
 
== Vice City ==
 
== 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 [[IPL|item placement]] in the world. All cranes are located in Viceport. All crane data is saved in [[Saves (GTA VC)#Block 7: Cranes|block 7 of the save file]].
+
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 [[MatchModelString#Vice City|specific models]] to turn into cranes. The following coordinates are based on their [[IPL|item placement]] in the world. All cranes are located in Viceport. All crane data is saved in [[Saves (GTA VC)#Block 7: Cranes|block 7 of the save file]].
 
{| class="wikitable"
 
{| class="wikitable"
 
! colspan="3" | Coordinates || rowspan="2" | Model
 
! colspan="3" | Coordinates || rowspan="2" | Model
Line 59: Line 61:
  
 
== External links ==
 
== External links ==
 +
* {{Icon|2}} [http://en.wikigta.org/wiki/Cranes_and_crushers_(GTA2) Detailed description of cranes in GTA 2 at WikiGTA.nl]
 
* {{Icon|3}} {{GTAF|758692|Save file discussion including cranes}}
 
* {{Icon|3}} {{GTAF|758692|Save file discussion including cranes}}
 
* {{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:GTA 2]][[Category:Mission Script]][[Category:Map Formats]]

Latest revision as of 23:13, 20 November 2016

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