Difference between revisions of "PEDS"

From GTAMods Wiki
Jump to navigation Jump to search
(compacted)
(Format)
Line 18: Line 18:
 
! Description
 
! Description
 
|-
 
|-
| colspan="3"| <center>A</center> || <center>ID</center> || integer || Unique model ID
+
| colspan="3"| <center>A</center> || <center>ModelId</center> || integer || Unique model ID
 
|-
 
|-
 
| colspan="3"| <center>B</center> || <center>ModelName</center> || string || Name of the .dff [[model file]], without extension
 
| colspan="3"| <center>B</center> || <center>ModelName</center> || string || Name of the .dff [[model file]], without extension
Line 24: Line 24:
 
| colspan="3"| <center>C</center> || <center>TxdName</center> || string || Name of the .txd [[texture dictionary]], without extension
 
| colspan="3"| <center>C</center> || <center>TxdName</center> || string || Name of the .txd [[texture dictionary]], without extension
 
|-
 
|-
| colspan="3"| <center>D</center> || <center>Pedtype</center> || string || The default [[ped type]] of the ped
+
| colspan="3"| <center>D</center> || <center>Default pedtype</center> || string || The default [[ped type]] of the ped
 
|-
 
|-
 
| colspan="3"| <center>E</center> || <center>Behavior</center> || string || The behavior of the ped as defined in the pedstats.dat file
 
| colspan="3"| <center>E</center> || <center>Behavior</center> || string || The behavior of the ped as defined in the pedstats.dat file
 
|-
 
|-
| colspan="3"| <center>F</center> || <center>Animation</center> || string || The animation file being used on the ped for movements ([[PEDS#Animations|see below]])
+
| colspan="3"| <center>F</center> || <center>AnimGroup</center> || string || The animation group for movements of the ped ([[PEDS#Animation groups|see below]])
 
|-
 
|-
| colspan="3"| <center>G</center> || <center>VehClass</center> || hex || The [[CARS_(IDE_Section)|class of vehicle]] that the ped will drive as hex value.
+
| colspan="3"| <center>G</center> || <center>Cars can drive mask</center> || hex || The [[CARS (IDE Section)#Vehicle Classes|class of vehicle]] that the ped will drive as hex value.
 
|-
 
|-
| - || colspan="2"| <center>H</center> || <center>''unknown''</center> || string || related to animations?
+
| - || colspan="2"| <center>H</center> || <center>Animfile</center> || string || The animation file for secondary animations (like sunbathing)
 
|-
 
|-
 
| - || colspan="2"| <center>I,J</center> || <center>Radio1, Radio2</center> || integer[2] || Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio ([[PEDS#Radio Stations|see below]])
 
| - || colspan="2"| <center>I,J</center> || <center>Radio1, Radio2</center> || integer[2] || Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio ([[PEDS#Radio Stations|see below]])
Line 41: Line 41:
 
|}
 
|}
  
===Animations===
+
===Animation groups===
These are the available animations which are located in the ped.ifp file.
+
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 <code>ped.ifp</code> file.
 
* busywoman
 
* busywoman
 
* fatman
 
* fatman
Line 60: Line 60:
 
* jogger
 
* jogger
 
* jogwoman
 
* jogwoman
* skate
+
* skate (Note: column H requires "skate" when using this else the game will crash upon spawning the ped)
 +
Introduced in San Andreas:
 +
* pro
 +
* swat
  
 
===Radio Stations===
 
===Radio Stations===

Revision as of 16:13, 23 September 2010

PEDS (IDE section)
Supported games:GTA III, GTA VC, GTA SA, GTA IV
Brief description:Used to define characters and pedestrians
IDE Sections:
2DFX AMAT ANIM CARS HIER HAND MLO OBJS
PATH PEDS TANM TOBJ TREE TXDP WEAP

PEDS is a section in the item definition file. It is used to define characters and pedestrians and some of their properties.

Format

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.

GTA III Vice City San Andreas Identifier Type Description
A
ModelId
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

Radio Stations

This is a list of available radio stations.

Number Station
Vice City
San Andreas
0 Wildstyle Playback FM
1 Flash FM K Rose
2 KChat WCTR
3 Fever 105 K-DST
4 VRock Bounce FM
5 VCPR SF-UR
6 Espantoso Radio Los Santos
7 Emotion 98.3 Radio X
8 Wave 103 CSR 103.9
9 Default vehicle's station K-Jah West
10 Radio off Master Sounds 98.3
11 - User Track Player
12 - Radio Off