Difference between revisions of "02C3"

From GTAMods Wiki
Jump to navigation Jump to search
m (chaos level affects 02C7)
Line 9: Line 9:
 
|}
 
|}
 
</div></div>
 
</div></div>
{{Icon|3}} '''START_PACMAN_RACE'''
+
{{OpCode
<hr />
+
| games      = {{Icon|3}}
'''Description'''
+
| command    = START_PACMAN_RACE
: Creates a collection of donkey magazine pickups
+
| description = Creates a collection of donkey magazine pickups
'''Syntax'''
+
| syntax1    = 02C3: create_donkey_mags [''int'']
: 02C3: create_donkey_mags [''int'']
+
| p1t        = [''int'']
'''Parameter'''
+
| p1d        = Value of 0
: [''int'']
+
}}
:: Value of 0
 
  
This opcode creates a collection of donkey magazine [[pickup]]s. The entire collection is interestingly named "Pacman" and the pickups "Power Pills," references to the [[wikipedia:Pac-Man|''Pac-Man'']] arcade game. The pickups are created using the <code>donkeymag</code> [[model]] and can only be picked up while the player is in a vehicle. Once picked, the player's [[Wanted_level#Chaos_Level|chaos level]] is increased by 10 points (40 chaos points produces a wanted level of 1). There are a total of 106 pickups and their locations are [[hardcoded]] into the game. Opcode [[02C5]] gets the number of pills "eaten" and opcode [[02C6]] clears all the pickups. Calling this opcode again without first clearing them can crash the game. Values other than 0 produce no effect. The original script called this opcode during "Big'N'Veiny."
+
This opcode creates a collection of donkey magazine [[pickup]]s. The entire collection is interestingly named "Pacman" and the pickups "Power Pills," references to the [[wikipedia:Pac-Man|''Pac-Man'']] arcade game. The pickups are created using the <code>donkeymag</code> [[model]] and can only be picked up while the player is in a vehicle. There are a total of 106 pickups and their locations are [[hardcoded]] into the game. Opcode [[02C5]] gets the number of pills "eaten" and opcode [[02C6]] clears all the pickups. Calling this opcode again without first clearing them can crash the game. Values other than 0 produce no effect. The original script called this opcode during "Big'N'Veiny."
  
 
== Locations ==
 
== Locations ==
Line 245: Line 244:
  
 
== See also ==
 
== See also ==
* [[02C7]], creates a collection of platinum pickups
+
* {{Icon|3}} [[02C7]], creates a collection of platinum pickups
 
 
[[Category:OpCodes]]
 

Revision as of 18:07, 1 August 2016

02C3.jpg 02C3-map.jpg
Some of the many donkey magazine pickups created by the opcode
A map of all donkey magazine pickups

GTA III START_PACMAN_RACE


Description
Creates a collection of donkey magazine pickups
Syntax
02C3: create_donkey_mags [int]
Parameter
[int]
Value of 0

This opcode creates a collection of donkey magazine pickups. The entire collection is interestingly named "Pacman" and the pickups "Power Pills," references to the Pac-Man arcade game. The pickups are created using the donkeymag model and can only be picked up while the player is in a vehicle. There are a total of 106 pickups and their locations are hardcoded into the game. Opcode 02C5 gets the number of pills "eaten" and opcode 02C6 clears all the pickups. Calling this opcode again without first clearing them can crash the game. Values other than 0 produce no effect. The original script called this opcode during "Big'N'Veiny."

Locations

This is a list of all pickup locations that can be created with this opcode. In GTA III v1.0, their address in memory starts at 0x5ED94C.

Keywords

create, donkey, mag, mags, pickup, pacman, race, big n veiny

See also

  • GTA III 02C7, creates a collection of platinum pickups