Difference between revisions of "PEDS"

From GTAMods Wiki
Jump to navigation Jump to search
m (The notes-template should only be used in combination with the ref-template.)
(added SA)
Line 7: Line 7:
  
 
==GTA III==
 
==GTA III==
 +
This section is mainly used in the <code>default.ide</code> file.
 
===Format===
 
===Format===
  ID, ModelName, TxdName, Threat, Behavior, AnimationType, VehClass
+
  ID, ModelName, TxdName, Threat, Behavior, Animation, VehClass
  
 
{|{{Prettytable}} width="100%"
 
{|{{Prettytable}} width="100%"
Line 24: Line 25:
 
|<center>Behavior</center>||The behavior of the ped as defined in the pedstats.dat file
 
|<center>Behavior</center>||The behavior of the ped as defined in the pedstats.dat file
 
|-
 
|-
|<center>AnimationType</center>||The type of animation being used on the ped for movements{{Ref|1|[*]}}
+
|<center>Animation</center>||The animation file being used on the ped for movements
 
|-
 
|-
|<center>VehClass</center>||The class of vehicle that the ped will drive{{Ref|2|[*]}}<br>The value is in hex! It needs to be converted into decimal and back
+
|<center>VehClass</center>||The class of vehicle that the ped will drive<br>The value is in hex! It needs to be converted into decimal and back
 
|}
 
|}
  
===Types of Animations===
+
===Animations===
These are the available types of animations located in the ped.ifp file.
+
These are the available animations which are located in the ped.ifp file.
 
*busywoman
 
*busywoman
 
*fatman
 
*fatman
Line 68: Line 69:
  
 
==Vice City==
 
==Vice City==
 +
This section is mainly used in the <code>default.ide</code> file.
 
===Format===
 
===Format===
  ID, ModelName, TxdName, Threat, Behavior, AnimationType, VehClass, StartAnimation?, Radio1, Radio2
+
  ID, ModelName, TxdName, Threat, Behavior, Animation, VehClass, UnknownAnim, Radio1, Radio2
  
 
{|{{Prettytable}} width="100%"
 
{|{{Prettytable}} width="100%"
Line 85: Line 87:
 
|<center>Behavior</center>||The behavior of the ped as defined in the pedstats.dat file
 
|<center>Behavior</center>||The behavior of the ped as defined in the pedstats.dat file
 
|-
 
|-
|<center>AnimationType</center>||The type of animation being used on the ped for movements{{Ref|3|[*]}}
+
|<center>Animation</center>||The animation file being used on the ped for movements
 
|-
 
|-
|<center>VehClass</center>||The class of vehicle that the ped will drive{{Ref|4|[*]}}<br>The value is in hex! It needs to be converted into decimal and back
+
|<center>VehClass</center>||The class of vehicle that the ped will drive<br>The value is in hex! It needs to be converted into decimal and back
 
|-
 
|-
|<center>Radio1, Radio2</center>||Ped's preferred radio station{{Ref|5|[*]}}
+
|<center>Radio1, Radio2</center>||Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio
 
|}
 
|}
  
===Types of Animations===
+
===Animations===
These are the available types of animations located in the ped.ifp file.
+
These are the available animations which are located in the ped.ifp file.
 
*busywoman
 
*busywoman
 
*fatman
 
*fatman
Line 166: Line 168:
 
|-
 
|-
 
| 9 || Off
 
| 9 || 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 class of vehicle that the ped will drive<br>The value is in hex! It needs to be converted into decimal and back
 +
|-
 +
|<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
 +
|}
 +
 +
===Vehicle Class===
 +
This is a list of vehicle class in decimal. Add them up to allow more than one class to be used. Then convert it into hex for it to be usable. The class of a vehicle is defined in the CARS section of the IDE file.
 +
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 +
! Decimal
 +
! Class
 +
|-
 +
| 0 || none
 +
|-
 +
| 1 || normal
 +
|-
 +
| 2 || poorfamily
 +
|-
 +
| 4 || richfamily
 +
|-
 +
| 8 || executive
 +
|-
 +
| 16 || worker
 +
|-
 +
| 32 || big
 +
|-
 +
| 64 || taxi
 +
|-
 +
| 128 || moped
 +
|-
 +
| 256 || motorbike
 +
|-
 +
| 512 || leisureboat
 +
|-
 +
| 1024 || workerboat
 +
|-
 +
| 2048 || bicycle
 +
|-
 +
| 4096 || on foot
 +
|}
 +
 +
===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
 +
|-
 +
| 1 || K Rose
 +
|-
 +
| 2 || WCTR
 +
|-
 +
| 3 || K-DST
 +
|-
 +
| 4 || Bounce FM
 +
|-
 +
