Jump to content

Home

Does anyone know hwo to make a wall in which you can walk through it ?


Miss_Stalker

Recommended Posts

I'm making a secret room and I want to make a wall, which would actually be a way to get in the room, and you can pass through it. How can I make this? It is similar like in riginal JK & motS if it helps to understand better.

 

 

 

 

I've tried the no draw texture by putting the no draw brush on top of the wall which I want ppl to walk thru, but it didnt work. So can someone please tell me how to do it if you know?

 

Thanks :):amidala:

Link to comment
Share on other sites

I think you want that wall to appear as a normal wall. In this case you have to make a variation of the wall texture. You need a shader where you tell that it is nonsolid, so it will look like a normal wall just you will be able to walk through it.

 

say your wall texture is textures/x/wall.jpg. Then the shader code is:

 

textures/x/wall_nonsolid

{

qer_editorimage textures/x/wall.jpg

surfaceparm nonsolid

{

map $lightmap

}

{

map textures/x/wall.jpg

blendFunc GL_DST_COLOR GL_ZERO

}

}

 

Handle this carefully! :D I'm not sure I wrote it well. I'm at work now and no editing tools here. A shader expert should check it.

 

Save this into the base/shaders directory on a name x.shader and put this name into the shaderlist.txt too.

 

Now you can use the wall_nonsolid as a texture from the x texture group as the original wall texture.

 

Here is the Q3A Shader manual.

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...