Difference between revisions of "02EC"
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[File:02EC.png| | + | <div class="thumb tright"><div class="thumbinner" style="width:304px;"> |
− | {{Icon|3}} {{Icon|VC}} | + | {| cellspacing="0" |
− | + | |- | |
− | + | | class="thumbimage" | [[File:III 02EC.png|300px]] | |
− | + | |- | |
− | + | | style="padding: 0;" | <div class="thumbcaption">A hidden package pickup in GTA III.</div> | |
− | + | |- | |
− | + | | class="thumbimage" | [[File:VC 02EC.png|300px]] | |
− | + | |- | |
− | + | | style="padding: 0;" | <div class="thumbcaption">A hidden package pickup in Vice City.</div> | |
− | + | |} | |
− | + | </div></div> | |
− | + | {{OpCode | |
− | + | | games = {{Icon|3}} {{Icon|VC}} | |
+ | | command = CREATE_<wbr>COLLECTABLE1 | ||
+ | | description = Creates a [[hidden package]] [[pickup]] | ||
+ | | syntax1 = 02EC: put_hidden_package_at [''flt1''] [''flt2''] [''flt3''] | ||
+ | | p1t = [''flt1''] | ||
+ | | p1d = X-coordinate | ||
+ | | p2t = [''flt2''] | ||
+ | | p2d = Y-coordinate | ||
+ | | p3t = [''flt3''] | ||
+ | | p3d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]] + 0.5 units) | ||
+ | }} | ||
− | This opcode creates a | + | This opcode creates a pickup of [[0213#Pickup types|type PICKUP_COLLECTABLE1]] (type 5 in GTA III, type 6 in Vice City) at the coordinates point. It uses a model that [[MatchModelString|matches the name <code>package1</code>]], which produces a unique type 5 [[024F|corona hexagon]] around the package. This opcode is almost equivalent to opcode [[0213]] but the model is preset and a pickup handle is not generated. |
− | The hidden package pickup type in general behaves as follows. Each time a package is collected, [[GXT]] | + | The hidden package pickup type in general behaves as follows. Like most pickups, the package can be "picked up" by walking through it. Each time a package is collected, [[GXT]] key <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 key <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 == | ||
create, put, hidden, package, collectible, collectable, pickup | create, put, hidden, package, collectible, collectable, pickup | ||
− | |||
− |
Latest revision as of 07:13, 23 December 2016
- 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)
This opcode creates a pickup of type PICKUP_COLLECTABLE1 (type 5 in GTA III, type 6 in Vice City) at the coordinates point. It uses a model that matches the name package1
, which produces a unique type 5 corona hexagon around the package. This opcode is almost equivalent to opcode 0213 but the model is preset and a pickup handle is not generated.
The hidden package pickup type in general behaves as follows. Like most pickups, the package can be "picked up" by walking through it. Each time a package is collected, GXT key 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 key 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, pickup