Page 1 of 1

GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Wed Oct 20, 2010 4:59 pm
by MaestraFénix
All of the changelog:

Code: Select all

Loaded QC file - "C:\Users\Rafa\Desktop\models_d\mdldecompiler.qc"

Created command line: "C:\Program Files\Steam\steamapps\maestro_fenix\sourcesdk\bin\source2007\bin\studiomdl.exe" -game "c:\program files\steam\SteamApps\SourceMods\obsidian" -nop4 -nox360 C:\Users\Rafa\Desktop\models_d\mdldecompiler.qc

qdir:    "c:\users\rafa\desktop\models_d\"
gamedir: "c:\program files\steam\SteamApps\SourceMods\obsidian\"
g_path:  "C:\Users\Rafa\Desktop\models_d\mdldecompiler.qc"
Building binary model files...
Working on "mdldecompiler.qc"
SMD MODEL C:\Users\Rafa\Desktop\models_d/Adrian.smd
ERROR: Too many materials used, max 32
ERROR: Aborted Processing on 'player\Adrian_Shepard.mdl'
WARNING: Leaking 1 elements
I count the .vtf files and the total number is 41.

This error is not appear on Kathar´s website, and only is mencionated without a solution in the "Mario´s guide of Ragdolling".

No more results in the entire internet.

Rukifellth said that maybe will work if i put together the texture images into one larger image, and try to wrap that texture correctly into the model, but i can´t see textures on my model editor (3ds 2010).


The interesting is this: The model is a custom HD model from a GoldSrc mod. What significate this, in GoldSrc don´t exist this limit?

Maybe is caused because i aggrupate in one model five different models? (these parts are for example, their head or their backpack). If is yes, how can do it? (i see the $modelblahblah... command, but i don´t know use it).

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Thu Oct 21, 2010 6:47 pm
by xenoaisam
open up 3dsmax with that model then press 'm'

then use print screen show the image here~

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Thu Oct 21, 2010 9:40 pm
by fug4life
adrian shepard, your in contact with fighter right? please ask him where mah drill instructer model is @?

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Fri Oct 22, 2010 9:44 am
by MaestraFénix
fug4life wrote:adrian shepard, your in contact with fighter right? please ask him where mah drill instructer model is @?
Edited: I wrote a lot of words about how you knew it, but i see that in the .qc code is their name (LOLFAIL).

I don't know. Yesterday i talked with him about my problem with the Kit Ballard model. The next time i'll ask him.

About the model, Xeno, i'll don't post any image until the release of the V3. Too of my playermodels had been "discovered" when i posted here my problems about every else.

Reading the old and original .qc file, i discovered that the creator used the command $body to attach the different models in the principal model, so i'll try it.

And if after that don't work, i'll send a pm, ok?.

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Fri Oct 22, 2010 7:31 pm
by MaestraFénix
Doublepost permitied:

I failed. I made it same the older (5 SMD than 1) and used the same code. Still appearing the error. I send you a pm with the SMD and an Image. I think that the fix is re-asignating the textures of the model in the program, but i don´t know do it (yes, is pressing "m", but i don´t know how to continue).

I´ll make your Sergeant when i back to my holidays, Fug.

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Fri Oct 22, 2010 8:39 pm
by xenoaisam
sorry Maestro Fénix... i cant give the file because i'm way too busy...

but i've test and see it in max... shepard body is only total 19 texture + head is total 6 texture...

i suggest you to import and compile this 2 smd file....

give it a try!

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Fri Oct 22, 2010 10:14 pm
by MaestraFénix
xenoaisam wrote:sorry Maestro Fénix... i cant give the file because i'm way too busy...

but i've test and see it in max... shepard body is only total 19 texture + head is total 6 texture...

i suggest you to import and compile this 2 smd file....

give it a try!
Ok, i understand you. I´ll try tomorrow, hope i have time to do it.

About the sergeant, i didn´t yet (i was very boring, and when Andrax17 get offline, went to play Blade Kitten).

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Tue Oct 26, 2010 4:53 pm
by MaestraFénix
Any idea how to see the textures of the model? I see after pressing "m" and exploring that all are in multi/syb objects. I´m trying all to load the textures, but don´t work. I tried load the .bmp of textures, but don´t work too.

I decided release the complete model, so i decide reduce the number of textures (grouping most of then in a few files), so i´m investigating all refered to skinning (i know how to put textures into a new model, but i don´t know how to see it in an existant model).

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Wed Oct 27, 2010 7:36 am
by xenoaisam
you can use eyedrooper button to copy the material at model into material menu....

Image

Re: GUIStudioMdl ERROR: Too many materials used, max 32

Posted: Wed Oct 27, 2010 11:37 am
by MaestraFénix
I tried that, but don't work (default material, don't copy their textures).