Source Filmmaker

Source Filmmaker

Too many materials used, max 32 even though I have 32 (CROWBAR)
My previous discussion died, and the titular question was answered anyway.
Been trying to compile this model for a couple of days now and it's telling me I have too many materials, even though I have the maximum amount. I previously got this error when I had too many materials, so I deleted them and used similar ones. Making multiple objects use similar materials in stead of separate ones. I'm trying to compile to a MDL so the view/preview will be blank.
Textures: https://gyazo.com/aeb458e71897f6106fa91b5298671b7d
VMTs and VTFs: https://gyazo.com/69e5f30cf98ab66ae4f3ad46c661eb5c
https://gyazo.com/95eec309c69f98a5f6fd9457b6fc5587
Last edited by THN Productions; Mar 2, 2019 @ 4:49am
< >
Showing 31-45 of 188 comments
Pte Jack Mar 4, 2019 @ 4:38pm 
I split the screen and changed the display to Property panel....Go to around 9:30 and you'll see me do it.
THN Productions Mar 5, 2019 @ 3:58am 
I'm aware of that, It's just that my textures tab doesn't have a list of textures like yours.
Pte Jack Mar 5, 2019 @ 5:40am 
Is your model textured with image files or did they just paint the thing in Blender (which is a possibility.They only used Blender materials and coloured the bus OR the bus was created in Cycles and uses nodes.) Are there png/dds/tga/jpg files with the model or are the colour swatches on the materials tab coloured?

If the model uses blender painting and the colour swatches are being used to paint the model ( and there are no image texture files), then you're going to have to bake the textures to create them. The baked textures will have to converted to VTF files because they are required for porting to SFM.
green Mar 5, 2019 @ 6:49am 
Originally posted by TimmyHeadNose:
I'm aware of that, It's just that my textures tab doesn't have a list of textures like yours.
Also, make sure you have the mesh selected, and not the skeleton.
THN Productions Mar 5, 2019 @ 7:41am 
Some of it is textured with image files while some where painted. I can make it all textured with image files if that's a problem. I did use the Cycle render engine while texturing it, and it uses nodes. Though, I'm not sure what you mean by "Are there png/dds/tga/jpg files with the model or are the colour swatches on the materials tab coloured?"

I do have the mesh selected (I do if having the "skeleton" selected means all parts of the model, uncluding things outside one mesh).
Pte Jack Mar 5, 2019 @ 3:01pm 
The parts painted with images (png/jpg/dds/tga/etc..) Those images have to be converted to VTF images for Valve models. The parts painted in cycles with Blender colours via your nodes, those textures will have to be baked into some sort of image (png/dds/jpg/tga,etc) then they also have to be converted to vtf images.
Last edited by Pte Jack; Mar 5, 2019 @ 3:02pm
THN Productions Mar 6, 2019 @ 3:58am 
I have all the unique textures saved as PNGs though. And all of them were converted to VTF. I can just make the colored ones use the pngs, right?
All of what I painted I saved as a png.
Pte Jack Mar 6, 2019 @ 7:58am 
Correct, the pngs should be able to be used if you did not change the UV layouts that use them and if the others are just solid colours, you can just create a 64x64 square png/vtf of the colour and use those. The important thing is to get the material count in Blender under 32.
THN Productions Mar 6, 2019 @ 11:04am 
Okay, I'll make sure all materials use the image texture, then I'll get back to the tutorial if my textures tab looks as it should.
And another question, can all of the VMTs and VTFs added together equal more than 32?
Last edited by THN Productions; Mar 6, 2019 @ 11:05am
Zappy Mar 6, 2019 @ 11:08am 
Originally posted by TimmyHeadNose:
- And another question, can all of the VMTs and VTFs added together equal more than 32?
A model can use up to 32 VMTs, but each VMT can use as many VTFs as it wants to without any hard limits.
THN Productions Mar 6, 2019 @ 11:20am 
Okay! Cause I heard somewhere a while back that you can only have 16 of both, so that's good to hear.
Pte Jack Mar 6, 2019 @ 2:29pm 
Go here https://developer.valvesoftware.com/wiki/Material and read.
Then start selecting links if you want more information.

THN Productions Mar 8, 2019 @ 4:18am 
Alright! I got the hang of it! So do we delete the materials that aren't being used by the unlink data block thing? It won't count it as a material anymore, right?
https://gyazo.com/160a02679463be8c60579a8624739eae
Pte Jack Mar 8, 2019 @ 6:23am 
No! Not using the unlink Data block thing...

Like this

https://i.imgur.com/w2Y32jT.png

If your menu in the drop down is not like the one in the picture above, then you don't have the Material: Materials Utils Specials Add-on turned on, see this picture on how to turn it on.

https://i.imgur.com/okawSTz.png



THN Productions Mar 8, 2019 @ 7:18am 
Done it, thanks!
< >
Showing 31-45 of 188 comments
Per page: 1530 50

Date Posted: Mar 2, 2019 @ 4:49am
Posts: 188