Ped type

From GTAMods Wiki
Revision as of 00:47, 30 May 2010 by JeNkStA (talk | contribs) (GTA IV)
Jump to navigation Jump to search

Ped type determines ped behaviour and influences his relationships with other peds. For San Andreas the default pedtype for each ped model is set in the file peds.ide. Ped type is also an additional parameter of the ped creating opcodes (009A and similar).

In GTA IV the same thing is known as relationship group (used in native functions like SET_CHAR_RELATIONSHIP_GROUP).

GTA III

Number Description
0 PLAYER1
1 PLAYER2
2 PLAYER3
3 PLAYER4
4 CIVMALE
5 CIVFEMALE
6 COP
7 GANG1 (Mafia)
8 GANG2 (Triads)
9 GANG3 (Diablos)
10 GANG4 (Yakuza)
11 GANG5 (Yardies)
12 GANG6 (Colombians)
13 GANG7 (Hoods)
14 GANG8
15 GANG9
16 EMERGENCY
17 FIREMAN
18 CRIMINAL
19 SPECIAL
20 PROSTITUTE

21 is reserved for special peds.

Vice City

Number Description
0 PLAYER1
1 PLAYER2
2 PLAYER3
3 PLAYER4
4 CIVMALE
5 CIVFEMALE
6 COP
7 GANG1 (Cubans)
8 GANG2 (Haitians)
9 GANG3 (Streetwannabe's)
10 GANG4 (Diaz gang)
11 GANG5 (Security guards)
12 GANG6 (Biker gang)
13 GANG7 (Vercetti gang)
14 GANG8 (Golfers)
15 GANG9
16 EMERGENCY
17 FIREMAN
18 CRIMINAL
19 SPECIAL
20 PROSTITUTE

21 is reserved for special peds.

San Andreas

Number Description
0 PLAYER1
1 PLAYER2
2 PLAYER_NETWORK
3 PLAYER_UNUSED
4 CIVMALE
5 CIVFEMALE
6 COP
7 GANG1 (Ballas)
8 GANG2 (Grove Street Families)
9 GANG3 (Los Santos Vagos)
10 GANG4 (San Fierro Rifa)
11 GANG5 (Da Nang Boys)
12 GANG6 (Mafia)
13 GANG7 (Mountain Cloud Triad)
14 GANG8 (Varrio Los Aztecas)
15 GANG9 (unused)
16 GANG10 (unused)
17 DEALER
18 MEDIC
19 FIREMAN
20 CRIMINAL
21 BUM
22 PROSTITUTE
23 SPECIAL
24 MISSION1
25 MISSION2
26 MISSION3
27 MISSION4
28 MISSION5
29 MISSION6
30 MISSION7
31 MISSION8

GTA IV

The following outlines the integer representations of the GTA IV character relationship groups. This list is incomplete, showing only the types used in the mission files.

Value Description
1 Respect
2 Like
3 Unused
4 Dislike
5 Hate


Number Description
0 PLAYER
1 CIVMALE
2 CIVFEMALE
3 COP
4 GANG_ALBANIAN
5 GANG_BIKER_1
6 GANG_BIKER_2
7 GANG_ITALIAN
8 GANG_RUSSIAN
9 GANG_RUSSIAN_2
10 GANG_IRISH
11 GANG_JAMAICAN
12 GANG_AFRICAN_AMERICAN
13 GANG_KOREAN
14 GANG_CHINESE_JAPANESE
15 GANG_PUERTO_RICAN
16 DEALER
17 MEDIC
18 FIREMAN
19 CRIMINAL
20 BUM
21 PROSTITUTE
22 SPECIAL
23-30 MISSION(1-8)
31-62 NETWORK_PLAYER_(1-32)
62-69 NETWORK_TEAM_(1-8)