Difference between revisions of "02C7"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "thumb|Platinum pickups created through 02C7 in GTA III {{OpCode | games = {{Icon|3}} | command = START_PACMAN_SCRAMBLE | description = Creates a co...")
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:02C7.jpg|thumb|Platinum pickups created through 02C7 in GTA III]]
+
[[File:02C7.jpg|thumb|Platinum pickups created through 02C7 in GTA III.]]
 
{{OpCode
 
{{OpCode
 
| games      = {{Icon|3}}
 
| games      = {{Icon|3}}
| command    = START_PACMAN_SCRAMBLE
+
| command    = START_<wbr>PACMAN_<wbr>SCRAMBLE
 
| description = Creates a collection of [[Pickup#Pac-Man pickups|platinum pickups]]
 
| description = Creates a collection of [[Pickup#Pac-Man pickups|platinum pickups]]
 
| syntax1    = 02C7: scatter_platinum [''int''] at [''flt1''] [''flt2''] [''flt3''] [''flt4'']
 
| syntax1    = 02C7: scatter_platinum [''int''] at [''flt1''] [''flt2''] [''flt3''] [''flt4'']
| p1t        = [''int'']
+
| p1t        = [''flt1'']
| p1d         = Number of pickups
+
| p1d        = X-coordinate
| p2t        = [''flt1'']
+
| p2t         = [''flt2'']
| p2d         = X-coordinate
+
| p2d         = Y-coordinate
| p3t         = [''flt2'']
+
| p3t         = [''flt3'']
| p3d         = Y-coordinate
+
| p3d         = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
| p4t         = [''flt3'']
+
| p4t         = [''flt4'']
| p4d         = Z-coordinate (or &le;''-100.0'' for [[02CE|ground z]])
+
| p4d         = Maximum distance
| p5t         = [''flt4'']
+
| p5t        = [''int'']
| p5d         = Maximum distance
+
| p5d        = Number of pickups
 
}}
 
}}
  
This opcode creates a collection of platinum pickups. Each pickup is pseudorandomly placed on a point within a rectangular area, up to the x-coordinate plus or minus the maximum distance and y-coordinate minus the maximum distance. The point also must be above collision that is considered a "road", which is an object that has a [[PATH (IDE Section)|PATH]] attached to it. If no such point is found, the game will lock up without producing a crash. The pickups are created using the <code>bullion</code> [[model]] and can only be picked up while the player is in a vehicle. Every pickup collected increases your [[Wanted level|chaos level]] by 10. The original script called this opcode during "Bullion Run".
+
This opcode creates a collection of platinum pickups. Each pickup is pseudorandomly placed on a point within a rectangular area, up to the x-coordinate plus or minus the maximum distance and y-coordinate minus the maximum distance. The point also must be above collision that is considered a "road," which is an object that has a [[PATH (IDE Section)|PATH]] attached to it. If no such point is found, the game will lock up without producing a crash. The pickups are created using a model that [[MatchModelString#GTA III|matches the name <code>bullion</code>]] and can only be picked up while the player is in a vehicle. Every pickup collected increases your [[Wanted level|chaos level]] by 10, increases the vehicle's resistance to acceleration and turn, and increases the vehicle's mass. The original script called this opcode during "Bullion Run".
  
 
== Keywords ==
 
== Keywords ==
start, create, scatter, bullion, platinum, pickup, pacman, scramble
+
start, create, scatter, bullion, platinum, {{K|pickup}}, pacman, scramble
  
 
== See also ==
 
== See also ==
 
* {{Icon|3}} [[02C3]], creates a collection of donkey magazine pickups
 
* {{Icon|3}} [[02C3]], creates a collection of donkey magazine pickups

Latest revision as of 00:36, 4 December 2016

Platinum pickups created through 02C7 in GTA III.

GTA III START_PACMAN_SCRAMBLE


Description
Creates a collection of platinum pickups
Syntax
02C7: scatter_platinum [int] at [flt1] [flt2] [flt3] [flt4]
Parameter
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z)
[flt4]
Maximum distance
[int]
Number of pickups

This opcode creates a collection of platinum pickups. Each pickup is pseudorandomly placed on a point within a rectangular area, up to the x-coordinate plus or minus the maximum distance and y-coordinate minus the maximum distance. The point also must be above collision that is considered a "road," which is an object that has a PATH attached to it. If no such point is found, the game will lock up without producing a crash. The pickups are created using a model that matches the name bullion and can only be picked up while the player is in a vehicle. Every pickup collected increases your chaos level by 10, increases the vehicle's resistance to acceleration and turn, and increases the vehicle's mass. The original script called this opcode during "Bullion Run".

Keywords

start, create, scatter, bullion, platinum, pickup, pacman, scramble

See also

  • GTA III 02C3, creates a collection of donkey magazine pickups