Difference between revisions of "PEDS"

From GTAMods Wiki
Jump to navigation Jump to search
(compacted)
Line 1: Line 1:
 +
__FORCETOC__
 
{{Research}}
 
{{Research}}
 
{{IdeSection
 
{{IdeSection
Line 6: Line 7:
 
'''PEDS''' is a section in the [[item definition]] file. It is used to define characters and pedestrians and some of their properties.
 
'''PEDS''' is a section in the [[item definition]] file. It is used to define characters and pedestrians and some of their properties.
  
==GTA III==
+
==Format==
This section is mainly used in the <code>default.ide</code> file.
+
In GTA III and Vice City this section is mainly used in the <code>default.ide</code> file, while in San Andreas it is mainly used in the <code>peds.ide</code> file.
===Format===
 
ID, ModelName, TxdName, Pedtype, Behavior, Animation, VehClass
 
  
 
{|{{Prettytable}} width="100%"
 
{|{{Prettytable}} width="100%"
!width="250px"|Identifier
+
! width="10px"| {{Icon|3}}
!Description
+
! width="10px"| {{Icon|VC}}
 +
! width="10px"| {{Icon|SA}}
 +
! width="150px"| Identifier
 +
! width="100px"| Type
 +
! Description
 
|-
 
|-
|<center>ID</center>||Unique model ID
+
| colspan="3"| <center>A</center> || <center>ID</center> || integer || Unique model ID
 
|-
 
|-
|<center>ModelName</center>||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
 
|-
 
|-
|<center>TxdName</center>||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
 
|-
 
|-
|<center>Pedtype</center>||The default [[ped type]] of the ped
+
| colspan="3"| <center>D</center> || <center>Pedtype</center> || string || The default [[ped type]] of the ped
 
|-
 
|-
|<center>Behavior</center>||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
 
|-
 
|-
|<center>Animation</center>||The animation file being used on the ped for movements ([[PEDS#Animations|see below]])
+
| colspan="3"| <center>F</center> || <center>Animation</center> || string || The animation file being used on the ped for movements ([[PEDS#Animations|see below]])
 
|-
 
|-
|<center>VehClass</center>||The [[CARS_(IDE_Section)|class of vehicle]] that the ped will drive as hex value.
+
| colspan="3"| <center>G</center> || <center>VehClass</center> || hex || The [[CARS_(IDE_Section)|class of vehicle]] that the ped will drive as hex value.
|}
 
 
 
===Animations===
 
These are the available animations which are located in the ped.ifp file.
 
*busywoman
 
*fatman
 
*fatwoman
 
*gang1
 
*gang2
 
*man
 
*oldfatman
 
*oldman
 
*oldwoman
 
*player
 
*sexywoman
 
*shopping
 
*shuffle
 
*woman
 
 
 
==Vice City==
 
This section is mainly used in the <code>default.ide</code> file.
 
===Format===
 
ID, ModelName, TxdName, Pedtype, Behavior, Animation, VehClass, UnknownAnim, Radio1, Radio2
 
 
 
{|{{Prettytable}} width="100%"
 
!width="250px"|Identifier
 
!Description
 
 
|-
 
|-
|<center>ID</center>||Unique model ID
+
| - || colspan="2"| <center>H</center> || <center>''unknown''</center> || string || related to animations?
 
|-
 
|-
|<center>ModelName</center>||Name of the .dff [[model file]], without extension
+
| - || 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]])
 
|-
 
|-
|<center>TxdName</center>||Name of the .txd [[texture dictionary]], without extension
+
| - || - || <center>K</center> || <center>VoiceArchive</center> || string || The [[Audio stream|sound file]] for the ped's voices
 
|-
 
|-
|<center>Pedtype</center>||The default [[ped type]] of the ped
+
| - || - || <center>L,M</center> || <center>Voice1, Voice2</center> || string[2] || The ped's voices (its dialogue), doesn't include screams and pains
|-
 
|<center>Behavior</center>||The behavior of the ped as defined in the pedstats.dat file
 
|-
 
|<center>Animation</center>||The animation file being used on the ped for movements ([[PEDS#Animations 2|see below]])
 
|-
 
|<center>VehClass</center>||The [[CARS_(IDE_Section)|class of vehicle]] that the ped will drive as hex value.
 
|-
 
|<center>Radio1, Radio2</center>||Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio
 
 
|}
 
|}
  
 
===Animations===
 
===Animations===
 
These are the available animations which are located in the ped.ifp file.
 
These are the available animations which are located in the ped.ifp file.
*busywoman
+
* busywoman
*fatman
+
* fatman
*fatwoman
+
* fatwoman
*gang1
+
* gang1
*gang2
+
* gang2
*jogger
+
* man
*jogwoman
+
* oldfatman
*man
+
* oldman
*oldfatman
+
* oldwoman
*oldman
+
* player
*oldwoman
+
* sexywoman
*player
+
* shopping
*sexywoman
+
* shuffle
*shopping
+
* woman
*shuffle
+
Introduced in Vice City:
*skate
+
* jogger
*woman
+
* jogwoman
 +
* skate
  
 
===Radio Stations===
 
===Radio Stations===
 
This is a list of available radio stations.
 
This is a list of available radio stations.
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
+
{| {{prettytable}}
 
! Number
 
! Number
! Station
+
! colspan="2" | Station
 
|-
 
|-
| 0 || Wildstyle
+
| || <center>{{Icon|VC}}</center> || <center>{{Icon|SA}}</center>
|-
 
| 1 || Flash FM
 
|-
 
| 2 || KChat
 
|-
 
| 3 || Fever 105
 
|-
 
| 4 || VRock
 
|-
 
| 5 || VCPR
 
|-
 
| 6 || Espantoso
 
|-
 
| 7 || Emotion 98.3
 
|-
 
| 8 || Wave 103
 
|-
 
| 9 || Default vehicle's station
 
|-
 
| 10 || Radio off
 
|}
 
 
 
==San Andreas==
 
This section is mainly used in the <code>peds.ide</code> file.
 
===Format===
 
ID, ModelName, TxdName, Threat, Behavior, Animation, VehClass, Drugs, UnknownAnim, Radio1, Radio2, VoiceArchive, Voice1, Voice2
 
 
 
{|{{Prettytable}} width="100%"
 
!width="250px"|Identifier
 
!Description
 
|-
 
|<center>ID</center>||Unique model ID
 
|-
 
|<center>ModelName</center>||Name of the .dff [[model file]], without extension
 
|-
 
|<center>TxdName</center>||Name of the .txd [[texture dictionary]], without extension
 
|-
 
|<center>Threat</center>||The threat of the ped as defined in the ped.dat file
 
|-
 
|<center>Behavior</center>||The behavior of the ped as defined in the pedstats.dat file
 
|-
 
|<center>Animation</center>||The animation file being used on the ped for movements
 
|-
 
|<center>VehClass</center>||The [[CARS_(IDE_Section)|class of vehicle]] that the ped will drive as hex value.
 
|-
 
|<center>Drugs</center>||1 sets the ped to buy drugs from drug dealers
 
|-
 
|<center>Radio1, Radio2</center>||Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio
 
|-
 
|<center>VoiceArchive</center>||The [[Audio stream|sound file]] for the ped's voices
 
|-
 
|<center>Voice1, Voice2</center>||The ped's voices (its dialogue), doesn't include screams and pains
 
|}
 
 
 
===Radio Stations===
 
This is a list of available radio stations.
 
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
! Number
 
! Station
 
 
|-
 
|-
| 0 || Playback FM
+
| 0 || Wildstyle || Playback FM
 
|-
 
|-
| 1 || K Rose
+
| 1 || Flash FM || K Rose
 
|-
 
|-
| 2 || WCTR
+
| 2 || KChat || WCTR
 
|-
 
|-
| 3 || K-DST
+
| 3 || Fever 105 || K-DST
 
|-
 
|-
| 4 || Bounce FM
+
| 4 || VRock || Bounce FM
 
|-
 
|-
| 5 || SF-UR
+
| 5 || VCPR || SF-UR
 
|-
 
|-
| 6 || Radio Los Santos
+
| 6 || Espantoso || Radio Los Santos
 
|-
 
|-
| 7 || Radio X
+
| 7 || Emotion 98.3 || Radio X
 
|-
 
|-
| 8 || CSR 103.9
+
| 8 || Wave 103 || CSR 103.9
 
|-
 
|-
| 9 || K-Jah West
+
| 9 || Default vehicle's station || K-Jah West
 
|-
 
|-
| 10 || Master Sounds 98.3
+
| 10 || Radio off || Master Sounds 98.3
 
|-
 
|-
| 11 || User Track Player
+
| 11 || - || User Track Player
 
|-
 
|-
| 12 || Radio Off
+
| 12 || - || Radio Off
 
|}
 
|}
  
{{N|4|SA}}
+
{{N|4|SA|VC}}

Revision as of 06:16, 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
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
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
Animation
string The animation file being used on the ped for movements (see below)
G
VehClass
hex The class of vehicle that the ped will drive as hex value.
-
H
unknown
string related to animations?
-
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

Animations

These are the available animations which 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

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