calky360
July 8th, 2007, 03:26 PM
Ok in the help files there is a creating shader file tutorial and I followed that but I chose different materials, I usded this template: "tex_bump.shader_template"
Once I made the shader I named it cliffs.shader and I saved it in the following directory:
"...\halo 2 map editor\tags\scenarios\shaders\multi\ambush_tower" (my map is called ambush tower)
Then I made a notepad file for the .shader_collections file and in the notepad I wrote "amb scenarios\shaders\multi\ambush_tower" (the amb was just abreviated for ambush like in the tutorial they wrote mylev instead of mylevel)
then i saved that file as "ambush_tower.shader_collections" and i saved that in the "...\halo 2 map editor\tags\scenarios\shaders" folder which is the same folder as the "shader_collections.shader_collections" file.
Now in 3ds, in the map editor I click on the sub material button, then I click the browse button next to where it says difuse, then I choose bitmaps and open the file which was the base_map in my shader "Cliff_color.tif" this is from the burial mounds folder which I downloaded. Now I'm not 100% sure what to name it I chose
"amb cliffs.shader" I have tried a few different name and always get the same error.
When I export I get this message
"[ERROR] An invalid material ('03 - Default', sub-index 5) is used by one or more objects in your scene.
Export Finished.
1 errors, 0 warnings"
and then when I compile it says that it can't find the shader for the file and then in sapien where the shadier should be it is rainbow coloured.
Any help please, like exactly what to name the file in max, also the bump_map file in the shader also wasn't in the original h2ek it was downloaded as with the base_map.
Once I made the shader I named it cliffs.shader and I saved it in the following directory:
"...\halo 2 map editor\tags\scenarios\shaders\multi\ambush_tower" (my map is called ambush tower)
Then I made a notepad file for the .shader_collections file and in the notepad I wrote "amb scenarios\shaders\multi\ambush_tower" (the amb was just abreviated for ambush like in the tutorial they wrote mylev instead of mylevel)
then i saved that file as "ambush_tower.shader_collections" and i saved that in the "...\halo 2 map editor\tags\scenarios\shaders" folder which is the same folder as the "shader_collections.shader_collections" file.
Now in 3ds, in the map editor I click on the sub material button, then I click the browse button next to where it says difuse, then I choose bitmaps and open the file which was the base_map in my shader "Cliff_color.tif" this is from the burial mounds folder which I downloaded. Now I'm not 100% sure what to name it I chose
"amb cliffs.shader" I have tried a few different name and always get the same error.
When I export I get this message
"[ERROR] An invalid material ('03 - Default', sub-index 5) is used by one or more objects in your scene.
Export Finished.
1 errors, 0 warnings"
and then when I compile it says that it can't find the shader for the file and then in sapien where the shadier should be it is rainbow coloured.
Any help please, like exactly what to name the file in max, also the bump_map file in the shader also wasn't in the original h2ek it was downloaded as with the base_map.