010C

From GTAMods Wiki
Revision as of 00:29, 24 July 2015 by Spaceeinstein (talk | contribs) (page updates)
Jump to navigation Jump to search
Remotely controlling an RC Bandit from a Top Fun van in Vice City.

GTA III Vice City GIVE_REMOTE_CONTROLLED_CAR_TO_PLAYER


Description

Gives the player remote control of an RC Bandit

Syntax

010C: change_player_into_rc_buggy [player handle] at [flt1] [flt2] [flt3] [flt4]

Parameter

[player handle]
The handle of the player
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or -100.0 for ground z)
[flt4]
Heading

This opcode spawns an RC Bandit and gives remote control of it to the player. The RC Bandit model must be loaded using opcode 0247 or else the game may crash. The opcode is intended to be used while the player is in a vehicle. When used as intended, an RC Bandit is created at the location and the camera and controls will refocus on the Bandit. The player is not controllable while this is happening. The controls for the Bandit is the same as a car. The Bandit can self destruct by pressing the attack button or by colliding into the wheel of any vehicles, both of which can be disabled through opcodes 048A and 04D6 respectively. The explosions are considered part of the player's action, so you can gain wanted levels through the destruction of the Bandit. The player is not immune to the Bandit's destruction. After the Bandit is destroyed, the camera fades and refocuses the camera and controls to the player. The Bandit is then removed.

A whole set of problems arise when using this opcode past its intended restrictions. Although not recommended, if the opcode is used while the player is on foot, the player is fully controllable while controlling the Bandit. The player can even enter and drive other vehicles while controlling the Bandit. Controls for the Bandit is different when on foot than when in a car. In GTA III, if the player gets killed while in RC mode, the player will remain in RC mode after respawning. If the Bandit is also destroyed while wasted in RC mode, the camera position will remain stuck. Using this opcode while already in RC mode will detonate the recently created Bandit while leaving the previous Bandit alone.

This opcode is superseded in Vice City and San Andreas by opcode 046E, which can use any vehicle in the game but lacks the instant explosion upon contact that the Bandit has.

See also

  • 048A, sets the RC Bandit's ability to manually detonate
  • 04D6, sets the RC Bandit's ability to detonate on contact

Keywords

give, player, remote, controlled, car, rc, bandit, buggy, car