Difference between revisions of "055B"
Line 1: | Line 1: | ||
− | + | [[File:055B.png|thumb|055B pickup]] | |
+ | __NOTOC__ | ||
{{OpCode | {{OpCode | ||
| ini = 055B=5,%5d% %4h% %1d% %2d% %3d% | | ini = 055B=5,%5d% %4h% %1d% %2d% %3d% | ||
Line 10: | Line 11: | ||
| game = [[Vice City]] | | game = [[Vice City]] | ||
}} | }} | ||
− | This opcode creates a clothing [[0213#Pickup types|type 2]] pickup. Like most pickups, it spins, glows, and can be "picked up" by walking through it. The pickup uses the model clothesp.dff to create the pickup so the model has to be at least defined somewhere in an [[IDE]] file for the opcode to work. This pickup is unique for having a text above the pickup. The text depends on its ID. The opcode alone does not let the player change clothes. To change clothes, see [[clothes pickup]] for a code snippet based on the code used in Vice City. Note that the parameters are rearranged. | + | This opcode creates a clothing [[0213#Pickup types|type 2]] pickup. Like most pickups, it spins, glows, and can be "picked up" by walking through it. The pickup uses the model clothesp.dff to create the pickup so the model has to be at least defined somewhere in an [[IDE]] file for the opcode to work. This pickup is unique for having a text above the pickup. The text depends on its ID. The opcode alone does not let the player change clothes. To change clothes, see [[clothes pickup]] for a code snippet based on the code used in Vice City. Note that the parameters of this opcode are rearranged. |
[[Sanny Builder]] example:<source lang="scm">055B: 0@ = create_clothes_pickup 12 at 0.0 0.0 0.0</source> | [[Sanny Builder]] example:<source lang="scm">055B: 0@ = create_clothes_pickup 12 at 0.0 0.0 0.0</source> | ||
− | |||
==Note== | ==Note== |
Revision as of 19:36, 21 April 2010
{{{games}}}
- Description
- Creates a clothing pickup
- Syntax
- {{{syntax1}}}
- Parameter
This opcode creates a clothing type 2 pickup. Like most pickups, it spins, glows, and can be "picked up" by walking through it. The pickup uses the model clothesp.dff to create the pickup so the model has to be at least defined somewhere in an IDE file for the opcode to work. This pickup is unique for having a text above the pickup. The text depends on its ID. The opcode alone does not let the player change clothes. To change clothes, see clothes pickup for a code snippet based on the code used in Vice City. Note that the parameters of this opcode are rearranged.
Sanny Builder example:
055B: 0@ = create_clothes_pickup 12 at 0.0 0.0 0.0
Note
The above format is more commonly used. The actual format of this opcode is in order:
055B=5,%1d% %2d% %3d% %4h% %5d%
The format to use depends on which INI file you use.
Clothing IDs
ID | GXT entry | Clothing |
---|---|---|
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 (unused) |
Keywords
pickups, clothes, clothesp