2DFX and Ped Type: Difference between pages
(contributions from myself, DK22Pac, Solom, and Wesser) |
|||
Line 1: | Line 1: | ||
'''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|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 == | ||
{|class="wikitable | === GTA III – GTA Liberty City Stories === | ||
{|class="mw-collapsible sortable wikitable" | |||
!rowspan="2" |Number ||colspan="4" |Supported<br>games ||rowspan="2" |Name ||rowspan="2" |Description | |||
|- | |- | ||
| | !{{Icon-square|3}} ||{{Icon-square|vc}} ||{{Icon-square|sa}} ||{{Icon|LCS}} | ||
|- | |- | ||
| | |style="text-align: center;" |0 ||✓ ||✓ ||✓ ||✓ ||PLAYER1 ||Primary player definition | ||
|- | |- | ||
| | |style="text-align: center;" |1 ||✓ ||✓ ||✓ ||✓ ||PLAYER2 ||Secondary player definition | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |2 ||✓ ||✓ ||✗ ||✓ ||PLAYER3 ||rowspan="2" |Tertiary player definition | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||PLAYER_NETWORK | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |3 ||✓ ||✓ ||✗ ||✓ ||PLAYER4 ||rowspan="2" |Quarternary player definition | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||PLAYER_UNUSED | ||
|- | |- | ||
| | |style="text-align: center;" |4 ||✓ ||✓ ||✓ ||✓ ||CIVMALE ||Male civilian pedestrians | ||
|- | |- | ||
| | |style="text-align: center;" |5 ||✓ ||✓ ||✓ ||✓ ||CIVFEMALE ||Female civilian pedestrians | ||
|- | |- | ||
| | |style="text-align: center;" |6 ||✓ ||✓ ||✓ ||✓ ||COP ||Policemen | ||
|- | |- | ||
| | |rowspan="3" style="text-align: center;" |7 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG1 ||[[Leone Family|Leones]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Cubans | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Ballas | ||
|- | |- | ||
| | |rowspan="3" style="text-align: center;" |8 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG2 ||[[Portland Triads|Triads]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Haitians | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Grove Street Families | ||
| | |||
|- | |- | ||
| | |rowspan="3" style="text-align: center;" |9 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG3 ||[[Diablos]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Streetwannabe's | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Los Santos Vagos | ||
|- | |- | ||
| | |rowspan="3" style="text-align: center;" |10 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG4 ||[[Yakuza in 3D Universe|Yakuza]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Diaz' gang | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||San Fierro Rifa | ||
|- | |- | ||
| | |rowspan="3" style="text-align: center;" |11 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG5 ||[[Uptown Yardies|Yardies]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Security guards | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Da Nang Boys | ||
|- | |- | ||
| | |rowspan="3" style="text-align: center;" |12 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG6 ||[[Colombian Cartel|Colombians]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Biker gang | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Mafia | ||
|- | |- | ||
|13 || | |rowspan="3" style="text-align: center;" |13 ||✓ ||✗ ||✗ ||✓ ||rowspan="3" |GANG7 ||[[Southside Hoods|Hoods]] | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Vercetti gang | ||
| | |||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Mountain Cloud Triads | ||
|- | |- | ||
| | |rowspan="4" style="text-align: center;" |14 ||✓ ||✗ ||✗ ||✗ ||rowspan="4" |GANG8 ||''unused'' | ||
|- | |- | ||
| | |✗ ||✓ ||✗ ||✗ ||Golfers | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||Varrio Los Aztecas | ||
|- | |- | ||
| | |✗ ||✗ ||✗ ||✓ ||Forellis | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |15 ||✓ ||✓ ||✓ ||✗ ||rowspan="2" |GANG9 ||''unused'' | ||
|- | |- | ||
| | |✗ ||✗ ||✗ ||✓ ||Sindaccos | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |16 ||✓ ||✓ ||✗ ||✓ ||EMERGENCY ||Ambulance and emergency personnel | ||
= | |||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||GANG10 ||''unused'' | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |17 ||✓ ||✓ ||✗ ||✓ ||FIREMAN ||Firefighters | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||DEALER ||Drug dealing pedestrians | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |18 ||✓ ||✓ ||✗ ||✓ ||CRIMINAL ||Criminal pedestrians | ||
| | |||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||EMERGENCY ||Ambulance and emergency personnel | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |19 ||✓ ||✓ ||✗ ||✓ ||- ||Additional pedestrians | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||FIREMAN ||Firefighters | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |20 ||✓ ||✓ ||✗ ||✓ ||PROSTITUTE ||Prostitutes | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||CRIMINAL ||Criminal pedestrians | ||
|- | |- | ||
| | |rowspan="2" style="text-align: center;" |21 ||✓ ||✓ ||✗ ||✓ ||SPECIAL ||Reserved for special characters | ||
|- | |- | ||
| | |✗ ||✗ ||✓ ||✗ ||BUM ||- | ||
|- | |- | ||
| | |style="text-align: center;" |22 ||✗ ||✗ ||✓ ||✗ ||SPECIAL ||Additional pedestrians | ||
| | |||
| | |||
|- | |- | ||
| | |style="text-align: center;" |23 ||✗ ||✗ ||✓ ||✗ ||PROSTITUTE ||Prostitutes | ||
|- | |- | ||
| | |style="text-align: center;" |24 ||✗ ||✗ ||✓ ||✗ ||MISSION1 ||Mission slot 1 | ||
|- | |- | ||
| | |style="text-align: center;" |25 ||✗ ||✗ ||✓ ||✗ ||MISSION2 ||Mission slot 2 | ||
|- | |- | ||
| | |style="text-align: center;" |26 ||✗ ||✗ ||✓ ||✗ ||MISSION3 ||Mission slot 3 | ||
|- | |- | ||
| | |style="text-align: center;" |27 ||✗ ||✗ ||✓ ||✗ ||MISSION4 ||Mission slot 4 | ||
|- | |- | ||
| | |style="text-align: center;" |28 ||✗ ||✗ ||✓ ||✗ ||MISSION5 ||Mission slot 5 | ||
|- | |- | ||
| | |style="text-align: center;" |29 ||✗ ||✗ ||✓ ||✗ ||MISSION6 ||Mission slot 6 | ||
|- | |- | ||
| | |style="text-align: center;" |30 ||✗ ||✗ ||✓ ||✗ ||MISSION7 ||Mission slot 7 | ||
|- | |- | ||
| | |style="text-align: center;" |31 ||✗ ||✗ ||✓ ||✗ ||MISSION8 ||Mission slot 8 | ||
|} | |} | ||
== GTA IV == | === GTA IV === | ||
{|class="collapsible wikitable" | |||
!Number | |||
{|class="wikitable | |||
! | |||
!Description | !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 <code>ped.dat</code> file for GTA San Andreas and GTA IV. | |||
The following table shows a table of relationship groups: | |||
{|class="wikitable | {|class="wikitable" | ||
! | !{{Icon-square|4}} | ||
! | ! | ||
!Description | !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 == | ||
* [[PEDS|Pedestrian definition]] | |||
{{fdl}} | {{fdl}} | ||
[[Category:Mission Script]] |
Latest revision as of 20:24, 7 July 2018
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 | |||
---|---|---|---|---|---|---|
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
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.
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. |