TCMask texture name is expected to be in form of 'page-<diffuse page number>_tcmask'. For previous example it's the following pair: 'page-16-droid-drives.png' and 'page-16_tcmask.png'.
To test your model in-game:
- Add as new one or replace some existing model with your TCMasked .pie
- Add/replace diffuse texture into 'texpages' folder
- Add mask texture into the same 'texpages' folder
- Modify limiter_tex.wrf and vidmemX.wrf files (grab them from mp folder for skirmish mods) with TCMASK line:
- Code: Select all
file TEXPAGE "page-16-droid-drives.png"
file TCMASK "page-16_tcmask.png"
- Run current trunk version of the game and check for results
Here is a windows trunk
build based on revision 10396. Please post all
TCMask related issues into this tread and bugs into
#851.
Both diffuse and mask textures could be up to 2048px x 2048px is size. However it's best to keep some proportions between model's element size and its texture island size, so when textures will be downscaled in-game (for gfx adapters with small amount of video memory) it won't be too much blurred, like factory on the screenshots below
The fact is that both factory and the lab do have same sized 1024px textures. All is fine when you set up game to use 1048px textures, but feel the difference when they are downscaled to 256px. If you can, please check you work at 512px at least.