Clothing Component IDs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Names can be used instead of IDs | Names can be used instead of IDs, and this does exactly the same thing as above: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
txd = engineLoadTXD("myafro.txd") | txd = engineLoadTXD("myafro.txd") | ||
Line 19: | Line 19: | ||
=ID List= | =ID List= | ||
Full list of clothing texture component IDs and names: | Full list of clothing texture component IDs and names:<br/> | ||
(The texture names are also the same as those listed in the [[CJ Clothes|clothes catalog]]) | |||
{| style='text-align:center; margin: 1em auto 1em auto;' | {| style='text-align:center; margin: 1em auto 1em auto;' |
Revision as of 22:43, 15 April 2013
Example usage
engineImportTXD can be used to replace CJ clothing texture components like this:
txd = engineLoadTXD("myafro.txd") engineImportTXD( txd, 30201 )
Names can be used instead of IDs, and this does exactly the same thing as above:
txd = engineLoadTXD("myafro.txd") engineImportTXD( txd, "afro" )
Original textures
Get the original textures from the GTA file models\player.img
ID List
Full list of clothing texture component IDs and names:
(The texture names are also the same as those listed in the clothes catalog)
|
|
|
|
|
|