Difference between revisions of "02FB"

From GTAMods Wiki
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Icon|3}} '''ACTIVATE_CRUSHER_CRANE'''
+
[[File:Crusher.jpg|thumb|The crusher crane]]
<hr />
+
{{OpCode
'''Description'''
+
| games      = {{Icon|3}}
: Activates a crusher [[crane]]
+
| command    = ACTIVATE_<wbr>CRUSHER_<wbr>CRANE
'''Syntax'''
+
| description = Activates a crusher [[crane]]
: 02FB: create_crusher_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
+
| syntax1    = 02FB: create_crusher_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
'''Parameter'''
+
| p1t        = [''flt1'']
: [''flt1'']
+
| p1d        = X-coordinate of location of crane
:: X-coordinate of location of crane
+
| p2t        = [''flt2'']
: [''flt2'']
+
| p2d        = Y-coordinate of location of crane
:: Y-coordinate of location of crane
+
| p3t        = [''flt3'']
: [''flt3'']
+
| p3d        = X-coordinate of one corner of pick up zone
:: X-coordinate of one corner of pickup zone
+
| p4t        = [''flt4'']
: [''flt4'']
+
| p4d        = Y-coordinate of one corner of pick up zone
:: Y-coordinate of one corner of pickup zone
+
| p5t        = [''flt5'']
: [''flt5'']
+
| p5d        = X-coordinate of other corner of pick up zone
:: X-coordinate of other corner of pickup zone
+
| p6t        = [''flt6'']
: [''flt6'']
+
| p6d        = Y-coordinate of other corner of pick up zone
:: Y-coordinate of other corner of pickup zone
+
| p7t        = [''flt7'']
: [''flt7'']
+
| p7d        = X-coordinate of drop off point
:: X-coordinate of drop off point
+
| p8t        = [''flt8'']
: [''flt8'']
+
| p8d        = Y-coordinate of drop off point
:: Y-coordinate of drop off point
+
| p9t        = [''flt9'']
: [''flt9'']
+
| p9d        = Z-coordinate of drop off point
:: Z-coordinate of drop off point
+
| p10t        = [''flt10'']
: [''flt10'']
+
| p10d        = [[Heading]] of drop off point in degrees
:: [[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. If the crane have a magnet, the height of the magnet is lowered. When you deliver a vehicle model it does not accept, [[GXT]] string <code>CR_1</code> ("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:
+
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 [[Text#Garage message|message]] with [[GXT]] key <code>CR_1</code> ("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)
 
* 97 (Firetruck)
 
* 98 (Trashmaster)
 
* 98 (Trashmaster)
Line 35: Line 35:
 
* 122 (Rhino)
 
* 122 (Rhino)
 
* 126 (Dodo)
 
* 126 (Dodo)
The crusher itself is separate from the crane and is not tied to this restriction or the crane.
+
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 ==
 
== Keywords ==
activate, crusher, crane
+
activate, create, crusher, crane
  
 
== See also ==
 
== See also ==
* [[01EE]], activate crane
+
* {{Icon|3}} [[01EE]], activate crane
* [[0368]], activate military crane
+
* {{Icon|3}} [[0368]], activate military crane
  
 
== External link ==
 
== External link ==
 
* {{GTAG|25368|SilentPatch}}, allows the crusher crane to lift the Blista and not the Coach
 
* {{GTAG|25368|SilentPatch}}, allows the crusher crane to lift the Blista and not the Coach
 
[[Category:OpCodes]]
 

Latest revision as of 15:34, 27 June 2016

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