Props are additional accessories that peds can wear. They are similar to Components.
There are 5 ped prop slots in Grand Theft Auto V, numbered 0, 1, 2, 6 and 7 which can be used. A prop is similar to a Component in that it consists of a drawable and a texture, with a drawable being the actual model and a texture being the texture applied to the drawable. A drawable can have multiple textures, and a component can have multiple drawables although only one can be active at any time.
Note that props aren't always used in every ped model. Some ped models will have accessories like watches and jewelry as Components instead.
To more easily understand how this system works, consider the following XML:
<Prop id="0" drawable="1" texture="0" />
In this case, 0 is the number of the prop slot, 1 is the number of the active drawable in that slot and 0 is the number of the texture to be applied to the drawable. Of course, the visual appearance of the above code will be different for each ped model, but the underlying result is the same - the second drawable in slot 0, with the first texture for that drawable. To give some context to this, consider a ped model with two different types of hat that can be worn. The first is a beanie hat available in white and black, and the second is a motorcycle helmet available in orange and white. In this case, the motorcycle helmet in orange would be used.
Attributes
| Attribute Name | Type | Required | Description |
|---|---|---|---|
| id | Number | Yes | The component number (0 thru 11) |
| drawable | Number | Yes | The number of the drawable. |
| texture | Number | Yes | The number of the texture. |
List of Props
| Component | Name | Description (note that usage varies for different ped models) |
|---|---|---|
| 0 | head | Hats, helmets, headwear. |
| 1 | eyes | Glasses and eyewear. |
| 2 | ears | Earrings, misc. head accessories. |
| 6 | lwrist | Props for the left wrist/forearm |
| 7 | rwrist | Props for the right wrist/forearm |
Example
<Props> <Prop id="1" drawable="0" texture="0" /> </Props>
Edited by Sam
Recommended Comments