connecting your XSI texturing to your vtf/vmt files

connecting your XSI texturing to your vtf/vmt files

Re: connecting your XSI texturing to your vtf/vmt files Posted by BlisTer on Tue Nov 28th 2006 at 10:28pm
BlisTer
801 posts
Posted 2006-11-28 10:28pm
BlisTer
member
801 posts 1304 snarkmarks Registered: Jun 10th 2004 Location: Belgium
i've looked around but i can't seem to find it...

what i found out, is that your textures in XSI need to be TGA's from the

...half-life 2 deathmatch\hl2mp\materials\models folder

where there also are your vtf and vmt (with the models 1 parameter) files that you converted from that same TGA with the same filename.

Then you export your smd to your

sourcesdk_content\hl2mp\modelsrc\ folder

where you also create a .qc file with the same name and the right modelname filled in in that text file. you then drag the .qc ontop of studiomdl.exe.

I can browse to the mdl with the modelviewer but there's a checkerboard texture instead of the one i applied in XSI...

any help would be appreciated, it really bugs me!
Re: connecting your XSI texturing to your vtf/vmt files Posted by Captain P on Tue Nov 28th 2006 at 10:43pm
Captain P
1370 posts
Posted 2006-11-28 10:43pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Hmm, I don't work with XSI so I can't say much about it I guess, but you could try opening the model file with a hex editor (XVI32 is a nice one) and search for the texture filename and check the path and extention it has. Perhaps that can give you a hint on what's wrong?
Create-ivity - a game development blog
Re: connecting your XSI texturing to your vtf/vmt files Posted by fishy on Tue Nov 28th 2006 at 11:55pm
fishy
2623 posts
Posted 2006-11-28 11:55pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
what value have you got for $cdmaterials in your .qc file, and what directory are the actual .vmt and .vtf files in?
i eat paint
Re: connecting your XSI texturing to your vtf/vmt files Posted by BlisTer on Wed Nov 29th 2006 at 8:53pm
BlisTer
801 posts
Posted 2006-11-29 8:53pm
BlisTer
member
801 posts 1304 snarkmarks Registered: Jun 10th 2004 Location: Belgium
hehe fishy, that was it. i took over a .qc file which had no $cdmaterials parameter.. so i figured it linked the correct folder automaticaly. I now give it directions and it works..

i'd mark you up correct if you'd make it a suggestion :wink:

thx man
These words are my diaries screaming out loud
Re: connecting your XSI texturing to your vtf/vmt files Posted by fishy on Sat Dec 2nd 2006 at 12:39pm
fishy
2623 posts
Posted 2006-12-02 12:39pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
happy to help :smile:
i eat paint