Ped type

From GTAMods Wiki
Revision as of 09:44, 11 April 2009 by Seemann (talk | contribs) (moved GTA IV list)
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).

Vice City

#ID TYPE
0 PLAYER1
1 PLAYER2
2 PLAYER3
3 PLAYER4
4 CIVMALE
5 CIVFEMALE
6 COP
7 GANG1
8 GANG2
9 GANG3
10 GANG4
11 GANG5
12 GANG6
13 GANG7
14 GANG8
15 GANG9
16 EMERGENCY
17 FIREMAN
18 CRIMINAL
19 SPECIAL

San Andreas

#ID TYPE
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.

Number Description
0 Player
1 CIVMALE
2 CIVFEMALE
3 COP
4 GANG1
5 GANG2
6 GANG3
7 GANG4
8 GANG5
9 GANG6
10 GANG7
11 GANG8
12 GANG9
13 GANG10
14 MEDIC
15 FIREMAN
16 CRIMINAL
17 PROSTITUTE