Re: Importing models WITH textures
Posted by Shufty on
Fri May 26th 2006 at 12:10pm
Posted
2006-05-26 12:10pm
Shufty
member
3 posts
0 snarkmarks
Registered:
May 26th 2006
Location: UK
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!
Re: Importing models WITH textures
Posted by fishy on
Fri May 26th 2006 at 7:43pm
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
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/[color=red]props_foliage/tree_deciduous_01a_branches" [/color]
to
"$basetexture" "models/[color=limegreen]props_shufty/tree_deciduous_01a_branches"[/color]
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
Re: Importing models WITH textures
Posted by Shufty on
Sat May 27th 2006 at 1:04am
Shufty
member
3 posts
0 snarkmarks
Registered:
May 26th 2006
Location: UK
I think I tried that, but will try again, might have confused things for myself. Thanks for the advice.