Difference between revisions of "PEDS"

From GTAMods Wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
|<center>Animation</center>||The animation file being used on the ped for movements ([[PEDS#Animations|see below]])
 
|<center>Animation</center>||The animation file being used on the ped for movements ([[PEDS#Animations|see below]])
 
|-
 
|-
|<center>VehClass</center>||The class of vehicle that the ped will drive ([[PEDS#Vehicle Class|see below]])<br>The value is in hex! It needs to be converted into decimal and back
+
|<center>VehClass</center>||The [[CARS_(IDE_Section)|class of vehicle]] that the ped will drive as hex value.
 
|}
 
|}
  
Line 46: Line 46:
 
*shuffle
 
*shuffle
 
*woman
 
*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_(IDE_Section)#Class|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
 
|-
 
| 1 || poorfamily
 
|-
 
| 2 || richfamily
 
|-
 
| 4 || executive
 
|-
 
| 8 || worker
 
|-
 
| 16 || special
 
|-
 
| 32 || big
 
|-
 
| 64 || taxi
 
|}
 
  
 
==Vice City==
 
==Vice City==
Line 89: Line 68:
 
|<center>Animation</center>||The animation file being used on the ped for movements ([[PEDS#Animations 2|see below]])
 
|<center>Animation</center>||The animation file being used on the ped for movements ([[PEDS#Animations 2|see below]])
 
|-
 
|-
|<center>VehClass</center>||The class of vehicle that the ped will drive ([[PEDS#Vehicle Class 2|see below]])<br>The value is in hex! It needs to be converted into decimal and back
+
|<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
 
|<center>Radio1, Radio2</center>||Ped's preferred radio station, only works if the ped is driving a vehicle with a working radio
Line 113: Line 92:
 
*skate
 
*skate
 
*woman
 
*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_(IDE_Section)#Class_2|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
 
|-
 
| 1 || normal
 
|-
 
| 2 || poorfamily
 
|-
 
| 4 || richfamily
 
|-
 
| 8 || executive
 
|-
 
| 16 || worker
 
|-
 
| 32 || big
 
|-
 
| 64 || taxi
 
|-
 
| 128 || moped
 
|-
 
| 256 || motorbike
 
|-
 
| 512 || leisureboat
 
|-
 
| 1024 || workerboat
 
|}
 
  
 
===Radio Stations===
 
===Radio Stations===
Line 193: Line 143:
 
|<center>Animation</center>||The animation file being used on the ped for movements
 
|<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>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>Drugs</center>||1 sets the ped to buy drugs from drug dealers
Line 202: Line 152:
 
|-
 
|-
 
|<center>Voice1, Voice2</center>||The ped's voices (its dialogue), doesn't include screams and pains
 
|<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
 
 
|}
 
|}
  

Revision as of 07:38, 30 July 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.

GTA III

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

Format

ID, ModelName, TxdName, Pedtype, 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
Pedtype
The default ped type of the ped
Behavior
The behavior of the ped as defined in the pedstats.dat file
Animation
The animation file being used on the ped for movements (see below)
VehClass
The 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 default.ide file.

Format

ID, ModelName, TxdName, Pedtype, 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
Pedtype
The default ped type of the ped
Behavior
The behavior of the ped as defined in the pedstats.dat file
Animation
The animation file being used on the ped for movements (see below)
VehClass
The class of vehicle that the ped will drive as hex value.
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

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 Default vehicle's station
10 Radio 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 as hex value.
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

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