Page 1 of 1

Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 3:58 pm
by kerrek_88
This is my first time posting in the forum,

I followed a tutorial for creating a cfg file for a custom mapmodel I created. I uv mapped and created a skin and put the correct file path in the cfg file but no matter how many times I change the name and type of the file and try to make a different texture image I cannot get the model to load without the broken jpeg style NO TEXTURE skin. In an earlier test I was able to get a solid color but have not been able to successfully replicate that either. Any advice would be appreciated.

I tried naming the skin the same as the model, different names, and exported multiple times in different image formats as well as changing the cfg.

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 5:14 pm
by Wind Astella
May I ask a question regarding the model. Does the model use multiple textures? And can you include the model cfg so that i can see it in details.

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 5:54 pm
by kerrek_88
I sure can and thanks for responding.

there's only one texture so far and no normals or bumpmaps for simplicities sake since I'm not experienced with building map models yet

md3load spacerocket.md3
md3skin spacerocket ./spacerocket.tga
mdlscale 10000
mdlspec 150

as you can see its tga just from trying different formats, thats the latest version of the cfg.

the model still looks nice in sanbox even without the texture map

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 7:13 pm
by Wind Astella
if you put the texture in the in the same directory.
Md3skin * spacerocket.tga
this should
the problem is with this part ./spacerocket, it is incorrect, if you have the tex in higher directory than the model it should be
../texname.tga
notice that it have two dots? That should solve your problem. :3

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 7:33 pm
by kerrek_88
So far no dice. I don't know what I'm missing but I'm missing something. By directories do you mean the folder? All the assets are together in models/spacerocket etc.

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 7:48 pm
by Wind Astella
then just use md3skin * spacerocket.tga
that should work.

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 7:51 pm
by kerrek_88
It worked! :) thanks for the help, its my first time using the forum so I appreciate a hand.

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 10:10 pm
by Wind Astella
you're always welcome here. :)

Re: Indepth map model texture walkthrough needed

Posted: October 15th, 2014, 11:44 pm
by kerrek_88
Here's some progress.