Pages

Monday, April 18, 2016

GTA V - Peds Component and Props variations (Clothes)

DRAWABLE VARIATIONS

Component ID - Name

0 - Head
1 - Beard
2 - Hair
3 - Torso
4 - Legs
5 - Hands
6 - Foot
7 - None?
8 - Accessories like parachute, scuba tank
9 - Accessories like bags, mask, scuba mask
10- Decals and mask
11 - Auxiliary parts for torso

0 - Head

1 - Beard

2 - Hair

3 - Torso

4 - Legs

5 - Hands

6 - Foot

8 - Accessories like parachute, scuba tank

9 - Accessories like bags, mask, scuba mask

10- Decals and mask

11 - Auxiliary parts for torso


Useful methods:

GET_PED_DRAWABLE_VARIATION(Ped pedint componentId)
GET_NUMBER_OF_PED_DRAWABLE_VARIATIONS(Ped pedint componentId)
GET_PED_TEXTURE_VARIATION(Ped pedint componentId)
GET_NUMBER_OF_PED_TEXTURE_VARIATIONS(Ped pedint componentIdint drawableId)
SET_PED_COMPONENT_VARIATION(Ped pedint componentIdint drawableIdint textureIdint paletteId)
SET_PED_RANDOM_COMPONENT_VARIATION(Ped pedBOOL p1)
SET_PED_DEFAULT_COMPONENT_VARIATION(Ped ped)



PROPS VARIATIONS

Prop ID - Name

0 - Helmets, hats, earphones, masks

1 - Glasses

2 - Ear accessories

Useful methods

GET_NUMBER_OF_PED_PROP_DRAWABLE_VARIATIONS(Ped pedint propId)
GET_NUMBER_OF_PED_PROP_TEXTURE_VARIATIONS(Ped pedint propIdint drawableId)
SET_PED_RANDOM_PROPS(Ped ped)
_IS_PED_PROP_VALID(Ped pedint componentIdint drawableIdint TextureId)
GET_PED_PROP_INDEX(Ped pedint componentId)
SET_PED_PROP_INDEX(Ped pedint componentIdint drawableIdint TextureIdBOOL attach)
KNOCK_OFF_PED_PROP(int propIndexBOOL p1BOOL p2BOOL p3BOOL p4)
CLEAR_PED_PROP(Ped pedint propId)
CLEAR_ALL_PED_PROPS(Ped ped)
GET_PED_PROP_TEXTURE_INDEX(Ped pedint componentId)
SET_PED_HELMET_PROP_INDEX(Ped pedint propIndex)


http://www.dev-c.com/nativedb/