Difference between revisions of "02FB"

From GTAMods Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{Icon|3}} '''ACTIVATE_CRUSHER_CRANE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = ACTIVATE_CRUSHER_CRANE
: Activates a crusher [[crane]]
+
| description = Activates a crusher [[crane]]
'''Syntax'''
+
| syntax1    = 02FB: create_crusher_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
: 02FB: create_crusher_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
+
| p1t        = [''flt1'']
'''Parameter'''
+
| p1d        = X-coordinate of location of crane
: [''flt1'']
+
| p2t        = [''flt2'']
:: X-coordinate of location of crane
+
| p2d        = Y-coordinate of location of crane
: [''flt2'']
+
| p3t        = [''flt3'']
:: Y-coordinate of location of crane
+
| p3d        = X-coordinate of one corner of pickup zone
: [''flt3'']
+
| p4t        = [''flt4'']
:: X-coordinate of one corner of pickup zone
+
| p4d        = Y-coordinate of one corner of pickup zone
: [''flt4'']
+
| p5t        = [''flt5'']
:: Y-coordinate of one corner of pickup zone
+
| p5d        = X-coordinate of other corner of pickup zone
: [''flt5'']
+
| p6t        = [''flt6'']
:: X-coordinate of other corner of pickup zone
+
| p6d        = Y-coordinate of other corner of pickup zone
: [''flt6'']
+
| p7t        = [''flt7'']
:: Y-coordinate of other corner of pickup zone
+
| p7d        = X-coordinate of drop off point
: [''flt7'']
+
| p8t        = [''flt8'']
:: X-coordinate of drop off point
+
| p8d        = Y-coordinate of drop off point
: [''flt8'']
+
| p9t        = [''flt9'']
:: Y-coordinate of drop off point
+
| p9d        = Z-coordinate of drop off point
: [''flt9'']
+
| p10t        = [''flt10'']
:: Z-coordinate of drop off point
+
| p10d        = [[Heading]] of drop off point in degrees
: [''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. 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. If the crane have a magnet, the height of the magnet is lowered. 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 38: Line 37:
  
 
== 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]]
 

Revision as of 07:33, 29 February 2016

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 pickup zone
[flt4]
Y-coordinate of one corner of pickup zone
[flt5]
X-coordinate of other corner of pickup zone
[flt6]
Y-coordinate of other corner of pickup 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. If the crane have a magnet, the height of the magnet is lowered. 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.

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