combine_fence

combine_fence

Re: combine_fence Posted by master_yoer on Fri Aug 11th 2006 at 4:30am
master_yoer
18 posts
Posted 2006-08-11 4:30am
18 posts 2 snarkmarks Registered: Sep 16th 2005
I am working on a MOD, and I cannot figure out how to create working combine_fences. (The blue force fields that are in HL2) They are essential to my mod and I cannot find any tutorials online that show how to make them. If somebody could help me, it would be much appreciated.
Re: combine_fence Posted by omegaslayer on Fri Aug 11th 2006 at 6:16am
omegaslayer
2481 posts
Posted 2006-08-11 6:16am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Make a brush... and add the effects/combineshield material to it, and your done.
Posting And You
Re: combine_fence Posted by master_yoer on Fri Aug 11th 2006 at 6:18am
master_yoer
18 posts
Posted 2006-08-11 6:18am
18 posts 2 snarkmarks Registered: Sep 16th 2005
rofl, it's as easy as that ?
Re: combine_fence Posted by Addicted to Morphine on Fri Aug 11th 2006 at 6:24am
Posted 2006-08-11 6:24am
3012 posts 529 snarkmarks Registered: Feb 15th 2005
master_yoer, if it works in game, come back and mark Omegaslayer's answer as correct so other people with the same question can find this answer via search.
Re: combine_fence Posted by master_yoer on Fri Aug 11th 2006 at 6:44am
master_yoer
18 posts
Posted 2006-08-11 6:44am
18 posts 2 snarkmarks Registered: Sep 16th 2005
Yes it worked, I just had to tweak it a bit. The way the props are, just putting a brush up to it doesn't work because it's either too short and you can see gaps in it, or you stretch it too long and you can see it overlapping the props a bit. I think with a bit of work I can get it to look right.

I also set the brush to func_illusionary so that it's passible, but I have to find a way to make it ONLY NPC and object passible, not player passible.

What I am making is a goal system, where as a special object 'rollerball' can pass through the field, but players cannot.

I also have to find a way to make the brush fit perfectly into the props like it should. If I figure it out i'll let you guys know how I did it.
Re: combine_fence Posted by Addicted to Morphine on Fri Aug 11th 2006 at 6:55am
Posted 2006-08-11 6:55am
3012 posts 529 snarkmarks Registered: Feb 15th 2005
Why not put a player clip brush over the shield, so that items etc can go through, but players can't?
Re: combine_fence Posted by omegaslayer on Fri Aug 11th 2006 at 7:33am
omegaslayer
2481 posts
Posted 2006-08-11 7:33am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Theres also a prefab in the HL2 prefabs that has this set up with sounds/props/brushes already.

Edit: its called "combine_shieldwall_static" - the only thing you need
to do is adjust the length of the actual wall manually (and the
corresponding brushes).
Posting And You
Re: combine_fence Posted by master_yoer on Fri Aug 11th 2006 at 3:42pm
master_yoer
18 posts
Posted 2006-08-11 3:42pm
18 posts 2 snarkmarks Registered: Sep 16th 2005
You can't change the size of prefabs can you? I thought they were a specific size and couldn't be resized?
Re: combine_fence Posted by omegaslayer on Fri Aug 11th 2006 at 7:39pm
omegaslayer
2481 posts
Posted 2006-08-11 7:39pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
You can't change the size of prefabs can you? I thought they were a specific size and couldn't be resized?
Prefabs are just a bunch of different things grouped together
(models/brushes/func_whateverbrushes), You can change them by
ungrouping them.
Posting And You