| 5 || SF-UR
 +
|-
 +
| 6 || Radio Los Santos
 +
|-
 +
| 7 || Radio X
 +
|-
 +
| 8 || CSR 103.9
 +
|-
 +
| 9 || K-Jah West
 +
|-
 +
| 10 || Master Sounds 98.3
 +
|-
 +
| 11 || User Track Player
 +
|-
 +
| 12 || Radio Off
 
|}
 
|}
  
 
{{N|4|SA}}
 
{{N|4|SA}}

Revision as of 23:42, 18 August 2009

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.

GTA III

This section is mainly used in the default.ide file.

Format

ID, ModelName, TxdName, Threat, Behavior, Animation, VehClass
Identifier Description
ID
Unique model ID
ModelName
Name of the .dff model file, without extension
TxdName
Name of the .txd texture dictionary, without extension
Threat
The threat of the ped as defined in the ped.dat file
Behavior
The behavior of the ped as defined in the pedstats.dat file
Animation
The animation file being used on the ped for movements
VehClass
The class of vehicle that the ped will drive
The value is in hex! It needs to be converted into decimal and back

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

Vehicle Class

This is a list of vehicle class in decimal. Add them up to allow more than one class to be used. Then convert it into hex for it to be usable. The class of a vehicle is defined in the CARS section of the IDE file.

Decimal Class
1 poorfamily
2 richfamily
4 executive
8 worker
16 special
32 big
64 taxi

Vice City

This section is mainly used in the default.ide file.

Format

ID, ModelName, TxdName, Threat, Behavior, Animation, VehClass, UnknownAnim, Radio1, Radio2
Identifier Description
ID
Unique model ID
ModelName
Name of the .dff model file, without extension
TxdName
Name of the .txd texture dictionary, without extension
Threat
The threat of the ped as defined in the ped.dat file
Behavior
The behavior of the ped as defined in the pedstats.dat file
Animation
The animation file being used on the ped for movements
VehClass
The class of vehicle that the ped will drive
The value is in hex! It needs to be converted into decimal and back
Radio1, Radio2
Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio

Animations

These are the available animations which are located in the ped.ifp file.

  • busywoman
  • fatman
  • fatwoman
  • gang1
  • gang2
  • jogger
  • jogwoman
  • man
  • oldfatman
  • oldman
  • oldwoman
  • player
  • sexywoman
  • shopping
  • shuffle
  • skate
  • woman

Vehicle Class

This is a list of vehicle class in decimal. Add them up to allow more than one class to be used. Then convert it into hex for it to be usable. The class of a vehicle is defined in the CARS section of the IDE file.

Decimal Class
1 normal
2 poorfamily
4 richfamily
8 executive
16 worker
32 big
64 taxi
128 moped
256 motorbike
512 leisureboat
1024 workerboat

Radio Stations

This is a list of available radio stations.

Number Station
0 Wildstyle
1 Flash FM
2 KChat
3 Fever 105
4 VRock
5 VCPR
6 Espantoso
7 Emotion 98.3
8 Wave 103
9 Off

San Andreas

This section is mainly used in the peds.ide file.

Format

ID, ModelName, TxdName, Threat, Behavior, Animation, VehClass, Drugs, UnknownAnim, Radio1, Radio2, VoiceArchive, Voice1, Voice2
Identifier Description
ID
Unique model ID
ModelName
Name of the .dff model file, without extension
TxdName
Name of the .txd texture dictionary, without extension
Threat
The threat of the ped as defined in the ped.dat file
Behavior
The behavior of the ped as defined in the pedstats.dat file
Animation
The animation file being used on the ped for movements
VehClass
The class of vehicle that the ped will drive
The value is in hex! It needs to be converted into decimal and back
Drugs
1 sets the ped to buy drugs from drug dealers
Radio1, Radio2
Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio
VoiceArchive
The sound file for the ped's voices
Voice1, Voice2
The ped's voices (its dialogue), doesn't include screams and pains

Vehicle Class

This is a list of vehicle class in decimal. Add them up to allow more than one class to be used. Then convert it into hex for it to be usable. The class of a vehicle is defined in the CARS section of the IDE file.

Decimal Class
0 none
1 normal
2 poorfamily
4 richfamily
8 executive
16 worker
32 big
64 taxi
128 moped
256 motorbike
512 leisureboat
1024 workerboat
2048 bicycle
4096 on foot

Radio Stations

This is a list of available radio stations.

Number Station
0 Playback FM
1 K Rose
2 WCTR
3 K-DST
4 Bounce FM
5 SF-UR
6 Radio Los Santos
7 Radio X
8 CSR 103.9
9 K-Jah West
10 Master Sounds 98.3
11 User Track Player
12 Radio Off