combine_fence
Post Reply
Quote
Re: combine_fence
Posted by master_yoer on Fri Aug 11th at 4:30am 2006


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.




Quote
Re: combine_fence
Posted by omegaslayer on Fri Aug 11th at 6:16am 2006


Make a brush... and add the effects/combineshield material to it, and your done.






Quote
Re: combine_fence
Posted by master_yoer on Fri Aug 11th at 6:18am 2006


rofl, it's as easy as that ?




Quote
Re: combine_fence
Posted by Addicted to Morphine on Fri Aug 11th at 6:24am 2006


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.



Quote
Re: combine_fence
Posted by master_yoer on Fri Aug 11th at 6:44am 2006


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.




Quote
Re: combine_fence
Posted by Addicted to Morphine on Fri Aug 11th at 6:55am 2006


Why not put a player clip brush over the shield, so that items etc can go through, but players can't?



Quote
Re: combine_fence
Posted by omegaslayer on Fri Aug 11th at 7:33am 2006


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).






Quote
Re: combine_fence
Posted by master_yoer on Fri Aug 11th at 3:42pm 2006


You can't change the size of prefabs can you? I thought they were a specific size and couldn't be resized?




Quote
Re: combine_fence
Posted by omegaslayer on Fri Aug 11th at 7:39pm 2006


? quote:
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.







Post Reply