Difference between revisions of "02EC"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "thumb|02EC pickup in Vice City {{Icon|3}} {{Icon|VC}} '''CREATE_COLLECTABLE1''' <hr /> '''Description''' : Creates a hidden package pickup '''Syntax'...")
 
Line 14: Line 14:
 
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]] + 0.5 units)
 
:: Z-coordinate (or ''-100.0'' for [[02CE|ground z]] + 0.5 units)
  
In GTA III, this opcode creates a [[0213#GTA III|type 5]] hidden package pickup. In Vice City, this opcode creates a [[0213#Vice City|type 6]] hidden package pickup. As a pickup, it spins, glows using [[024F|corona]] type 5 (hexagon), uses the <code>package1</code> [[DFF]] model, and can be "picked up" by walking through it. Each time a package is collected, [[GXT]] string <code>CO_ONE</code> (Hidden Package ''X'' of ''Y'') appears, where ''X'' is the number of packages collected so far and ''Y'' is the set [[02ED|total number of packages]], and affects the statistics as described in [[02ED]]. The player is rewarded $1,000 in GTA III and $100 in Vice City, and [[SFX]] 163 is played in GTA III and SFX 364 is played in Vice City. When the number of packages collected so far matches the set total number of packages, GXT string <code>CO_ALL</code> is displayed and the player is rewarded $1,000,000 in GTA III and $100,000 in Vice City. If the total number of packages is not set, the games default the total to 3. Additional packages can still be collected and recorded into the stats.
+
In GTA III, this opcode creates a [[0213#GTA III|type 5]] hidden package pickup. In Vice City, this opcode creates a [[0213#Vice City|type 6]] hidden package pickup. As a pickup, it spins, glows using [[024F|corona]] type 5 (hexagon), uses the <code>package1</code> [[DFF]] model, and can be "picked up" by walking through it. This opcode is almost equivalent to opcode [[0213]] but the model is preset and a pickup handle is not stored.
 +
 
 +
The hidden package pickup type in general behaves as follows. Each time a package is collected, [[GXT]] string <code>CO_ONE</code> (Hidden Package ''X'' of ''Y'') appears, where ''X'' is the number of packages collected so far and ''Y'' is the set [[02ED|total number of packages]], and affects the statistics as described in [[02ED]]. The player is rewarded $1,000 in GTA III and $100 in Vice City, and [[SFX]] 163 is played in GTA III and SFX 364 is played in Vice City. When the number of packages collected so far matches the set total number of packages, GXT string <code>CO_ALL</code> is displayed and the player is rewarded $1,000,000 in GTA III and $100,000 in Vice City. If the total number of packages is not set, the games default the total to 3. Additional packages can still be collected and recorded into the stats. Packages can only be picked up once.
  
 
== Keywords ==
 
== Keywords ==

Revision as of 03:01, 5 September 2015

File:02EC.png
02EC pickup in Vice City

GTA III Vice City CREATE_COLLECTABLE1


Description

Creates a hidden package pickup

Syntax

02EC: put_hidden_package_at [flt1] [flt2] [flt3]

Parameter

[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or -100.0 for ground z + 0.5 units)

In GTA III, this opcode creates a type 5 hidden package pickup. In Vice City, this opcode creates a type 6 hidden package pickup. As a pickup, it spins, glows using corona type 5 (hexagon), uses the package1 DFF model, and can be "picked up" by walking through it. This opcode is almost equivalent to opcode 0213 but the model is preset and a pickup handle is not stored.

The hidden package pickup type in general behaves as follows. Each time a package is collected, GXT string CO_ONE (Hidden Package X of Y) appears, where X is the number of packages collected so far and Y is the set total number of packages, and affects the statistics as described in 02ED. The player is rewarded $1,000 in GTA III and $100 in Vice City, and SFX 163 is played in GTA III and SFX 364 is played in Vice City. When the number of packages collected so far matches the set total number of packages, GXT string CO_ALL is displayed and the player is rewarded $1,000,000 in GTA III and $100,000 in Vice City. If the total number of packages is not set, the games default the total to 3. Additional packages can still be collected and recorded into the stats. Packages can only be picked up once.

Keywords

create, put, hidden, package, collectible, collectable