12,236
edits
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{IdeSection | {{IdeSection | ||
|game = {{Icon-square|t}} {{Icon-square|4}} | |game = {{Icon-square|t}} {{Icon-square|4}} | ||
|description = | |description = Defines characters and pedestrians | ||
}} | }} | ||
'''<code>peds</code>''' is a section in the item definition file in [[Grand Theft Auto III]], [[Grand Theft Auto: Vice City]], [[Grand Theft Auto: San Andreas]], and [[Grand Theft Auto IV]]. It is used to define characters and pedestrians and some of their properties. | '''<code>peds</code>''' is a section in the item definition file in [[Grand Theft Auto III]], [[Grand Theft Auto: Vice City]], [[Grand Theft Auto: San Andreas]], and [[Grand Theft Auto IV]]. It is used to define characters and pedestrians and some of their properties. | ||
Line 27: | Line 27: | ||
|C ||TxdName ||string ||Name of the .txd texture dictionary, without extension | |C ||TxdName ||string ||Name of the .txd texture dictionary, without extension | ||
|- | |- | ||
|D ||Default pedtype ||string ||The default ped type of the ped | |D ||Default pedtype ||string ||The default [[Ped Type|ped type]] of the ped | ||
|- | |- | ||
|E ||Behavior ||string ||The behavior of the ped as defined in the pedstats.dat file | |E ||Behavior ||string ||The behavior of the ped as defined in the pedstats.dat file | ||
Line 33: | Line 33: | ||
|F ||AnimGroup ||string ||The animation group for movements of the ped ([[#Animation groups|see below]]) | |F ||AnimGroup ||string ||The animation group for movements of the ped ([[#Animation groups|see below]]) | ||
|- | |- | ||
|G ||Cars can drive mask ||hex ||The [[CARS (IDE Section)|classes of vehicle]] that the ped will drive in flag field representation as hex value ([[#Car groups|see below]]). | |G ||Cars can drive mask ||hex ||The [[CARS (IDE Section)|classes of vehicle]] that the ped will drive in [[Flag Field|flag field]] representation as hex value ([[#Car groups|see below]]). | ||
|} | |} | ||
Line 79: | Line 79: | ||
|C ||TxdName ||string ||Name of the .txd texture dictionary, without extension | |C ||TxdName ||string ||Name of the .txd texture dictionary, without extension | ||
|- | |- | ||
|D ||Default pedtype ||string ||The default ped type of the ped | |D ||Default pedtype ||string ||The default [[Ped Type|ped type]] of the ped | ||
|- | |- | ||
|E ||Behavior ||string ||The behavior of the ped as defined in the pedstats.dat file | |E ||Behavior ||string ||The behavior of the ped as defined in the pedstats.dat file | ||
Line 85: | Line 85: | ||
|F ||AnimGroup ||string ||The animation group for movements of the ped ([[#Animation groups|see below]]) | |F ||AnimGroup ||string ||The animation group for movements of the ped ([[#Animation groups|see below]]) | ||
|- | |- | ||
|G ||Cars can drive mask ||hex ||The [[CARS (IDE Section)|classes of vehicle]] that the ped will drive in flag field representation as hex value ([[#Car groups 2|see below]]). | |G ||Cars can drive mask ||hex ||The [[CARS (IDE Section)|classes of vehicle]] that the ped will drive in [[Flag Field|flag field]] representation as hex value ([[#Car groups 2|see below]]). | ||
|- | |- | ||
|H ||Animfile ||string ||The animation file for secondary animations (like sunbathing) | |H ||Animfile ||string ||The animation file for secondary animations (like sunbathing) | ||
Line 143: | Line 143: | ||
|C ||TxdName ||string ||Name of the .txd texture dictionary, without extension | |C ||TxdName ||string ||Name of the .txd texture dictionary, without extension | ||
|- | |- | ||
|D ||Default pedtype ||string ||The default ped type of the ped | |D ||Default pedtype ||string ||The default [[Ped Type|ped type]] of the ped | ||
|- | |- | ||
|E ||Behavior ||string ||The behavior of the ped as defined in the pedstats.dat file | |E ||Behavior ||string ||The behavior of the ped as defined in the pedstats.dat file | ||
Line 175: | Line 175: | ||
|B ||Props ||string ||Unique prop (like helmets, glasses, hats) model name without extension, located in <code>\pc\models\cdimages\componentpeds.img</code>, use <code>null</code> for unavailable props | |B ||Props ||string ||Unique prop (like helmets, glasses, hats) model name without extension, located in <code>\pc\models\cdimages\componentpeds.img</code>, use <code>null</code> for unavailable props | ||
|- | |- | ||
|C ||Pedtype ||string ||The default ped type of the ped | |C ||Pedtype ||string ||The default [[Ped Type|ped type]] of the ped | ||
|- | |- | ||
|D ||Animgroup ||string || | |D ||Animgroup ||string || | ||
Line 218: | Line 218: | ||
* shuffle | * shuffle | ||
* woman | * woman | ||
Introduced in Vice City: | Introduced in GTA Vice City: | ||
* jogger | * jogger | ||
* jogwoman | * jogwoman | ||
* skate (Note: column H requires "skate" when using this else the game will crash upon spawning the ped) | * skate (Note: column H requires "skate" when using this else the game will crash upon spawning the ped) | ||
Introduced in San Andreas: | Introduced in GTA San Andreas: | ||
* pro | * pro | ||
* swat | * swat | ||
Line 256: | Line 256: | ||
|10 ||Radio off ||[[Master Sounds 98.3]] | |10 ||Radio off ||[[Master Sounds 98.3]] | ||
|- | |- | ||
|11 ||- ||User Track Player | |11 ||- ||[[Custom Radio Station|User Track Player]] | ||
|- | |- | ||
|12 ||- ||Radio off | |12 ||- ||Radio off |