Getting objs into Q3A with Maya
Getting objs into Q3A with Maya
I have a complete model here in Maya in front of me. Problem is, that I can't export it with textures on. Radiant as well as Q3A don't recognize the texture connected to the lambert shader group in Maya. I get a blue shader notex instead. Are there any mean steps you have to take, but haven't thought about?
Re: Getting objs into Q3A with Maya
What model format are you exporting to? ASE? OBJ? LWO?
I'm not sure how Maya's materials are handled, but if it's anything like 3ds Max, you have to name your material with the actual shader name of the texture (ie. models/bliccer/crates/crate1).
I'm not sure how Maya's materials are handled, but if it's anything like 3ds Max, you have to name your material with the actual shader name of the texture (ie. models/bliccer/crates/crate1).
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Getting objs into Q3A with Maya
Ah, sorry. It will be an *.obj.
I can't type it like this (textures/blic....), since Maya is rewriting it for me into _ (textures_blic...). g0th said I should do this, too, but it just won't work.
I can't type it like this (textures/blic....), since Maya is rewriting it for me into _ (textures_blic...). g0th said I should do this, too, but it just won't work.
Re: Getting objs into Q3A with Maya
Open the file with wordpad: The materials in an .obj file are defined by "usemtl YOURMATERIAL"
I haven't tried it, but I expect you can change it to include the tokens you want.
I haven't tried it, but I expect you can change it to include the tokens you want.
Re: Getting objs into Q3A with Maya
It says "mtl lambert2SG" the shading group. But although if I rename the shading group to Ice_007M (like my texture) or using the path textures\blic_icecathedral_wall\ice_007M it still doesnt work.
Re: Getting objs into Q3A with Maya
It could be that your texture should be in the same directory as your model. Otherwise, did you already add the shader in the shaderlist?
Re: Getting objs into Q3A with Maya
I will try this again. The obj modification as above is correct? How do you name it?
As for the shader: It has to be a shader? I only wanted to put a normal texture on the model w/o any effects.
As for the shader: It has to be a shader? I only wanted to put a normal texture on the model w/o any effects.
Re: Getting objs into Q3A with Maya
It could be a normal texture or shader, but they would both have a "shaderpath" that points to the texture file or shader name. It's how Q3 will read the model file to know where the texture for it is located.
A few things to try:
A few things to try:
- Try using FORWARD SLASHES. Quake 3 always uses forward slashes for texture paths and shader names. "textures/blic_icecathedral_wall/ice_007M"
- Add "blic_icecathedral_wall" to your shaderlist.txt. Q3Map2 may not know to use it unless you do.
- If that still doesn't work, do as corsair recommends and copy the texture to where your model is and change the path to point to it. It should be close to as follows:
models/blic_icecathedral_wall/ice_007M
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Getting objs into Q3A with Maya
I named the shader in Maya like the shadername: cavewall.
tested, no success
I edited the obj and included the rest: textures/blic_icecathedral_wall/cavewall
tested, no success
I left everything like it was after obj export and added a _remap key to the shadertexture (see above)
tested, no success...
I also copied the file into models/mapobjects/blic_icecathedral/ICE etc.,
tested, no success.
The shader is of course added, I also tried it on normal brushes, it works there.
There must be something what works

I edited the obj and included the rest: textures/blic_icecathedral_wall/cavewall

I left everything like it was after obj export and added a _remap key to the shadertexture (see above)

I also copied the file into models/mapobjects/blic_icecathedral/ICE etc.,

The shader is of course added, I also tried it on normal brushes, it works there.
There must be something what works

Re: Getting objs into Q3A with Maya
AHA it was _remap *;textures etc...
Now it works. But weird it doesn't work with just naming the texture. And furthermore I can't go on in 1.4 anymore, since it always breaks down when I want to load the map with *;...
Now it works. But weird it doesn't work with just naming the texture. And furthermore I can't go on in 1.4 anymore, since it always breaks down when I want to load the map with *;...