// // Jedi Knight: Dark Forces II // A mod for Jedi Academy // // Common shaders // // NOTE: These are starting to look more and more 01narshadda specific... // Need this for the GtkRadiant clipper tool textures/common/caulk { qer_editorimage textures/system/caulk surfaceparm nomarks surfaceparm nodraw q3map_nolightmap } textures/jk1/00starry { qer_editorimage textures/jk1/00starry surfaceparm sky surfaceparm noimpact surfaceparm nomarks notc q3map_nolightmap // skyParms textures/skies/nebula2 512 - // This doesn't work for some reason... //let's try again...! //This works. Apparently, there's a naming convention that you need to follow in order //to omit the extension. // skyParms textures/jk1/00starry.tga 512 - // skyParms textures/jk1/00starry.tga 2048 - skyParms textures/jk1/00starry.jpg 8192 - } textures/jk1-skies/13cnsky2 { qer_editorimage textures/jk1-skies/13cnsky2 surfaceparm sky surfaceparm noimpact surfaceparm nomarks notc q3map_nolightmap skyParms textures/jk1-skies/13cnsky2.tga 4096 - } // skyparms work like this: // sun // color will be normalized, so it doesn't matter what range you use // intensity falls off with angle but not distance 100 is a fairly bright sun // degree of 0 = from the east, 90 = north, etc. altitude of 0 = sunrise/set, 90 = noon textures/jk1-skies/06sky02 { qer_editorimage textures/skies/sky q3map_lightRGB 1.50887573964 1.50887573964 1.50887573964 q3map_skylight 200 5 surfaceparm nomarks surfaceparm sky surfaceparm noimpact surfaceparm nodlight q3map_lightmapFilterRadius 0 8 // sun 1 0.843137 0.54902 230 45 65 q3map_sunExt 1.000000 0.997119 0.857641 350 45 65 1 2 notc q3map_nolightmap // skyParms textures/skies/06sky02.tga 2048 - // skyParms textures/skies/bespin 512 - skyParms textures/skies/desert 1024 - } // Yes, it's the same because we're lazy textures/jk1-skies/06sky01 { qer_editorimage textures/skies/sky q3map_lightRGB 1.50887573964 1.50887573964 1.50887573964 q3map_skylight 200 5 surfaceparm nomarks surfaceparm sky surfaceparm noimpact surfaceparm nodlight q3map_lightmapFilterRadius 0 8 // sun 1 0.843137 0.54902 230 45 65 q3map_sunExt 1.000000 0.997119 0.857641 350 45 65 1 2 notc q3map_nolightmap // skyParms textures/skies/06sky02.tga 2048 - // skyParms textures/skies/bespin 512 - skyParms textures/skies/desert 1024 - } //Try an animated sign: //unfortunately, it doesn't work! Why? Says no such keyword "animMap" //Seems it's because you need to enclose it in braces... Dunno why... textures/jk1/00abb3 { qer_editorimage textures/jk1/00abb3-0 { animMap 2.0 textures/jk1/00abb3-1 textures/jk1/00abb3-2 textures/jk1/00abb3-3 textures/jk1/00abb3-4 } } textures/jk1/01abb2 { qer_editorimage textures/jk1/01abb2-0 { animMap 2.5 textures/jk1/01abb2-1 textures/jk1/01abb2-2 textures/jk1/01abb2-3 textures/jk1/01abb2-4 textures/jk1/01abb2-5 } } // (slowest) textures/jk1/00acp1 { qer_editorimage textures/jk1/00acp1-0 { animMap 1.0 textures/jk1/00acp1-0 textures/jk1/00acp1-1 textures/jk1/00acp1-2 } } //without green dot (medium speed) textures/jk1/00acp2 { qer_editorimage textures/jk1/00acp2-0 { animMap 0.5 textures/jk1/00acp2-0 textures/jk1/00acp2-1 } } //This is the one with the green dot (fastest) textures/jk1/00acp3 { qer_editorimage textures/jk1/00acp3-0 { animMap 4.0 textures/jk1/00acp3-0 textures/jk1/00acp3-1 } } // From JKA //Dunno if this is causing the crashing... //It might be... Let's see! //Nope, this is A-OK! Yeah! textures/common/glass { qer_editorimage textures/common/glass2.tga q3map_tesssize 48 qer_trans 0.5 surfaceparm nonopaque surfaceparm trans q3map_material Glass q3map_nolightmap { map textures/common/glass2 blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR } { map textures/common/glass2 blendFunc GL_ONE GL_ONE tcGen environment } } // Example of a glowing shader... textures/jk1/00wlite1 { qer_editorimage textures/jk1/00wlite1 { map $lightmap } { map textures/jk1/00wlite1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wlite1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00clite1 { qer_editorimage textures/jk1/00clite1 { map $lightmap } { map textures/jk1/00clite1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00clite1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/01fbar02 { qer_editorimage textures/jk1/01fbar02 { map $lightmap } { map textures/jk1/01fbar02 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/01fbar02_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00dbig2 { qer_editorimage textures/jk1/00dbig2 { map $lightmap } { map textures/jk1/00dbig2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00dbig2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/d2x3 { qer_editorimage textures/jk1/d2x3 { map $lightmap } { map textures/jk1/d2x3 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/d2x3_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00t_4-0 { qer_editorimage textures/jk1/00t_4-0_glow { map $lightmap } { map textures/jk1/00t_4-0 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00t_4-0_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00t_4-1 { qer_editorimage textures/jk1/00t_4-1_glow { map $lightmap } { map textures/jk1/00t_4-1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00t_4-1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00cpipe1 { qer_editorimage textures/jk1/00cpipe1 { map $lightmap } { map textures/jk1/00cpipe1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00cpipe1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00fpipe1 { qer_editorimage textures/jk1/00fpipe1 { map $lightmap } { map textures/jk1/00fpipe1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00fpipe1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wpipe4 { qer_editorimage textures/jk1/00wpipe4 { map $lightmap } { map textures/jk1/00wpipe4 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wpipe4_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wpipe3 { qer_editorimage textures/jk1/00wpipe3 { map $lightmap } { map textures/jk1/00wpipe3 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wpipe3_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wpanl2 { qer_editorimage textures/jk1/00wpanl2 { map $lightmap } { map textures/jk1/00wpanl2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wpanl2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/01w02 { qer_editorimage textures/jk1/01w02 { map $lightmap } { map textures/jk1/01w02 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/01w02_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wbig1 { qer_editorimage textures/jk1/00wbig1 { map $lightmap } { map textures/jk1/00wbig1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wbig1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wpanl5 { qer_editorimage textures/jk1/00wpanl5 { map $lightmap } { map textures/jk1/00wpanl5 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wpanl5_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00cract1 { qer_editorimage textures/jk1/00cract1 { map $lightmap } { map textures/jk1/00cract1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00cract1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wbig2 { qer_editorimage textures/jk1/00wbig2 { map $lightmap } { map textures/jk1/00wbig2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wbig2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wcity2 { qer_editorimage textures/jk1/00wcity2 { map $lightmap } { map textures/jk1/00wcity2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wcity2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00wnew1 { qer_editorimage textures/jk1/00wnew1 { map $lightmap } { map textures/jk1/00wnew1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00wnew1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/01ccrgo1 { qer_editorimage textures/jk1/01ccrgo1 { map $lightmap } { map textures/jk1/01ccrgo1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/01ccrgo1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/01wcrgo2 { qer_editorimage textures/jk1/01wcrgo2 { map $lightmap } { map textures/jk1/01wcrgo2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/01wcrgo2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/01wlite2 { qer_editorimage textures/jk1/01wlite2 { map $lightmap } { map textures/jk1/01wlite2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/01wlite2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00t_4-0 { qer_editorimage textures/jk1/00t_4-0 q3map_surfacelight 300 q3map_lightimage textures/jk1/00t_4-0_glow { map $lightmap rgbGen identity } { map textures/jk1/00t_4-0 blendFunc GL_DST_COLOR GL_ZERO rgbGen identity } { map textures/jk1/00t_4-0_glow blendFunc GL_ONE GL_ONE } } textures/jk1/00t_4-1 { qer_editorimage textures/jk1/00t_4-1 q3map_surfacelight 300 q3map_lightimage textures/jk1/00t_4-1_glow { map $lightmap rgbGen identity } { map textures/jk1/00t_4-1 blendFunc GL_DST_COLOR GL_ZERO rgbGen identity } { map textures/jk1/00t_4-1 blendFunc GL_ONE GL_ONE } } textures/jk1/teal { qer_editorimage textures/jk1/teal { map $lightmap } { map textures/jk1/teal blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/teal_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00light1 { qer_editorimage textures/jk1/00light1 { map $lightmap } { map textures/jk1/00light1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00light1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00light3 { qer_editorimage textures/jk1/00light3 { map $lightmap } { map textures/jk1/00light3 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00light3_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00light4 { qer_editorimage textures/jk1/00light4 { map $lightmap } { map textures/jk1/00light4 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00light4_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/01wlite1 { qer_editorimage textures/jk1/01wlite1 { map $lightmap } { map textures/jk1/01wlite1 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/01wlite1_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00light2 { qer_editorimage textures/jk1/00light2 { map $lightmap } { map textures/jk1/00light2 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00light2_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/00light5 { qer_editorimage textures/jk1/00light5 { map $lightmap } { map textures/jk1/00light5 blendFunc GL_DST_COLOR GL_ZERO } { map textures/jk1/00light5_glow blendFunc GL_ONE GL_ONE glow } } textures/jk1/forcefield { qer_editorimage textures/doomgiver/energything.tga surfaceparm nomarks surfaceparm nonsolid surfaceparm playerclip surfaceparm shotclip surfaceparm forcefield surfaceparm trans q3map_nolightmap { map textures/jk1/energything2 blendFunc GL_ONE GL_ONE rgbGen wave sin 0.65 0.35 0 0.2 tcMod scroll -1 2 } { map textures/jk1/energything2 blendFunc GL_ONE GL_ONE tcMod scroll 2 1 } }