I am currently in the process of making a mod, and I spawned it in to the game and it did not have a texture. I created the textures in Blender, but what do I do now?
Maybe. I don't know too much about content creation. Does the mapTo part of the material match the name of the mesh's material? e.g: Code: singleton Material(material_Name) { mapTo = "material_Name"; //Other material stuff here };
First, make a material.cs file and start putting those lines as shown in this pic (its missing alot of things but, it will help you understand what's going on) The other day I was trying to make exhaust flame(backfire) so I modeled a plane and put a flame png file as shown above. First, you have to apply the texture to your 3D model and and export it as a DAE file. Where it says "mapTo" is the name of the texture in your 3D modeling program in my case (metalfire) diffuseMap is the image or usually the DDS texture file In my case, I'm using opacityMap in order to make the flame is the only thing you see (in order to make the game ignore the white area around the flames and make them see through) Note: (idk why but, if I make any changes in the materials, I have to restart the game in order to apply the new changes)