Difference between revisions of "Pedstats.dat"
Jump to navigation
Jump to search
Gta.bullet (talk | contribs) m (cat) |
(rewriting entire page) |
||
Line 1: | Line 1: | ||
− | ''' | + | {{lowercase}} |
− | + | '''<code>pedstats.dat</code>''' is a file located in the <code>data</code> directory of many GTA games. The file contains information about pedestrian behavior. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == File format == | |
+ | Documentation of the format already exists within the file itself. | ||
+ | === GTA III and Vice City === | ||
+ | {| class="wikitable" | ||
+ | ! style="width: 3em;"| {{Icon|3}} {{Icon|VC}} | ||
+ | ! style="width: 11em;"| Identifier | ||
+ | ! style="width: 7em;" | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | {{a|c}} | A | ||
+ | | {{a|c}} | Type name | ||
+ | | string | ||
+ | | The string is ignored but the stats for the associated pedstat types must be in order | ||
+ | |- | ||
+ | | {{a|c}} | B | ||
+ | | {{a|c}} | Flee distance | ||
+ | | float | ||
+ | | | ||
+ | |- | ||
+ | | {{a|c}} | C | ||
+ | | {{a|c}} | Heading change rate | ||
+ | | float | ||
+ | | In degrees | ||
+ | |- | ||
+ | | {{a|c}} | D | ||
+ | | {{a|c}} | Fear | ||
+ | | integer | ||
+ | | Range from 0 to 100, 100 denoting "scared of everything" | ||
+ | |- | ||
+ | | {{a|c}} | E | ||
+ | | {{a|c}} | Temper | ||
+ | | integer | ||
+ | | Range from 0 to 100, 100 denoting "bad tempered" | ||
+ | |- | ||
+ | | {{a|c}} | F | ||
+ | | {{a|c}} | Lawfulness | ||
+ | | integer | ||
+ | | Range from 0 to 100, 100 denoting "boy scout" | ||
+ | |- | ||
+ | | {{a|c}} | G | ||
+ | | {{a|c}} | Sexiness | ||
+ | | integer | ||
+ | | Range from 0 to 100 | ||
+ | |- | ||
+ | | {{a|c}} | H | ||
+ | | {{a|c}} | Attack strength | ||
+ | | float | ||
+ | | Attack multiplier | ||
+ | |- | ||
+ | | {{a|c}} | I | ||
+ | | {{a|c}} | Defend weakness | ||
+ | | float | ||
+ | | Defense multiplier | ||
+ | |- | ||
+ | | {{a|c}} | J | ||
+ | | {{a|c}} | Stat flags | ||
+ | | integer | ||
+ | | | ||
+ | |} | ||
− | [[Category: | + | === San Andreas === |
+ | {| class="wikitable" | ||
+ | ! style="width: 3em;"| {{Icon|SA}} | ||
+ | ! style="width: 11em;"| Identifier | ||
+ | ! style="width: 7em;" | Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | {{a|c}} | A | ||
+ | | {{a|c}} | Type name | ||
+ | | string | ||
+ | | The string is ignored but the stats for the associated pedstat types must be in order | ||
+ | |- | ||
+ | | {{a|c}} | B | ||
+ | | {{a|c}} | Flee distance | ||
+ | | float | ||
+ | | | ||
+ | |- | ||
+ | | {{a|c}} | C | ||
+ | | {{a|c}} | Heading change rate | ||
+ | | float | ||
+ | | In degrees | ||
+ | |- | ||
+ | | {{a|c}} | D | ||
+ | | {{a|c}} | Fear | ||
+ | | integer | ||
+ | | Range from 0 to 100, 100 denoting "scared of everything" | ||
+ | |- | ||
+ | | {{a|c}} | E | ||
+ | | {{a|c}} | Temper | ||
+ | | integer | ||
+ | | Range from 0 to 100, 100 denoting "bad tempered" | ||
+ | |- | ||
+ | | {{a|c}} | F | ||
+ | | {{a|c}} | Lawfulness | ||
+ | | integer | ||
+ | | Range from 0 to 100, 100 denoting "boy scout" | ||
+ | |- | ||
+ | | {{a|c}} | G | ||
+ | | {{a|c}} | Sexiness | ||
+ | | integer | ||
+ | | Range from 0 to 100 | ||
+ | |- | ||
+ | | {{a|c}} | H | ||
+ | | {{a|c}} | Attack strength | ||
+ | | float | ||
+ | | Attack multiplier | ||
+ | |- | ||
+ | | {{a|c}} | I | ||
+ | | {{a|c}} | Defend weakness | ||
+ | | float | ||
+ | | Defense multiplier | ||
+ | |- | ||
+ | | {{a|c}} | J | ||
+ | | {{a|c}} | Shooting rate | ||
+ | | integer | ||
+ | | Range from 0 to 100 | ||
+ | |- | ||
+ | | {{a|c}} | K | ||
+ | | {{a|c}} | Default decision maker | ||
+ | | integer | ||
+ | | 0: group member<br />1: cop<br />2: rand_norm<br />3: rand_tough<br />4: rand_weak | ||
+ | |} | ||
+ | |||
+ | == See also == | ||
+ | * [[DAT|List of all data files]] | ||
+ | |||
+ | {{N|SA|VC|3}} | ||
+ | [[Category:Pedestrian Formats]] |
Revision as of 06:12, 7 January 2015
pedstats.dat
is a file located in the data
directory of many GTA games. The file contains information about pedestrian behavior.
File format
Documentation of the format already exists within the file itself.