Difference between revisions of "02C3"

From GTAMods Wiki
Jump to navigation Jump to search
(added locations)
Line 19: Line 19:
 
:: Value of 0
 
:: 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. 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. Once picked, the player's 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."
  
 
== Locations ==
 
== Locations ==

Revision as of 20:22, 12 August 2015

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. Once picked, the player's 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."

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

  • 02C7, creates a collection of platinum pickups