Clothing Component IDs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
txd = engineLoadTXD("myafro.txd") | txd = engineLoadTXD("myafro.txd") | ||
engineImportTXD( txd, | engineImportTXD( txd, 30201 ) | ||
</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 16: | Line 16: | ||
=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;' | ||
Line 841: | Line 842: | ||
|} | |} | ||
|} | |} | ||
[[Category:ID_Lists]] |
Latest revision as of 11:58, 7 April 2018
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)
|
|
|
|
|
|