Difference between revisions of "02FB"
(Created page with "{{Icon|3}} '''ACTIVATE_CRUSHER_CRANE''' <hr /> '''Description''' : Activates a crusher crane '''Syntax''' : 02FB: create_crusher_crane [''flt1''] [''flt2''] [''flt3''] [''...") |
m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon|3}} | + | [[File:Crusher.jpg|thumb|The crusher crane]] |
− | < | + | {{OpCode |
− | + | | games = {{Icon|3}} | |
− | + | | command = ACTIVATE_<wbr>CRUSHER_<wbr>CRANE | |
− | + | | description = Activates a crusher [[crane]] | |
− | + | | syntax1 = 02FB: create_crusher_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10''] | |
− | + | | p1t = [''flt1''] | |
− | + | | p1d = X-coordinate of location of crane | |
− | + | | p2t = [''flt2''] | |
− | + | | p2d = Y-coordinate of location of crane | |
− | + | | p3t = [''flt3''] | |
− | + | | p3d = X-coordinate of one corner of pick up zone | |
− | + | | p4t = [''flt4''] | |
− | + | | p4d = Y-coordinate of one corner of pick up zone | |
− | + | | p5t = [''flt5''] | |
− | + | | p5d = X-coordinate of other corner of pick up zone | |
− | + | | p6t = [''flt6''] | |
− | + | | p6d = Y-coordinate of other corner of pick up zone | |
− | + | | p7t = [''flt7''] | |
− | + | | p7d = X-coordinate of drop off point | |
− | + | | p8t = [''flt8''] | |
− | + | | p8d = Y-coordinate of drop off point | |
− | + | | p9t = [''flt9''] | |
− | + | | p9d = Z-coordinate of drop off point | |
− | + | | p10t = [''flt10''] | |
− | + | | p10d = [[Heading]] of drop off point in degrees | |
− | + | }} | |
− | This opcode grabs and activates a crane that | + | 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 33: | Line 33: | ||
* 118 (Securicar) | * 118 (Securicar) | ||
* 121 (Bus) | * 121 (Bus) | ||
+ | * 122 (Rhino) | ||
* 126 (Dodo) | * 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 == | == 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 | ||
− | |||
− |
Latest revision as of 15:34, 27 June 2016
- 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
External link
- GTAGarage: SilentPatch, allows the crusher crane to lift the Blista and not the Coach