055B

From GTAMods Wiki
Revision as of 09:59, 28 December 2014 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search
055B pickup

Vice City CREATE_CLOTHES_PICKUP


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]
Clothing ID
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate

This opcode spawns 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 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 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.

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)

Example

Main page: Clothes pickup

Keywords

pickups, clothes, clothesp