0368

From GTAMods Wiki
Revision as of 07:29, 29 February 2016 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

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 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 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, 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