Tremulous Forum

Media => Mapping Center => Topic started by: CorSair on June 07, 2010, 11:54:36 am

Title: Making one way shootable wall
Post by: CorSair on June 07, 2010, 11:54:36 am
Tried to find it, but couldn't....  :-[

Okay, so here's the deal: i'm trying to make one way shootable walls, but it seems i'm forgetting something. What is the shaders i need, and what is the data i need to write to make it work? (And if possible, some screenshots would be nice, but not required.)

Thanks in advance,
CorSair
Title: Re: Making one way shootable wall
Post by: MrFish on June 07, 2010, 04:08:14 pm
This is just an idea, I haven't tested it or anything. You could try making one side of the brush the texture you want and the other side either nodraw or nonsolid in the common shaders. Try it
Title: Re: Making one way shootable wall
Post by: Evoc on June 08, 2010, 12:01:15 am
I don't think this is possible, conventionally. But you can put two patch meshes next to each other, facing facing different ways, and have one be nonsolid and the other solid, depending on the arrangement of the patches, your map, etc., since patches can be walked/shot through on one side.
Title: Re: Making one way shootable wall
Post by: God, maker of the world on June 08, 2010, 04:59:56 am
If all fails, you could decompile "map-teleport_temple_v1.pk3" to find out how it's done. There's a very prominent onesided-walkthrough wall at human base. It's invisible from the side that you can walk through it, but "adding" a visible wall that you can walk through shouldn't be hard.
Title: Re: Making one way shootable wall
Post by: DraZiLoX on June 08, 2010, 02:27:16 pm
Make brush >>> SHIFT + P >>> 3 and 3 if you make just 1 way wall >>> TADAA!
Title: Re: Making one way shootable wall
Post by: CorSair on June 08, 2010, 04:36:32 pm
Well, what a moron i was.  ::)

I totally forgot that simple mesh patch does one way walkable/shootable walls. And as I wanted it only to be shootable through, I fixed it with clip.

Thanks! =)
Title: Re: Making one way shootable wall
Post by: Odin on June 11, 2010, 03:53:19 am
cull none