pedstats.dat
is a file located in the data
directory of many GTA games. The file contains information about pedestrian behavior and personality.
File format
Documentation of the format already exists within the file itself.
GTA III and Vice City
|
Identifier
|
Type
|
Description
|
A
|
Type name
|
string
|
The string is ignored but the stats for the associated pedstat types must be in order
|
B
|
Flee distance
|
float
|
|
C
|
Heading change rate
|
float
|
In degrees
|
D
|
Fear
|
integer
|
Range from 0 to 100, 100 denoting "scared of everything"
|
E
|
Temper
|
integer
|
Range from 0 to 100, 100 denoting "bad tempered"
|
F
|
Lawfulness
|
integer
|
Range from 0 to 100, 100 denoting "boy scout"
|
G
|
Sexiness
|
integer
|
Range from 0 to 100
|
H
|
Attack strength
|
float
|
Attack multiplier
|
I
|
Defend weakness
|
float
|
Defense multiplier
|
J
|
Stat flags
|
integer
|
|
San Andreas
|
Identifier
|
Type
|
Description
|
A
|
Type name
|
string
|
The string is ignored but the stats for the associated pedstat types must be in order
|
B
|
Flee distance
|
float
|
|
C
|
Heading change rate
|
float
|
In degrees
|
D
|
Fear
|
integer
|
Range from 0 to 100, 100 denoting "scared of everything"
|
E
|
Temper
|
integer
|
Range from 0 to 100, 100 denoting "bad tempered"
|
F
|
Lawfulness
|
integer
|
Range from 0 to 100, 100 denoting "boy scout"
|
G
|
Sexiness
|
integer
|
Range from 0 to 100
|
H
|
Attack strength
|
float
|
Attack multiplier
|
I
|
Defend weakness
|
float
|
Defense multiplier
|
J
|
Shooting rate
|
integer
|
Range from 0 to 100
|
K
|
Default decision maker
|
integer
|
0: group member 1: cop 2: rand_norm 3: rand_tough 4: rand_weak
|
See also