Ped Type

(Redirected from Ped type)

Pedestrian types are groups that define the relationship between different pedestriants. For Grand Theft Auto: San Andreas the default type for each pedestrian is defined inside the peds.ide file. The type is also an additional parameter of the character-spawning opcodes (009A and similar).

Since Grand Theft Auto IV, pedestrian types are called relationship groups.

Pedestrian types

GTA III – GTA Liberty City Stories

Number Supported
games
Name Description
GTA III GTA Vice City GTA San Andreas GTA Liberty City Stories
0 PLAYER1 Primary player definition
1 PLAYER2 Secondary player definition
2 PLAYER3 Tertiary player definition
PLAYER_NETWORK
3 PLAYER4 Quarternary player definition
PLAYER_UNUSED
4 CIVMALE Male civilian pedestrians
5 CIVFEMALE Female civilian pedestrians
6 COP Policemen
7 GANG1 Leones
Cubans
Ballas
8 GANG2 Triads
Haitians
Grove Street Families
9 GANG3 Diablos
Streetwannabe's
Los Santos Vagos
10 GANG4 Yakuza
Diaz' gang
San Fierro Rifa
11 GANG5 Yardies
Security guards
Da Nang Boys
12 GANG6 Colombians
Biker gang
Mafia
13 GANG7 Hoods
Vercetti gang
Mountain Cloud Triads
14 GANG8 unused
Golfers
Varrio Los Aztecas
Forellis
15 GANG9 unused
Sindaccos
16 EMERGENCY Ambulance and emergency personnel
GANG10 unused
17 FIREMAN Firefighters
DEALER Drug dealing pedestrians
18 CRIMINAL Criminal pedestrians
EMERGENCY Ambulance and emergency personnel
19 - Additional pedestrians
FIREMAN Firefighters
20 PROSTITUTE Prostitutes
CRIMINAL Criminal pedestrians
21 SPECIAL Reserved for special characters
BUM -
22 SPECIAL Additional pedestrians
23 PROSTITUTE Prostitutes
24 MISSION1 Mission slot 1
25 MISSION2 Mission slot 2
26 MISSION3 Mission slot 3
27 MISSION4 Mission slot 4
28 MISSION5 Mission slot 5
29 MISSION6 Mission slot 6
30 MISSION7 Mission slot 7
31 MISSION8 Mission slot 8

GTA IV

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)

Relationship groups

Different pedestrian types can get a defined relationship to pedestrians of other types. Those relationships are grouped by keywords or indices and get defined inside the script for GTA III and GTA Vice City or can be predefined inside the ped.dat file for GTA San Andreas and GTA IV.

The following table shows a table of relationship groups:

GTA IV Description
1 Respect A relationship group respects another one.
2 Like A relationship group will not attack another one.
3 Ignore A relationship group will ignore another one.
4 Dislike A relationship group will react more aggressive towards another one.
5 Hate A relationship group will attack another one.

In addition it is possible to define threats and aspects or relationship groups the pedestrian type avoids. If a pedestrian type is defined to handle an aspect as threat he runs away as soon as such an situation happens near enought to him. If a pedestrian avoids a specified situation he acts more carefully in the same case. Threats or avoided situations can not only be other pedestrian types, also explosions, dead pedestrians, guns or vehicle groups.

See also

Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.

GNU Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
See Grand Theft Wiki:Copyright for more information.