Difference between revisions of "010C"
m |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
| command = GIVE_<wbr>REMOTE_<wbr>CONTROLLED_<wbr>CAR_<wbr>TO_<wbr>PLAYER | | command = GIVE_<wbr>REMOTE_<wbr>CONTROLLED_<wbr>CAR_<wbr>TO_<wbr>PLAYER | ||
| description = Gives the player remote control of an RC Bandit | | description = Gives the player remote control of an RC Bandit | ||
− | | syntax1 = 010C: | + | | syntax1 = 010C: change_<wbr>player_<wbr>into_<wbr>rc_<wbr>buggy [''player handle''] at [''flt1''] [''flt2''] [''flt3''] [''flt4''] |
| p1t = [''player handle''] | | p1t = [''player handle''] | ||
| p1d = The [[0053|handle of the player]] | | p1d = The [[0053|handle of the player]] | ||
Line 18: | Line 18: | ||
}} | }} | ||
− | 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 | + | 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 character is not controllable while this is happening. The controls for the Bandit are the same as a car. The Bandit can self destruct by pressing [[00E1|button 17]] (ATTACK key) 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 level]]s 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, there are zones where the RC Bandit will immediately explode. They are all located inside tunnels or on bridges. | + | In GTA III, there are zones where the RC Bandit will immediately explode. They are all located inside tunnels or on bridges. As it explodes, a [[Text#Garage message|message]] with [[GXT]] key <code>HM2_5</code> ("Out of range!") is displayed before the camera fades as usual. This occurs regardless of range. |
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. | 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. | ||
== See also == | == See also == | ||
− | * {{Icon|t}} [[046E]], gives the player remote control of any model | + | * {{Icon|t}} [[046E]], gives the player remote control of any model |
− | * {{Icon| | + | * {{Icon|VC}} {{Icon|SA}} [[048A]], sets manual detonation of RC vehicles |
− | * {{Icon| | + | * {{Icon|VC}} {{Icon|SA}} [[04D6]], sets detonation on contact of RC Bandits |
== Keywords == | == Keywords == | ||
− | give, player, remote, controlled, car, rc, bandit, buggy | + | give, player, remote, controlled, car, rc, bandit, buggy |
Latest revision as of 20:03, 6 December 2016
GIVE_
- 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 character is not controllable while this is happening. The controls for the Bandit are the same as a car. The Bandit can self destruct by pressing button 17 (ATTACK key) 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, there are zones where the RC Bandit will immediately explode. They are all located inside tunnels or on bridges. As it explodes, a message with GXT key HM2_5
("Out of range!") is displayed before the camera fades as usual. This occurs regardless of range.
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.
See also
- 046E, gives the player remote control of any model
- 048A, sets manual detonation of RC vehicles
- 04D6, sets detonation on contact of RC Bandits
Keywords
give, player, remote, controlled, car, rc, bandit, buggy