[Noob Needs Help] Shooting Through Walls

  • If you're asking a question make sure to set the thread type to be a question!

Deethis+Mute

L1: Registered
Sep 27, 2008
3
0
So what I am trying to make is walls which you can shoot through but cannot walk through. An example would be like in COD4. There are some surfaces which you can shoot through with you gun but cannot walk through. I do not want the wall to break.

The closest I have gotten was this
|.......................|
|.......................|
|.......................|
|.......................|
|.........[_]..........|
|.......................|
|.......................|

It is basically a wall with a small enough slit which you can't walk through. Then I fill the slit with a block and give func_movelinear. Next I tell it to not move at all then go to flags and set it to Not Solid.

Does anyone has a much better way of doing this. I want to make an entire wall which you can shoot through but can't walk through but I cannot do that with the method I have now. I have look through the tutorials and I couldn't seem to find one. If you know a good way to do this or a tutorial please let me know. :thumbup:
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Make a wall, tie it to a func_illusionary then put a playerclip brush of the same size and shape overlapping it. and hey presto, a wall solid only to players.

Oh, and welcome to the forum
 
T

The Asylum

Make a wall, tie it to a func_illusionary then put a playerclip brush of the same size and shape overlapping it. and hey presto, a wall solid only to players.

Oh, and welcome to the forum

I'm curious- would using a func_illusionary be any different from using a func_brush set to never solid?