I found PaintMesh, and it takes 2 arguments. One brush and one mesh. But how do I replace only one of the textures on the mesh with the brush?
As a simple example, I want to load a mesh that looks like a picture frame. One texture is the nice golden frame, the other one is a placeholder inside the frame. Then when the game starts, I want to change the placeholder with a new texture, keeping the golden frame.
As far as I can see, the PaintMesh function would replace both textures.
Edit:
After some more digging around in the online B3d manual, I found the PaintSurface function. Is there a way to find the surface of a mesh using groupnames from the milkshape files?
As a simple example, I want to load a mesh that looks like a picture frame. One texture is the nice golden frame, the other one is a placeholder inside the frame. Then when the game starts, I want to change the placeholder with a new texture, keeping the golden frame.
As far as I can see, the PaintMesh function would replace both textures.
Edit:
After some more digging around in the online B3d manual, I found the PaintSurface function. Is there a way to find the surface of a mesh using groupnames from the milkshape files?