I seem to have a bit of a modeling problem -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 9 years ago

Hello Im pretty "Experienced" with GTKRadiant, but I have caught a snag on my project. I'm currently making Super Mario Brothers' World 1-1 In JK2 Using said program. I want to make an animated shader for the "?" boxes that animate in order, but in a loop. It came to my attention that there was a shader key called aniMap. Here is the shader that I tried to use for the "?" blocks:

textures/mariojpg/block { //surfaceparm nomarks //surfaceparm nolightmap cull none q3map_surfacelight 500 q3map_globaltexture qer_editorimage textures/mariojpg/block1.tga

{ animMap 10 textures/mariojpg/block1.tga textures/mariojpg/block1.2.tga textures/mariojpg/block1.3.tga blendFunc GL_ONE GL_ONE rgbGen wave sawtooth 0 1 0 10 }

} It shows up in the editor all good and well, alas when I start the game it is a black box with a glowing white border. When I look in the box (I don't know what you would call it (Shift + `)It says:

WARNING: unknown parameter 'Animap' in shader 'textures/mariojpg/block' Shader textures/mariojpg/block has a stage with no image

I found somebody attempting to use this same command, successfully, on JKA. Is it possible that JK2 does not recognize this command? Or is it my own scripting failure? Any help would be appreciated. PLEASE FOR THE LOVE OF ALL THAT IS RIGHTEOUS help me:confused: