Difference between revisions of "032B"
Jump to navigation
Jump to search
m |
m |
||
Line 27: | Line 27: | ||
If the model of the pickup is <code>bonus.dff</code>, the ammo count sets text to display floating above the pickup. In Vice City, both <code>bonus.dff</code> amd <code>clothesp.dff</code> can display the pickup text. Opcode [[055B]] behaves the same way. | If the model of the pickup is <code>bonus.dff</code>, the ammo count sets text to display floating above the pickup. In Vice City, both <code>bonus.dff</code> amd <code>clothesp.dff</code> can display the pickup text. Opcode [[055B]] behaves the same way. | ||
=== GTA III === | === GTA III === | ||
− | {| class="wikitable" | + | {|class="wikitable" |
− | ! Ammo || [[GXT]] | + | !Ammo ||[[GXT]] key ||Text |
|- | |- | ||
− | | 1 || SECURI || Securicar | + | |1 ||SECURI ||Securicar |
|- | |- | ||
− | | 2 || MOONBM || Moonbeam | + | |2 ||MOONBM ||Moonbeam |
|- | |- | ||
− | | 3 || COACH || Coach | + | |3 ||COACH ||Coach |
|- | |- | ||
− | | 4 || FLATBED || Flatbed | + | |4 ||FLATBED ||Flatbed |
|- | |- | ||
− | | 5 || LINERUN || Linerunner | + | |5 ||LINERUN ||Linerunner |
|- | |- | ||
− | | 6 || TRASHM || Trashmaster | + | |6 ||TRASHM ||Trashmaster |
|- | |- | ||
− | | 7 || PATRIOT || Patriot | + | |7 ||PATRIOT ||Patriot |
|- | |- | ||
− | | 8 || WHOOPEE || Mr Whoopee | + | |8 ||WHOOPEE ||Mr Whoopee |
|- | |- | ||
− | | 9 || BLISTA || Blista | + | |9 ||BLISTA ||Blista |
|- | |- | ||
− | | 10 || MULE || Mule | + | |10 ||MULE ||Mule |
|- | |- | ||
− | | 11 || YANKEE || Yankee | + | |11 ||YANKEE ||Yankee |
|- | |- | ||
− | | 12 || BOBCAT || Bobcat | + | |12 ||BOBCAT ||Bobcat |
|- | |- | ||
− | | 13 || DODO || Dodo | + | |13 ||DODO ||Dodo |
|- | |- | ||
− | | 14 || BUS || Bus | + | |14 ||BUS ||Bus |
|- | |- | ||
− | | 15 || RUMPO || Rumpo | + | |15 ||RUMPO ||Rumpo |
|- | |- | ||
− | | 16 || PONY || Pony | + | |16 ||PONY ||Pony |
|- | |- | ||
− | | 17 || SENTINL || Sentinel | + | |17 ||SENTINL ||Sentinel |
|- | |- | ||
− | | 18 || CHEETAH || Cheetah | + | |18 ||CHEETAH ||Cheetah |
|- | |- | ||
− | | 19 || BANSHEE || Banshee | + | |19 ||BANSHEE ||Banshee |
|- | |- | ||
− | | 20 || IDAHO || Idaho | + | |20 ||IDAHO ||Idaho |
|- | |- | ||
− | | 21 || INFERNS || Infernus | + | |21 ||INFERNS ||Infernus |
|- | |- | ||
− | | 22 || TAXI || Taxi | + | |22 ||TAXI ||Taxi |
|- | |- | ||
− | | 23 || KURUMA || Kuruma | + | |23 ||KURUMA ||Kuruma |
|- | |- | ||
− | | 24 || STRETCH || Stretch | + | |24 ||STRETCH ||Stretch |
|- | |- | ||
− | | 25 || PEREN || Perennial | + | |25 ||PEREN ||Perennial |
|- | |- | ||
− | | 26 || STINGER || Stinger | + | |26 ||STINGER ||Stinger |
|- | |- | ||
− | | 27 || MANANA || Manana | + | |27 ||MANANA ||Manana |
|- | |- | ||
− | | 28 || LANDSTK || Landstalker | + | |28 ||LANDSTK ||Landstalker |
|- | |- | ||
− | | 29 || STALION || Stallion | + | |29 ||STALION ||Stallion |
|- | |- | ||
− | | 30 || BFINJC || BF Injection | + | |30 ||BFINJC ||BF Injection |
|- | |- | ||
− | | 31 || CABBIE || Cabbie | + | |31 ||CABBIE ||Cabbie |
|- | |- | ||
− | | 32 || ESPERAN || Esperanto | + | |32 ||ESPERAN ||Esperanto |
|- | |- | ||
− | | 33 || FIRETRK || Firetruck | + | |33 ||FIRETRK ||Firetruck |
|- | |- | ||
− | | 34 || AMBULAN || Ambulance | + | |34 ||AMBULAN ||Ambulance |
|- | |- | ||
− | | 35 || ENFORCR || Enforcer | + | |35 ||ENFORCR ||Enforcer |
|- | |- | ||
− | | 36 || FBICAR || Fbi Car | + | |36 ||FBICAR ||Fbi Car |
|- | |- | ||
− | | 37 || RHINO || Rhino | + | |37 ||RHINO ||Rhino |
|- | |- | ||
− | | 38 || BARRCKS || Barracks OL | + | |38 ||BARRCKS ||Barracks OL |
|- | |- | ||
− | | 39 || POLICAR || Police | + | |39 ||POLICAR ||Police |
|} | |} | ||
=== Vice City === | === Vice City === | ||
− | {| class="wikitable" | + | {|class="wikitable" |
− | ! Ammo || [[GXT]] | + | !Ammo ||[[GXT]] key ||Text |
|- | |- | ||
− | | 1 || OUTFT1 || Street | + | |1 ||OUTFT1 ||Street |
|- | |- | ||
− | | 2 || OUTFT2 || Soiree | + | |2 ||OUTFT2 ||Soiree |
|- | |- | ||
− | | 3 || OUTFT3 || Coveralls | + | |3 ||OUTFT3 ||Coveralls |
|- | |- | ||
− | | 4 || OUTFT4 || Country Club | + | |4 ||OUTFT4 ||Country Club |
|- | |- | ||
− | | 5 || OUTFT5 || Havana | + | |5 ||OUTFT5 ||Havana |
|- | |- | ||
− | | 6 || OUTFT6 || Cop | + | |6 ||OUTFT6 ||Cop |
|- | |- | ||
− | | 7 || OUTFT7 || Bank Job | + | |7 ||OUTFT7 ||Bank Job |
|- | |- | ||
− | | 8 || OUTFT8 || Casual | + | |8 ||OUTFT8 ||Casual |
|- | |- | ||
− | | 9 || OUTFT9 || Mr Vercetti | + | |9 ||OUTFT9 ||Mr Vercetti |
|- | |- | ||
− | | 10 || OUTFT10 || Tracksuit | + | |10 ||OUTFT10 ||Tracksuit |
|- | |- | ||
− | | 11 || OUTFT11 || Tracksuit | + | |11 ||OUTFT11 ||Tracksuit |
|- | |- | ||
− | | 12 || OUTFT12 || Frankie | + | |12 ||OUTFT12 ||Frankie |
|- | |- | ||
− | | 13 || OUTFT13 || MC Tommy | + | |13 ||OUTFT13 ||MC Tommy |
|} | |} | ||
== Keywords == | == Keywords == | ||
create, pickup, weapon, ammo | create, pickup, weapon, ammo | ||
− | |||
− |
Revision as of 07:40, 9 November 2016
- Description
- Creates a pickup with ammo
- Syntax
- 032B: [var] = create_weapon_pickup [int1] [int2] ammo [int3] at [flt1] [flt2] [flt3]
- Parameter
- [var]
- Variable to store the handle of the pickup
- [int1]
- Valid object model ID number as defined in the IDE file; also acceptable is model's DFF name identified by a hash character
- [int2]
- Type
- [int3]
- Ammo count (see below for special cases)
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z + 0.5 units)
- Native analog
- CREATE_PICKUP_WITH_AMMO
This opcode spawns a pickup at the coordinates point that can be "collected" by the player. It is almost equivalent to opcode 0213 but with an additional parameter that sets the ammo count of the pickup. Using an ammo count of 0 creates a pickup equivalent to opcode 0213. The additional parameter makes pickup type 7 in GTA III and type 8 in Vice City useful — it sets the amount of money for the pickup type.
Pickup text
If the model of the pickup is bonus.dff
, the ammo count sets text to display floating above the pickup. In Vice City, both bonus.dff
amd clothesp.dff
can display the pickup text. Opcode 055B behaves the same way.
GTA III
Ammo | GXT key | Text |
---|---|---|
1 | SECURI | Securicar |
2 | MOONBM | Moonbeam |
3 | COACH | Coach |
4 | FLATBED | Flatbed |
5 | LINERUN | Linerunner |
6 | TRASHM | Trashmaster |
7 | PATRIOT | Patriot |
8 | WHOOPEE | Mr Whoopee |
9 | BLISTA | Blista |
10 | MULE | Mule |
11 | YANKEE | Yankee |
12 | BOBCAT | Bobcat |
13 | DODO | Dodo |
14 | BUS | Bus |
15 | RUMPO | Rumpo |
16 | PONY | Pony |
17 | SENTINL | Sentinel |
18 | CHEETAH | Cheetah |
19 | BANSHEE | Banshee |
20 | IDAHO | Idaho |
21 | INFERNS | Infernus |
22 | TAXI | Taxi |
23 | KURUMA | Kuruma |
24 | STRETCH | Stretch |
25 | PEREN | Perennial |
26 | STINGER | Stinger |
27 | MANANA | Manana |
28 | LANDSTK | Landstalker |
29 | STALION | Stallion |
30 | BFINJC | BF Injection |
31 | CABBIE | Cabbie |
32 | ESPERAN | Esperanto |
33 | FIRETRK | Firetruck |
34 | AMBULAN | Ambulance |
35 | ENFORCR | Enforcer |
36 | FBICAR | Fbi Car |
37 | RHINO | Rhino |
38 | BARRCKS | Barracks OL |
39 | POLICAR | Police |
Vice City
Ammo | GXT key | Text |
---|---|---|
1 | OUTFT1 | Street |
2 | OUTFT2 | Soiree |
3 | OUTFT3 | Coveralls |
4 | OUTFT4 | Country Club |
5 | OUTFT5 | Havana |
6 | OUTFT6 | Cop |
7 | OUTFT7 | Bank Job |
8 | OUTFT8 | Casual |
9 | OUTFT9 | Mr Vercetti |
10 | OUTFT10 | Tracksuit |
11 | OUTFT11 | Tracksuit |
12 | OUTFT12 | Frankie |
13 | OUTFT13 | MC Tommy |
Keywords
create, pickup, weapon, ammo