Difference between revisions of "055B"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
[[File:055B.png|thumb|055B pickup]] | [[File:055B.png|thumb|055B pickup]] | ||
− | {{Icon|VC}} | + | {{OpCode |
− | + | | games = {{Icon|VC}} | |
− | + | | command = CREATE_CLOTHES_PICKUP | |
− | + | | description = Creates a clothing pickup | |
− | + | | syntax1 = 055B: [''var''] = create_clothes_pickup [''int''] at [''flt1''] [''flt2''] [''flt3''] | |
− | + | | p1t = [''var''] | |
− | + | | p1d = Variable to store the handle of the pickup | |
− | + | | p2t = [''int''] | |
− | + | | p2d = Clothes value (see below) | |
− | + | | p3t = [''flt1''] | |
− | + | | p3d = X-coordinate | |
− | + | | p4t = [''flt2''] | |
− | + | | p4d = Y-coordinate | |
− | + | | p5t = [''flt3''] | |
− | + | | p5d = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]] + 0.5 units) | |
− | + | }} | |
− | |||
− | This opcode spawns a clothing [[0213#Pickup types|type 2]] pickup. Like most pickups, it spins, glows, and can be | + | This opcode spawns a clothing [[0213#Pickup types|type 2]] pickup. Like most pickups, it spins, glows, and can be collected by walking through it. The pickup uses the model <code>clothesp.dff</code> to create the pickup so the model needs to be 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 value listed below. The opcode alone does not let the player change clothes; to change clothes see the [[clothes pickup|code snippet]] based on the code used in Vice City. |
{| class="wikitable" | {| class="wikitable" |
Revision as of 23:26, 19 January 2016
- Description
- Creates a clothing pickup
- Syntax
- 055B: [var] = create_clothes_pickup [int] at [flt1] [flt2] [flt3]
- Parameter
- [var]
- Variable to store the handle of the pickup
- [int]
- Clothes value (see below)
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate (or ≤-100.0 for ground z + 0.5 units)
This opcode spawns a clothing type 2 pickup. Like most pickups, it spins, glows, and can be collected by walking through it. The pickup uses the model clothesp.dff
to create the pickup so the model needs to be 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 value listed below. The opcode alone does not let the player change clothes; to change clothes see the code snippet based on the code used in Vice City.
Value | 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