Page 1 of 1

Blender to Urban Terror

Posted: Wed Nov 27, 2013 11:57 am
by krasus
Hey guys,

been a while since I've mapped or done anything Urban terror related.
Started using blender at the end of last year and I am wondering how I can get my models into GTK, textured. I've got them successfully into GTK, but they haven't been textured and I cant figure out how to do it.

Just to be clear, they are textured in blender ;)

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:00 pm
by xandaxs
Are you placing it on the mapobjects folder?

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:01 pm
by HappyDay
Your material name in blender will be the texture used by radiant. So your material names should be something like textures/mymap/texture1. Just to make sure, which file format did you choose for export / import into radiant?

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:05 pm
by krasus
I was testing out .ase files, so possibly that is the reason.

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:07 pm
by xandaxs
you can edit the paths using notepad to open the .ase file.
Be sure to keep the models in the mapobjects folder

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:11 pm
by HappyDay
Ase is the best choice. Make sure the material name is correct, or like xandaxs said you can edit it with a text editor, adjusting the lines starting with "*MATERIAL_NAME". There's no need to use a mapobjects folder, you can place your models and textures anywhere you like as long as the paths point to the right place.

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:12 pm
by krasus
Yeah I took a look at that, I have already edited:

*MATERIAL_NAME "models/shipping/mapobjects/c_shippingcontainer/textures/"

Does the model have to be in the same folder as the texture? it is located in the c_shippingcontainer/ folder.

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:18 pm
by HappyDay
It doesn't matter where the model is. The model just needs to specify where the textures are via the material name. In radiant you import the model from wherever it is and the model gets the textures. During the compile the model gets baked into the bsp file and you don't need to include the model in the pk3, only the textures.

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:24 pm
by krasus
That is pretty cool! Ill give it another go with a less complicated model :D

Re: Blender to Urban Terror

Posted: Wed Nov 27, 2013 12:31 pm
by HappyDay
I just use textures/mymap/ for all my textures including the textures for models and models/mymap for all my models. I don*t include the latter folder in my pk3. Nice and simple.