Page 1 of 2

Non-Jump Walls

Posted: Sun Jan 29, 2012 10:51 am
by DeRiisen
quick question im making a jump map and on some jumps i need walls that you cant jump off and I've tried a few ways but the sorta worked but i get other problems so i was just wondering whats the best way about making them?

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 10:54 am
by johnnyenglish
add

surfaceparm slick

to the shader

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 11:00 am
by DeRiisen
wouldn't that get rid of the texture??? can you go into more detail on doing that, im a noob.

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 11:02 am
by Rylius
No, it just means the surface makes you slide off :)

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 11:04 am
by DeRiisen
no what i mean is if i put that on my wall i wont get my wall texture ill get the invisible slick texture?

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 11:06 am
by Rylius
Don't put the slick texture on the wall, add "surfaceparm slick" to the shader of the texture used by the wall

Or just don't make the wall 90°, if it's angled a bit you won't be able to jump either

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 11:13 am
by DeRiisen
how do i add it as i said im a noob i dont really know what your talking about :(

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 11:41 am
by johnnyenglish
If you're using an image to texture your wall you'll need to create a shader in your shader file - if your image is called fred.jpg create a shader like this

Code: Select all

textures/jump_map/slick_fred:q3map
{
surfaceparm slick
surfaceparm nodamage
}


Then use the shader (slick_fred) rather than the image

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 12:00 pm
by DeRiisen
another noob question where do i open the jpg and put this code??

Re: Non-Jump Walls

Posted: Sun Jan 29, 2012 12:03 pm
by johnnyenglish
Ah you might want to read up a little bout shaders

wiki/index.php/Textures:Shaders

there's other topic in the wiki that might help

wiki/shaders/section2.htm#2.1