walking through models
Post Reply
Quote
Re: walking through models
Posted by smidsy on Sun Dec 5th at 9:37pm 2004


ive tried to make some stairs with a hand rail. but have run into some problems. When compiled the map runs fine but the hand rail for the stairs are able to be walked through. is there any way of making it so that you cannot walk through this rail. The rail is just sitting it dosent interact or do any thing it is just a physical propertie to make the map look better.

thanx in advance.





Quote
Re: walking through models
Posted by Tracer Bullet on Sun Dec 5th at 9:41pm 2004


Use a clip brush.

This means covering your model with a world brush and texturing it entirely with the tools/clip texture.

[addsig]




Quote
Re: walking through models
Posted by smidsy on Sun Dec 5th at 10:30pm 2004


im trying to place a premade one not make my own...i think im not finning in the prop_static entity properly. Am i using the right entity for this or should i change it. ALso the rails dont do anything som am i correct to use prop_static?



Quote
Re: walking through models
Posted by Nanodeath on Sun Dec 5th at 11:57pm 2004


Yeah, what Tracer said. The clip brush creates an invisible brush that you can shoot through but not walk through.



Quote
Re: walking through models
Posted by Tracer Bullet on Mon Dec 6th at 12:14am 2004


Place the model you are going to use, and put the brush over it as per above. The player cannot enter the volume defined by the clip brush, but can still shoot through it as nanodeath said. You just need to shape the clip brush so that it is sort of similar to the model you are using so that collisions will look accurate. I'm not instructing you to make your own model.



Quote
Re: walking through models
Posted by Spartan on Mon Dec 6th at 12:18am 2004


I thought the models were solid now in HL2? Also its' going to look funky when your bullets are passing right through a railing. [addsig]



Quote
Re: walking through models
Posted by Tracer Bullet on Mon Dec 6th at 12:30am 2004


? quoting Spartan 34
I thought the models were solid now in HL2? Also its' going to look funky when your bullets are passing right through a railing.

In that case, you can just use an invisable func_wall.

[addsig]




Quote
Re: walking through models
Posted by Yak_Fighter on Mon Dec 6th at 12:37am 2004


I'm going to take a wild stab at it and say that you are using the wrong entity for those models. If you use a prop_static it will work correctly. You don't need to clip anything anywhere ever.

[addsig]



Quote
Re: walking through models
Posted by smidsy on Mon Dec 6th at 11:50am 2004


i am using a prop static its still walk throughable.



Quote
Re: walking through models
Posted by Nanodeath on Mon Dec 6th at 3:27pm 2004


Yeah, he was saying try a different model.



Quote
Re: walking through models
Posted by Leperous on Mon Dec 6th at 3:34pm 2004


Some models don't have any vphysics associated with them- it doesn't matter what prop type you're using if they're appearing in your map- so you need to surround them with a toolsclip brush, as Tracer suggested earlier.




Post Reply