[EN] Texture variations (remap) - JuniorDjjr/PedFuncs GitHub Wiki

Textures varying randomly

Utility

To decrease the number of repeated pedestrians, simply add texture variations.
In the future it will also be possible to define certain conditions for the textures, such as varying with the region (thus being able to use different variations of cops in each region).

How to use

Let's suppose you want to create a remap for the texture called bmydj inside bmydj.txd.
Create a new texture named bmydj_remap, like the image below (Magic.TXD):
pedfuncs remap txd example
You can create as many _remap textures as you like (it's limitless).
Remember that the number in the texture name doesn't matter, it's optional and can be anything, the only thing that matters is what comes before the _remap.
If you wanted to create the remap for texture neckcross, would be neckcross_remap, simply.

Limitations

At the moment it's only possible to use 4 textures for remap (if your mod uses more than 4 texture, something is wrong, decrease the texture usage of your mod), but it can have infinite variations.