Difference between revisions of "010C"

From GTAMods Wiki
Jump to navigation Jump to search
(page updates)
Line 1: Line 1:
{{OpCode
+
[[File:010C.jpg|thumb|300px|Remotely controlling an RC Bandit from a Top Fun van in Vice City.]]
| ini        = 010C=5,%1d% %2d% %3d% %4d% %5d%
+
{{Icon|3}} {{Icon|VC}} '''GIVE_<wbr>REMOTE_<wbr>CONTROLLED_<wbr>CAR_<wbr>TO_<wbr>PLAYER'''
| description = Lets the player spawn and control an RC Bandit
+
<hr />
| p1          = Player handle
+
'''Description'''
| p2          = X-coordinate
+
: Gives the player remote control of an RC Bandit
| p3          = Y-coordinate
+
'''Syntax'''
| p4          = Z-coordinate
+
: 010C: change_player_into_rc_buggy [''player handle''] at [''flt1''] [''flt2''] [''flt3''] [''flt4'']
| p5          = [[Angle]]
+
'''Parameter'''
| game        = [[GTA 3]], [[Vice City]]
+
: [''player handle'']
}}
+
:: The [[0053|handle of the player]]
This opcode lets the player spawn and remotely control an RC Bandit. The RC Bandit needs to be loaded using opcode [[0247]] or else the game will crash. The opcode is meant to be used while the player is in a vehicle. When it's used properly, an RC Bandit is created and the camera and controls will focus 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. The player is not immune to the Bandit's destruction. After the Bandit is destroyed, the camera fades and repositions to the player. The player regains full control and the Bandit is removed.
+
: [''flt1'']
 +
:: X-coordinate
 +
: [''flt2'']
 +
:: Y-coordinate
 +
: [''flt3'']
 +
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]])
 +
: [''flt4'']
 +
:: [[Heading]]
  
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.
+
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.
  
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. The explosions will be considered part of the player's action, being able to gain wanted levels through the destruction of the Bandit. Using this opcode while in RC mode will detonate the recently created Bandit while leaving the previous Bandit alone. These problems do not exist in Vice City.
+
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.
 
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
 +
 +
[[Category:OpCodes]]

Revision as of 00:29, 24 July 2015

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