Hello I'm trying my hand at modding and have been able to successfully add alternate parts to vanilla vehicles. So far, I have been using the default material names in my dae file. In this case, the material name is 'citybus'. I now want to make edits to some of the base textures (note, not skins) of the vehicle, for example adding a new panel line in the normal map. I figured I would need to make a duplicate of the main.materials.json that references my new textures. I have therefore made a copy of the main.materials.json and placed it in my mod folder. I've edited the new json to give the citybus material a new name. I have also given the material in blender the same name. However, I am getting missing materials on my added parts and the console states that it is unable to find material. I've tried various names in the 'mapTo' section. Any help greatly appreciated
Here The only bit I'm interested in at the moment is the citybus_late material, the rest is exactly as per the default one
The „mapTo” is missing a ", at the end. I know this hasn’t been answered in like a month, but hope this helps!
Thanks for the reply, what a stupid mistake! I did manage to fix it in the end, can't remember if that was the only problem.