Non-Jump Walls

Having a problem with a shader or texture
User avatar
DeRiisen
Posts: 15
Joined: Fri Jan 20, 2012 6:28 am

Non-Jump Walls

Post 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?

User avatar
johnnyenglish
Space cake
Posts: 898
Joined: Wed Aug 17, 2011 9:23 am
Location: Nottingham, England

Re: Non-Jump Walls

Post by johnnyenglish »

add

surfaceparm slick

to the shader

User avatar
DeRiisen
Posts: 15
Joined: Fri Jan 20, 2012 6:28 am

Re: Non-Jump Walls

Post by DeRiisen »

wouldn't that get rid of the texture??? can you go into more detail on doing that, im a noob.

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: Non-Jump Walls

Post by Rylius »

No, it just means the surface makes you slide off :)
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

User avatar
DeRiisen
Posts: 15
Joined: Fri Jan 20, 2012 6:28 am

Re: Non-Jump Walls

Post 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?

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: Non-Jump Walls

Post 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
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

User avatar
DeRiisen
Posts: 15
Joined: Fri Jan 20, 2012 6:28 am

Re: Non-Jump Walls

Post by DeRiisen »

how do i add it as i said im a noob i dont really know what your talking about :(

User avatar
johnnyenglish
Space cake
Posts: 898
Joined: Wed Aug 17, 2011 9:23 am
Location: Nottingham, England

Re: Non-Jump Walls

Post 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

User avatar
DeRiisen
Posts: 15
Joined: Fri Jan 20, 2012 6:28 am

Re: Non-Jump Walls

Post by DeRiisen »

another noob question where do i open the jpg and put this code??

User avatar
johnnyenglish
Space cake
Posts: 898
Joined: Wed Aug 17, 2011 9:23 am
Location: Nottingham, England

Re: Non-Jump Walls

Post 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

Post Reply