Re: blocking phys objects and player
Posted by Mint_Sauce on
Sat Dec 11th 2004 at 8:44pm
35 posts
434 snarkmarks
Registered:
Dec 10th 2004
Occupation: Computer Person
Location: UK
My level contains rocks around the outside of the level and I have a
ball which I don't want people to fire over the rocks as they won't be
able to get it back. Is there a way of blocking both people and objects
in to a certain area?
Re: blocking phys objects and player
Posted by Gwil on
Sat Dec 11th 2004 at 8:47pm
Gwil
super admin
2864 posts
315 snarkmarks
Registered:
Oct 13th 2001
Occupation: Student
Location: Derbyshire, UK
A texture called CLIP , if it still exists in HL2. Should appear invisible and allow bullets hrough but not solid objects.
Make a blocking wall textured all over with it , and it will render invisible by default.
Re: blocking phys objects and player
Posted by GrimlocK on
Sat Dec 11th 2004 at 9:43pm
386 posts
259 snarkmarks
Registered:
Mar 7th 2002
Occupation: Self Employed
Location: Texas
How about blocking objects but allowing players to pass through?
EDIT: The texture Gwil is talking about it call "tools_noclip". Just type in "tools" in the texture selectiong filter to quickly find it.
Re: blocking phys objects and player
Posted by ReNo on
Sat Dec 11th 2004 at 11:53pm
Posted
2004-12-11 11:53pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
I have tools_noclip used in my map, but it doesn't block physics objects unfortunately :sad:
Re: blocking phys objects and player
Posted by Nanodeath on
Sat Dec 11th 2004 at 11:59pm
Posted
2004-12-11 11:59pm
356 posts
66 snarkmarks
Registered:
Nov 11th 2004
Occupation: Student - Bioengineering
Location: Seattle, WA, USA
You're in luck! I've tested it and I believe I've found the solution. You'll need two objects.
1) Brush entity - func_clip_vphysics. Doesn't matter what texture you choose, it'll be invisible. Set the Filter Name field to the name of the next entity.
2) Point entity - filter_activator_class. Give it a name, set the Filter mode to "Disallow entities that match criteria", and set the Filter Classname to "player" (no quotes).
There, that's everything! I tested it with a prop_physics and it blocked it fine, while letting me go through it. I couldn't force the object through with the grav gun, either.
Re: blocking phys objects and player
Posted by Mint_Sauce on
Sun Dec 12th 2004 at 12:21am
Posted
2004-12-12 12:21am
35 posts
434 snarkmarks
Registered:
Dec 10th 2004
Occupation: Computer Person
Location: UK
awesome, works perfectly now! :biggrin:
Re: blocking phys objects and player
Posted by GrimlocK on
Sun Dec 12th 2004 at 5:33am
386 posts
259 snarkmarks
Registered:
Mar 7th 2002
Occupation: Self Employed
Location: Texas
Thats great Nanodeath, that will come in handy in my hl2dm map.
Re: blocking phys objects and player
Posted by Nanodeath on
Sun Dec 12th 2004 at 5:34am
356 posts
66 snarkmarks
Registered:
Nov 11th 2004
Occupation: Student - Bioengineering
Location: Seattle, WA, USA
Glad to be of service :biggrin: