Difference between revisions of "TXDP"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{IdeSection | game = GTA SA, GTA IV | description = Used to define weapons }} '''TXDP''' is a section in the item definition file. It is used as an extended […')
 
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{IdeSection
 
{{IdeSection
| game        = [[GTA SA]], [[GTA IV]]
+
| game        = {{Icon|SA}} {{Icon|4}}
| description = Used to define weapons
+
| description = Used to texture parents
 
}}
 
}}
'''TXDP''' is a section in the [[item definition]] file. It is used as an extended [[texture archive]] with generic textures. If a texture for an object isn't found in the assigned txd, and there is a parent txd specified, the game looks there for the texture.
+
'''TXDP''' is a section in the [[item definition]] file in [[San Andreas]] and [[GTA IV]]. It is used as an extended [[texture archive]] with generic textures. If a texture for an object isn't found in the assigned txd, and there is a parent txd specified, the game looks there for the texture.
  
 
== Format ==
 
== Format ==
{|{{Prettytable}}
+
{{Pre|
! width="36px"| {{Icon|SA}} {{Icon|4}}
+
txdp
! width="150px"| Identifier
+
TxdName, TxdParentName
! width="100px"| Type
+
end
 +
}}
 +
 
 +
{|class="wikitable center-col-1 center-col-2" style="width: 100%;"
 +
! style="width: 3em;"| {{Icon|SA}} {{Icon|4}}
 +
! style="width: 12em;"| Identifier
 +
! style="width: 6em;" | Type
 
! Description
 
! Description
 
|-
 
|-
| <center>A</center> || <center>TextureName</center> || string || Name of the <code>.txd/.wtd</code> child texture file without extension.
+
| A || TxdName || string || Name of the <code>.txd</code>/<code>.wtd</code> child [[texture dictionary]] without extension.
 
|-
 
|-
| <center>B</center> || <center>TextureParentName</center> || string || Name of the <code>.txd/.wtd</code> parent texture file without extension.
+
| B || TxdParentName || string || Name of the <code>.txd</code>/<code>.wtd</code> parent texture dictionary without extension.
 
|}
 
|}
 +
 +
== Statistics ==
 +
Total number of TXDP entries in:
 +
:San Andreas: 38
 +
:GTA IV: 867
  
 
== External link ==
 
== External link ==
 
* {{GTAF|post|213778|3161929|Explanation of GTA SA's TXDP section}} - Post by {{U|steve-m}}
 
* {{GTAF|post|213778|3161929|Explanation of GTA SA's TXDP section}} - Post by {{U|steve-m}}

Latest revision as of 18:24, 10 November 2016

TXDP (IDE section)
Supported games:San Andreas GTA IV
Brief description:Used to texture parents
IDE Sections:
2DFX AMAT ANIM CARS HIER HAND MLO OBJS
PATH PEDS TANM TOBJ TREE TXDP WEAP

TXDP is a section in the item definition file in San Andreas and GTA IV. It is used as an extended texture archive with generic textures. If a texture for an object isn't found in the assigned txd, and there is a parent txd specified, the game looks there for the texture.

Format

txdp
TxdName, TxdParentName
end
San Andreas GTA IV Identifier Type Description
A TxdName string Name of the .txd/.wtd child texture dictionary without extension.
B TxdParentName string Name of the .txd/.wtd parent texture dictionary without extension.

Statistics

Total number of TXDP entries in:

San Andreas: 38
GTA IV: 867

External link