[EN] Additional TXD files - JuniorDjjr/PedFuncs GitHub Wiki
Shared generic textures
Utility
Instead of repeating the same texture in tens or hundreds of pedestrian .txd files, it is smarter to use the texture only once in a shared .txd file, thus saving memory usage and disk load.
In GTA Classic's native skins it's not that useful, but it becomes essential in skins that have textures repeating too much, for example, eyes from GTA Trilogy, which are always the same eyes shared on all peds.
How to use
Create a file "peds1.txd", where the number can go up to "peds5.txd", and place the textures there (MagicTXD recommended).
The files can be inside gta3.img or any folder inside ModLoader.
Gang hand textures
Utility
When a gang member signals, the game takes the texture of the same name within that ped's .txd file. If it doesn't find it, it will use the first texture (actually, usually the last one, due to the way reading works). This means that, if a skin mod does not have the native texture of that ped, with the hand in the correct position, using the texture of the same file name, it will use the wrong texture for the hand.
PedFuncs, or the separate mod Gang Hands Texture Fix, adds a "GangHands.txd" for you put the "falloff" hand texture if it is not found in the skin's .txd file.
How to use
By default the mod already includes the file "GangHands.txd" ready, with a texture "hands_white" and "hands_black". Realize that it is important that the hand stays in that position.
Limitations
It is still possible for such a skin mod to use the wrong texture with the .txd name, so the mod won't know it's wrong, and therefore won't fix the bug in that case, but it's rare.
It's also difficult to know when a person should use a white hand or a black hand, so Ballas and Families use a black hand, and everyone else uses a white hand. It can be wrong if, for example, you change Vagos for black guys.