Difference between revisions of "02F1"
(Created page with "thumb|02F1 pickup {{Icon|3}} '''DROP_<wbr>NAUTICAL_<wbr>MINE''' <hr /> '''Description''' : Creates a nautical mine pickup '''Syntax''' : 02F1: create_exp...") |
m |
||
Line 1: | Line 1: | ||
[[File:02F1.png|thumb|02F1 pickup]] | [[File:02F1.png|thumb|02F1 pickup]] | ||
− | {{Icon|3}} | + | {{OpCode |
− | + | | games = {{Icon|3}} | |
− | + | | command = DROP_<wbr>NAUTICAL_<wbr>MINE | |
− | + | | description = Creates a nautical mine [[pickup]] | |
− | + | | syntax1 = 02F1: create_explosive_barrel_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 [[0213#Pickup types|type 10]] nautical mine pickup. It uses the <code>barrel2</code> | + | This opcode creates a [[0213#Pickup types|type 10]] nautical mine pickup. It uses a model that [[MatchModelString#GTA III|matches the name <code>barrel2</code>]], which produces a unique type 7 [[024F|corona ring]] around the barrel. This opcode is almost equivalent to opcode [[0213]] but the model is preset and a pickup handle is not stored. The nautical mine pickup type in general behaves as follows. The pickup cannot be interacted while on foot. Once created, the mine is set to detonate in 10 seconds. Any vehicle driving over the mine also detonates it. The resulting explosion is a type 6 [[020C|mine explosion]]. If the mine is created over land, the opcode obeys the z-coordinate parameter, but if the mine is created over water, the opcode ignores the z-coordinate parameter and always creates the mine on water surface. The pickup is unlike most pickups in that it can bob up and down with the waves of the water. |
== For Vice City == | == For Vice City == | ||
This opcode does not exist in Vice City but the pickup can be recreated using opcode 0213. | This opcode does not exist in Vice City but the pickup can be recreated using opcode 0213. | ||
− | < | + | {{Pre|class=sb-code|1= |
− | + | 0213: [<span class="k">var</span>] = create_pickup <span class="nt">#BARREL2</span> type <span class="m">11</span> at [flt1] [flt2] [flt3] | |
− | + | }} | |
The main difference is [''var''] is a variable to store the handle of the pickup. The behavior of the barrel and pickup remains the same as GTA III. | The main difference is [''var''] is a variable to store the handle of the pickup. The behavior of the barrel and pickup remains the same as GTA III. | ||
== Keywords == | == Keywords == | ||
drop, create, explosive, barrel, nautical, mine | drop, create, explosive, barrel, nautical, mine | ||
− | |||
− |
Latest revision as of 12:24, 26 November 2016
- Description
- Creates a nautical mine pickup
- Syntax
- 02F1: create_explosive_barrel_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 type 10 nautical mine pickup. It uses a model that matches the name barrel2
, which produces a unique type 7 corona ring around the barrel. This opcode is almost equivalent to opcode 0213 but the model is preset and a pickup handle is not stored. The nautical mine pickup type in general behaves as follows. The pickup cannot be interacted while on foot. Once created, the mine is set to detonate in 10 seconds. Any vehicle driving over the mine also detonates it. The resulting explosion is a type 6 mine explosion. If the mine is created over land, the opcode obeys the z-coordinate parameter, but if the mine is created over water, the opcode ignores the z-coordinate parameter and always creates the mine on water surface. The pickup is unlike most pickups in that it can bob up and down with the waves of the water.
For Vice City
This opcode does not exist in Vice City but the pickup can be recreated using opcode 0213.
0213: [var] = create_pickup #BARREL2 type 11 at [flt1] [flt2] [flt3]
The main difference is [var] is a variable to store the handle of the pickup. The behavior of the barrel and pickup remains the same as GTA III.
Keywords
drop, create, explosive, barrel, nautical, mine