Importing models WITH textures
Post Reply
Quote
Re: Importing models WITH textures
Posted by Shufty on Fri May 26th at 12:10pm 2006


Hi, I've been having trouble with importing custom models into hammer. They will import fine but textures don't want to be applied. I'm using Cannon Fodder's Studio Compiler to convert the models across and just can't work out why the textures won't work. I can get custom textures from tgas into vtf for use on walls etc in the map but on models it flat out refuses. If anyone can point me in the right direction I'd be so grateful!




Quote
Re: Importing models WITH textures
Posted by fishy on Fri May 26th at 7:43pm 2006


the answers you need are lying around here somewhere, probably in the art forum. the simplest way might be to use the original texture name for your own texture, and keep it in a custom folder. then all you need to do is change a bit of text in the .qc file that tells the model what folder to look in.

for example, change

"$basetexture" "models/props_foliage/tree_deciduous_01a_branches"

to

"$basetexture" "models/props_shufty/tree_deciduous_01a_branches"

the example would need the new tree_deciduous_01a_branches.vmt to be in materials/models/props_shufty folder of whatever mod you're running, and the .vtf to be where ever the .vmt says it should be.




i eat paint



Quote
Re: Importing models WITH textures
Posted by Shufty on Sat May 27th at 1:04am 2006


I think I tried that, but will try again, might have confused things for myself. Thanks for the advice.





Post Reply