Difference between revisions of "02FB"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[File:Crusher.jpg|thumb | + | [[File:Crusher.jpg|thumb|The crusher crane]] |
{{OpCode | {{OpCode | ||
| games = {{Icon|3}} | | games = {{Icon|3}} | ||
Line 10: | Line 10: | ||
| p2d = Y-coordinate of location of crane | | p2d = Y-coordinate of location of crane | ||
| p3t = [''flt3''] | | p3t = [''flt3''] | ||
− | | p3d = X-coordinate of one corner of | + | | p3d = X-coordinate of one corner of pick up zone |
| p4t = [''flt4''] | | p4t = [''flt4''] | ||
− | | p4d = Y-coordinate of one corner of | + | | p4d = Y-coordinate of one corner of pick up zone |
| p5t = [''flt5''] | | p5t = [''flt5''] | ||
− | | p5d = X-coordinate of other corner of | + | | p5d = X-coordinate of other corner of pick up zone |
| p6t = [''flt6''] | | p6t = [''flt6''] | ||
− | | p6d = Y-coordinate of other corner of | + | | p6d = Y-coordinate of other corner of pick up zone |
| p7t = [''flt7''] | | p7t = [''flt7''] | ||
| p7d = X-coordinate of drop off point | | p7d = X-coordinate of drop off point | ||
Line 27: | Line 27: | ||
}} | }} | ||
− | 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 has a magnet, | + | 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 == |
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