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.)
Line 30: Line 30:
  
 
===Types of Animations===
 
===Types of Animations===
{{Note|1}}These are the available types of animations located in the ped.ifp file.
+
These are the available types of animations located in the ped.ifp file.
 
*busywoman
 
*busywoman
 
*fatman
 
*fatman
Line 47: Line 47:
  
 
===Vehicle Class===
 
===Vehicle Class===
{{Note|2}}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.
+
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;"
 
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
! Decimal
 
! Decimal
Line 93: Line 93:
  
 
===Types of Animations===
 
===Types of Animations===
{{Note|3}}These are the available types of animations located in the ped.ifp file.
+
These are the available types of animations located in the ped.ifp file.
 
*busywoman
 
*busywoman
 
*fatman
 
*fatman
Line 113: Line 113:
  
 
===Vehicle Class===
 
===Vehicle Class===
{{Note|4}}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.
+
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;"
 
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
! Decimal
 
! Decimal
Line 142: Line 142:
  
 
===Radio Stations===
 
===Radio Stations===
{{Note|5}}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;"
 
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse;"
 
! Number
 
! Number

Revision as of 15:30, 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

Format

ID, ModelName, TxdName, Threat, Behavior, AnimationType, 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
AnimationType
The type of animation 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

Types of Animations

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

Format

ID, ModelName, TxdName, Threat, Behavior, AnimationType, VehClass, StartAnimation?, 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
AnimationType
The type of animation 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[*]

Types of Animations

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