Difference between revisions of "0368"

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_MILITARY_CRANE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = ACTIVATE_MILITARY_CRANE
: Activates a military [[crane]]
+
| description = Activates a military [[crane]]
'''Syntax'''
+
| syntax1    = 0368: create_ev_crane [''flt1''] [''flt2''] [''flt3''] [''flt4''] [''flt5''] [''flt6''] [''flt7''] [''flt8''] [''flt9''] [''flt10'']
: 0368: create_ev_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 pick up zone
: [''flt3'']
+
| p4t        = [''flt4'']
:: X-coordinate of one corner of pickup zone
+
| p4d        = Y-coordinate of one corner of pick up zone
: [''flt4'']
+
| p5t        = [''flt5'']
:: Y-coordinate of one corner of pickup zone
+
| p5d        = X-coordinate of other corner of pick up zone
: [''flt5'']
+
| p6t        = [''flt6'']
:: X-coordinate of other corner of pickup zone
+
| p6d        = Y-coordinate of other corner of pick up 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 emergency vehicles for exporting. Fans generally call this crane the emergency vehicle crane (or EV crane) because the vehicles it accepts are all the emergency vehicles in the game. The crane behaves similarly to ones activated by opcode [[01EE]] with the following differences. When you deliver a vehicle model it does not accept at all, [[GXT]] string <code>GA_19</code> ("We're not interested in that model.") is displayed and the crane refuses the vehicle. The following vehicle models based on their [[IDE]] values are accepted by cranes activated with this opcode:
+
This opcode grabs and activates a crane that accepts emergency vehicles for exporting. Fans generally call this crane the emergency vehicle crane (or EV crane) because the vehicles it accepts are all the emergency vehicles in the game. The crane behaves similarly to ones activated by opcode [[01EE]] with the following differences. The height of the pick up zone is set at 10.7862 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 at all, a [[Text#Garage message|message]] with [[GXT]] key <code>GA_19</code> ("We're not interested in that model.") is displayed and the crane refuses the vehicle. The following vehicle models based on their [[IDE]] values are accepted by cranes activated with this opcode:
 
* 97 (Firetruck)
 
* 97 (Firetruck)
 
* 106 (Ambulance)
 
* 106 (Ambulance)
Line 34: Line 33:
 
* 117 (Enforcer)
 
* 117 (Enforcer)
 
* 122 (Rhino)
 
* 122 (Rhino)
* 123 (Barrack OL)
+
* 123 (Barracks OL)
When the crane drops off the vehicle, the vehicle disappears immediately, you are rewarded $1,500, and GXT string <code>GA_10</code> ("Nice one. Here's your $1500") is displayed. The crane accepts vehicles of the same model only once. If you attempt to deliver it again, GXT string <code>GA_20</code> ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the crane refuses the vehicle. This refusal applies globally if you have more than one military cranes. Opcode [[03EC]] can be used to check if all vehicles have been collected by the crane.
+
When the crane drops off the vehicle, the vehicle disappears immediately. On all but the seventh and last vehicle, you are then rewarded $1,500 and a message with GXT key <code>GA_10</code> ("Nice one. Here's your $1500") is displayed. Regardless of order, the last vehicle delivered yields nothing. The crane accepts vehicles of the same model only once. If you attempt to deliver it again, a message with GXT key <code>GA_20</code> ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the crane refuses the vehicle. This refusal applies globally if you have more than one military cranes. Opcode [[03EC]] can be used to check if all vehicles have been collected by the crane.
 +
 
 +
== For Vice City ==
 +
In Vice City, almost all code for the military crane was leftover but there is no way to activate them. If activated, the following vehicle models based on their [[IDE]] values are accepted by the crane:
 +
* 137 (Firetruck)
 +
* 146 (Ambulance)
 +
* 156 (Police)
 +
* 157 (Enforcer)
 +
* 162 (Rhino)
 +
* 163 (Barracks OL)
 +
* 220 (FBI Rancher)
 +
The behaviors of the crane mimic GTA III.
 +
* {{GTAG|27286|Emergency Vehicle Crane}}, by {{U|spaceeinstein}} &ndash; activates the military crane in Vice City
  
 
== Keywords ==
 
== Keywords ==
activate, military, crane
+
activate, create, military, ev, emergency, vehicle, crane
  
 
== See also ==
 
== See also ==
* [[01EE]], activate crane
+
* {{Icon|3}} [[01EE]], activate crane
* [[02FB]], activate crusher crane
+
* {{Icon|3}} [[02FB]], activate crusher crane
 
 
[[Category:OpCodes]]
 

Latest revision as of 15:37, 27 June 2016

GTA III ACTIVATE_MILITARY_CRANE


Description
Activates a military crane
Syntax
0368: create_ev_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 emergency vehicles for exporting. Fans generally call this crane the emergency vehicle crane (or EV crane) because the vehicles it accepts are all the emergency vehicles in the game. The crane behaves similarly to ones activated by opcode 01EE with the following differences. The height of the pick up zone is set at 10.7862 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 at all, a message with GXT key GA_19 ("We're not interested in that model.") is displayed and the crane refuses the vehicle. The following vehicle models based on their IDE values are accepted by cranes activated with this opcode:

  • 97 (Firetruck)
  • 106 (Ambulance)
  • 107 (Fbi Car)
  • 116 (Police)
  • 117 (Enforcer)
  • 122 (Rhino)
  • 123 (Barracks OL)

When the crane drops off the vehicle, the vehicle disappears immediately. On all but the seventh and last vehicle, you are then rewarded $1,500 and a message with GXT key GA_10 ("Nice one. Here's your $1500") is displayed. Regardless of order, the last vehicle delivered yields nothing. The crane accepts vehicles of the same model only once. If you attempt to deliver it again, a message with GXT key GA_20 ("We got more of these than we can shift. Sorry man, no deal.") is displayed and the crane refuses the vehicle. This refusal applies globally if you have more than one military cranes. Opcode 03EC can be used to check if all vehicles have been collected by the crane.

For Vice City

In Vice City, almost all code for the military crane was leftover but there is no way to activate them. If activated, the following vehicle models based on their IDE values are accepted by the crane:

  • 137 (Firetruck)
  • 146 (Ambulance)
  • 156 (Police)
  • 157 (Enforcer)
  • 162 (Rhino)
  • 163 (Barracks OL)
  • 220 (FBI Rancher)

The behaviors of the crane mimic GTA III.

Keywords

activate, create, military, ev, emergency, vehicle, crane

See also

  • GTA III 01EE, activate crane
  • GTA III 02FB, activate crusher crane