Page 1 of 1

model texture

Posted: February 21st, 2011, 7:00 pm
by idunno
I recently made and textured my first model, but for some reason the texture won't load when I import it into sandbox.

I know that there is another post called 'playerModel help' with the same issue, but I tried each of the suggestions but it still won't load.

I'm not sure if it's my texturing etc. but I've re-tried it about four times already. So, the only thing that I can think of that is preventing the texture from loading is my code, so here it is just in case.

Code: Select all

md3load "necked jar 09.md3"

md3skin necked jar 09 "necked jar 09.jpg" 

md3bumpmap necked jar 09 "necked jar 09_normal.jpg" 

mdlscale 1000

mdlspec 20
This is what it looks like in SB

Re: model texture

Posted: February 21st, 2011, 8:45 pm
by kid matthew
I recommend not using any SPACES. Change all SPACES to ___ underscored and if that doesn't work. come back. Cheers! Hope it works. : D

Re: model texture

Posted: February 21st, 2011, 9:02 pm
by idunno
Hi,

Thanks for the quick response! :)

I tried using the underscores as you suggested, but when I tried to load it into SB, it said 'unknown command'.

Here is what it looks like:

Code: Select all

md3load_"necked jar 09.md3"

md3skin_necked_jar_09_"necked jar 09.jpg" 

md3bumpmap_necked_jar_09_"necked jar 09_normal.jpg" 

mdlscale_1000

mdlspec_20
I didn't include underscores in the file names because that's how they were named. Unless I'm supposed to put them there... :S

Re: model texture

Posted: March 1st, 2011, 6:52 pm
by idunno
I've managed to texture my model and it loads properly in wings. That is, I can see in the UV map that it is textured, but I still can't get it to load into Sandbox. It also loads correctly in Tattoo, again I can see that it is textured.

Something I noticed though, is that when I try and load it into SB, I type 'mmodel Pottery' and then when I go to 'New MapModel' in the menu, no new option turns up. That is, it had 4 new mapmodel names. Then, after I type the code, there isn't a new option (so 5 in total), there is still only 4...

My code at the moment is:

Code: Select all

md3load "nj_09_4.md3"

md3skin nj_09_4 ./nj_09_4.bmp 

mdlscale 1000

mdlspec 20
The only thing that I can think of is that the code may be wrong?

I have run out of ideas as to why this is happening and would really appreciate some help to work out what's going on.

Re: model texture

Posted: March 7th, 2011, 8:48 am
by Leo_V117
In your maps "art.cfg", type the location of your model. Then check the map for your model in "new mapmodel", It should have loaded.

Make sure the name of your textures are correct (no spaces), if not, change them. It should work then... if not, send me the file and I'll take a look at it for you.

Re: model texture

Posted: March 7th, 2011, 10:50 pm
by idunno
It finally worked!! :D

I think that was all I needed to do.

Thank you!!!!! :D

Re: model texture

Posted: March 8th, 2011, 12:32 pm
by Leo_V117
Cool! Problem solved!