1. Create model
2. Create prefab from model
3. Create material with names of orignal game "arhive"-"record"_"frame"
4. Assign material to prefab
5. Build mod with prefab
Result: The model will be replaced in the game with the prefab but the material will remain empty (default white/grey).
Possible issues
In MeshReplacment, FinaliseMaterials(), line 403, you have ...
Code: Select all
if (TextureReplacement.IsDaggerfallTexture(materials[i].name, out archive, out record)
&& TextureReplacement.TextureExistsAmongLooseFiles(archive, record, 0))
Code: Select all
if (TextureReplacement.IsDaggerfallTexture(materials[i].name, out archive, out record))
I'm 99 % that the check for loose file shouldn't be there.