Ped type
Article issues | |||
---|---|---|---|
|
Pedestrian types are groups that define the relationship between different pedestrians. For 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 GTA IV, pedestrian types are called relationship groups (See SET_CHAR_RELATIONSHIP_GROUP).
Contents
Pedestrian types
GTA III – Liberty City Stories
Number | Supported games |
Name | Description | |||
---|---|---|---|---|---|---|
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:
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
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |