Difference between revisions of "Ped type"

From GTAMods Wiki
Jump to navigation Jump to search
Line 120: Line 120:
  
 
== GTA IV ==
 
== GTA IV ==
The following outlines the integer representations of the GTA IV character relationship groups.
+
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.
  
 
{|{{Prettytable}}
 
{|{{Prettytable}}
Line 127: Line 127:
 
|-
 
|-
 
|0
 
|0
|Player
+
|Player 1
 
|-
 
|-
 
|1
 
|1
|CIVMALE
+
|Player 2
 
|-
 
|-
 
|2
 
|2
|CIVFEMALE
+
|Player network
 
|-
 
|-
 
|3
 
|3
|COP
+
|Player Unused
 
|-
 
|-
 
|4
 
|4
|GANG1
+
|CIVMALE
 
|-
 
|-
 
|5
 
|5
|GANG2
+
|CIVFEMALE
 
|-
 
|-
 
|6
 
|6
|GANG3
+
|COP
 
|-
 
|-
 
|7
 
|7
|GANG4
+
|GANG1 (Latino)
 
|-
 
|-
 
|8
 
|8
|GANG5
+
|GANG2 (Russian)
 
|-
 
|-
 
|9
 
|9
|GANG6
+
|GANG3 (Goon?)
|-
 
|10
 
|GANG7
 
|-
 
|11
 
|GANG8
 
|-
 
|12
 
|GANG9
 
|-
 
|13
 
|GANG10
 
|-
 
|14
 
|MEDIC
 
 
|-
 
|-
|15
+
|21
 
|FIREMAN
 
|FIREMAN
 
|-
 
|-
|16
+
|25
|CRIMINAL
+
|SPECIAL 1
 
|-
 
|-
|17
+
|26
|PROSTITUTE
+
|SPECIAL 2
 
|}
 
|}
  
 
[[Category:GTA VC]][[Category:GTA SA]][[Category:GTA 4]][[Category:Mission Script]]
 
[[Category:GTA VC]][[Category:GTA SA]][[Category:GTA 4]][[Category:Mission Script]]

Revision as of 00:06, 27 August 2009

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

Number Description
0 PLAYER1
1 PLAYER2
2 PLAYER3
3 PLAYER4
4 CIVMALE
5 CIVFEMALE
6 COP
7 GANG1 (Cubans)
8 GANG2 (Haitians)
9 GANG3 (Shark's/Streetwannabe's)
10 GANG4 (Diaz Gang)
11 GANG5 (Patrol Invest Group (P.I.G))
12 GANG6 (Biker Gang)
13 GANG7 (Vercetti Gang)
14 GANG8
15 GANG9
16 EMERGENCY
17 FIREMAN
18 CRIMINAL
19 SPECIAL

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.

Number Description
0 Player 1
1 Player 2
2 Player network
3 Player Unused
4 CIVMALE
5 CIVFEMALE
6 COP
7 GANG1 (Latino)
8 GANG2 (Russian)
9 GANG3 (Goon?)
21 FIREMAN
25 SPECIAL 1
26 SPECIAL 2