Help with ASE


(BillyBob) #1

I have been having some troubles getting .ase models in game and textured. i can get the model in game but i can not get it to texture, it just comes up as a white model. Would some one please be able to explain to me the steps from exporting the .ase to writing the the script for the model.

Thanks for any help in advance


(pazur) #2

the material name in 3d studio max MUST be exactly the same as the shader path. let`s say you aply a texture called mytexture.tga to your model. then as next step you write a shader file with a shader like this:


models/mymodels/mytexture
{
	q3map_nonplanar
	q3map_forcemeta
	q3map_clipmodel
	q3map_splotchfix
	{
		map models/mymodels/mytexture.tga
	}
	{
		map $lightmap
		blendFunc GL_DST_COLOR GL_ZERO
		tcGen lightmap
	}
}

so your max material has to have the name: models/mymodels/mytexture … mymodels is in this example the dir with the model

while export check in the dialog window in max following:
-Mesh Definition
-Materials

-Mesh Normals
-Mapping Coordinates

-Geometric


(BillyBob) #3

thanks for your help, i still can not get it to work though, i have to make a skin map for the model or can i just use a texture on the model.
Thanks


(UniKorn) #4

Your model needs to be unwrapped. You do not need a skinmap, but in 90% of the cases you need one. To test to see if your texture comes on the model you can do a simple box-unwrap.


(hummer) #5

So… did you ever get this working? Just curious, as I’m going to be doing this soon…