Open the notepad, past this code to a new file.
Then when your going to save, put All files format, and save with the extension .FX.

Then open your level's script a put at the bottom:

Material mat_name
{
effect="File.FX";
}

and then configure the model with the line:

my.material = mat_name;

good luck


http://www.coniserver.net/ubbthreads/showflat.php?Cat=0&Number=560847&an=0&page=0#560847 Cmon every one! Help me building this camera script! The first of its kind in 3dgs! Thnkx to everyone who helped me in my questions