PEDS
Supported games: | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Brief description: | Used to define characters and pedestrians | |||||||||||||||
IDE Sections:
|
PEDS is a section in the item definition file in GTA III, Vice City, San Andreas, and GTA IV. It is used to define characters and pedestrians and some of their properties.
Contents
Format
GTA III, Vice City, and San Andreas
In GTA III and Vice City this section is mainly used in the default.ide
file, while in San Andreas it is mainly used in the peds.ide
file.
peds # GTA III Id, ModelName, TxdName, Default pedtype, Behavior, AnimGroup, Cars can drive mask # Vice City Id, ModelName, TxdName, Default pedtype, Behavior, AnimGroup, Cars can drive mask, Animfile, Radio1, Radio2 # San Andreas Id, ModelName, TxdName, Default pedtype, Behavior, AnimGroup, Cars can drive mask, Animfile, Radio1, Radio2, VoiceArchive, Voice1, Voice2 end
Identifier | Type | Description | |||
---|---|---|---|---|---|
A | Id | integer | Unique model ID | ||
B | ModelName | string | Name of the .dff model file, without extension | ||
C | TxdName | string | Name of the .txd texture dictionary, without extension | ||
D | Default pedtype | string | The default ped type of the ped | ||
E | Behavior | string | The behavior of the ped as defined in the pedstats.dat file | ||
F | AnimGroup | string | The animation group for movements of the ped (see below) | ||
G | Cars can drive mask | hex | The class of vehicle that the ped will drive as hex value. | ||
- | H | Animfile | string | The animation file for secondary animations (like sunbathing) | |
- | I,J | Radio1, Radio2 | integer[2] | Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio (see below) | |
- | - | K | VoiceArchive | string | The sound file for the ped's voices |
- | - | L,M | Voice1, Voice2 | string[2] | The ped's voices (its dialogue), doesn't include screams and pains |
Animation groups
These are the animation groups that are used in the game (there are more player-specific). The definitions of these groups hardcoded. Most of these animations are located in the ped.ifp
file.
- busywoman
- fatman
- fatwoman
- gang1
- gang2
- man
- oldfatman
- oldman
- oldwoman
- player
- sexywoman
- shopping
- shuffle
- woman
Introduced in Vice City:
- jogger
- jogwoman
- skate (Note: column H requires "skate" when using this else the game will crash upon spawning the ped)
Introduced in San Andreas:
- pro
- swat
GTA IV
This section is mainly used in the ..\common\data\peds.ide
file.
Identifier | Type | Description | |
---|---|---|---|
A | Model | string | Unique model name without extension, located in ..\pc\models\cdimages\componentpeds.img
|
B | Props | string | Unique prop (like helmets, glasses, hats) model name without extension, located in ..\pc\models\cdimages\componentpeds.img , use null for unavailable props
|
C | Pedtype | string | The default ped type of the ped |
D | Animgroup | string | |
E | Gesturegroup | string | GESTURES@MALE or GESTURES@FEMALE
|
F | Gesturephonegroup | string | GESTURES@M_PHONE or GESTURES@F_PHONE
|
G | Facialgroup | string | Located in anim.img , supported files begin with facials@
|
H | Visemegroup | string | Located in anim.img , supported files begin with visemes@
|
I | Flags | hex | always 0 |
J | Animfile | string | The animation file without extension for movements of the ped, located in anim.img , supported files begin with move_x@
|
K | Blendshapefile | string | Used for cutscene models, otherwise null
|
L,M | Radio1, Radio2 | integer[2] | Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio. Value '-1' - random radio stations, which listening a ped in the car. |
N | Audiotype | string | always PED_TYPE_PLAYER
|
O | Firstvoice | string | The audio bank for the ped's voice |
P | Lastvoice | string | always VOICE_PLY_CR
|
Radio stations
This is a list of available radio stations.
Statistics
Total number of PEDS entries in:
- GTA III: 83 (max 90)
- Vice City: 126 (max 130)
- San Andreas: 276
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 |