[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Custom Map Makers • Light the hole map and water - Page 3
Page 3 of 4

Re: Light the hole map and water

Posted: Tue Feb 19, 2013 3:22 pm
by xandaxs
then don't make it for your skybox, lol...

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 12:30 pm
by quick
I can't make it. I tried to look at another water shader, but it wont get nonsolid.
Now I post what I typed in, and please tell me wht's wrong.
textures/liquids/pool3d_3

{
qer_editorimage textures/liquids/pool3d_3
qer_trans .7
q3map_globaltexture

q3map_surfacelight 70
surfaceparm trans
surfaceparm nonsolid
surfaceparm water

cull disable
deformVertexes wave 64 sin .5 .5 0 .5
}

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 1:57 pm
by xandaxs
Are the paths correct?
Try something like this:

textures/desired path/desired texture name
{
qer_editorimage textures/thumbnail texture path/thumbnail texture name.tga
qer_trans .1 // Radiant Transparency Level
// q3map_fancywater .4 1 1 1 ---> Remove the double slash if you want your water to be bumpy (render must be made with -radbump)
surfaceparm trans // Surface is Transparent
surfaceparm nonsolid // Surface is Not Solid
surfaceparm water // Q3map Identifies the surface as being a water surface
surfaceparm nolightmap // Texture isn't affected by ambient lighting
deformVertexes wave 64 sin 1 1 0 .5 // Gives water a wavy effect
{
map textures/texture 1 path/texture 1 name.tga
blendFunc GL_dst_color GL_one
tcmod scale 2 .5
tcmod scroll .025 .01
}
{
map textures/texture 2 path/texture 2 name.tga
blendFunc GL_dst_color GL_one
tcmod scale -.5 -.5
tcmod scroll .025 .025
}
{
map textures/texture 3 path/texture 3 name.tga
blendFunc GL_dst_color GL_one
rgbgen identity
tcmod scale .25 .5
tcmod scroll .001 .025
}
}


If you want to see what each stage does to the shader read this: http://q3map2.robotrenegade.com/docs/sh ... tents.html
You should read it anyways, even if you don't want to see what each stage does.

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 2:26 pm
by vulture
(1) I didnt see you specify a texture or other effect (like the embedded { }'s in xandaxs's post)
(2) you probably have some other brush underneath/inside your water brush that isn't nonsolid

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 3:56 pm
by quick
Sounds too hard for me.
I've tried, but couldn't understand what everything should do. It's still solid.

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 4:18 pm
by vulture

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 4:26 pm
by xandaxs
I bet you don't have a shader associated with the watercaulk or it doesen't have surfaceparm nonsolid if you do.
If all those check then you probably haven't written the shader file name on your shaderlist.txt

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 4:35 pm
by Markinho
Did you add your shader to the shaderlist?

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 4:41 pm
by quick
Here's what I remade it to:
textures/liquids/pool3d_3
{
q3map_lightImage textures/liquids/pool3d_3.tga
qer_editorImage textures/liquids/pool3d_3.tga
qer_trans 0.5
surfaceparm detail
surfaceparm nonsolid
surfaceparm water
surfaceparm nolightmap
deformVertexes wave 64 sin 1 1 0 .5
{
map textures/vulture/tile00.tga
}
{
map $lightmap
blendFunc filter
}
}

Yes I've added it to the shaderlist.
What's wrong?

Re: Light the hole map and water

Posted: Wed Feb 20, 2013 5:19 pm
by pickles
map textures/vulture/tile00.tga

For a start you need to change the above line to relate to your own texture

so it would be textures/liquids/pool3d_3.tga like you've done with the rest of them