Skinning Problems Created 18 years ago2006-06-28 15:28:19 UTC by TawnosPrime TawnosPrime

Created 18 years ago2006-06-28 15:28:19 UTC by TawnosPrime TawnosPrime

Posted 18 years ago2006-06-28 15:28:19 UTC Post #187346
Does the SDK know where to look for the files when running studiomdl w/ a mod? I've tried 3 different basic models w/ my SDK set up for Dystopia and followed Source Modelling Setup tutorial to the letter (taking the obvious corrections for the setup) and my models still only display w/ the pink/black pattern.

The .mdl and .vtf files go where they should when they're compiled, but the .mdl can't seem to tell it's .vtf from it's own ass.
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-06-30 20:27:55 UTC Post #187692
http://www.wunderboy.org/download.php?file=MDLTextureInfo_1.0.zip&s=1

Drag your .mdl onto this and see what texture it's looking for, and adjust the VTF and re-apply it to the SMD as necessary. .
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 18 years ago2006-06-30 22:45:20 UTC Post #187707
It keeps telling me that my connection is refused.
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-07-04 13:37:11 UTC Post #188427
the .mdl can't seem to tell it's .vtf from it's own ass
It can if you tell it where to look for them.

It appears that Studiomdl and HLMV look in the mod directory for the last mod you ran (not the one you select in the Source SDK window).

Apparently, it's the last "applaunch" that sets global variables that Source uses for the utilities.

If you ran HL2 last and then look for a model for some other mod, it won't work correctly, unless you have all the same models and textures in the HL2 folders.

Run the mod and then look at the models for the mod. You don't have to load a map; just start the mod and quit.

You can use conText to compile the models and setup F9 as recommended in the ValveWiki. You can capture the compiler output and see where it's putting the files.
Posted 18 years ago2006-07-04 15:55:05 UTC Post #188470
Ok, that makes sense. Although, I don't think running Dystopia 'sets up' the SDK for it, as it needs HL2 to run (can see HL2 loading in the Steam window), but I'll give that other stuff a try. THanx.
TawnosPrime TawnosPrimeI...AM...CANADIAN!
Posted 18 years ago2006-07-05 01:30:00 UTC Post #188547
Just to straighten something out: studiomdl doesn't need or use the vtf and vtm files to compile a model. Studiomdl just buries the $cdmaterial directive from the qc file (along with the texture names) into the mdl.
You must be logged in to post a response.