Page 1 of 1

Window question....

Posted: Thu Jan 08, 2004 3:51 am
by dooguesgoober4
Is it at all possible to make one sided windows as to where you can see out one side but not in from the other side????? If possible, it'd be an awesome addition to my current map im creating!!

Posted: Thu Jan 08, 2004 4:02 am
by Axion
Hmm, I don't know. I suppose that if someone could make a tinted glass texture and shader, it would be possible.

Posted: Thu Jan 08, 2004 4:36 am
by dooguesgoober4
LoL, I have NO idea how to do that crap, so if anyone out there could do something as cool as this, you'd be ruler for a day!

Posted: Thu Jan 08, 2004 5:21 am
by omniscient
sure its possible. easy too. make a window out of any glass texture. on the side u dont want transparent make a patch mesh the same size as your window and make it black. make a patch mesh by making a brush and selecting Curve->Patch Mesh. patch meshes are 2d so only one face draws. viola a 1 way window.

Posted: Thu Jan 08, 2004 5:24 am
by dooguesgoober4
Could you possibly post some pictures to demonstrate exactly what you mean.....just so I can get a visual???

Posted: Thu Jan 08, 2004 8:59 am
by wacko
why not just make a brush for the window, texture it completely with common/nodraw (which will be invisible) a transparent window texture to one side and the non-transparent texture to the other side where u do not want players to see through. this should do it.
Only thing is: for the non-transparent face u need a texture with a shader without the line

Code: Select all

cull none
because this line would make that texture/face be visible from both sides.
So either choose one without that line or write (rather copy/paste) a new one.

If u gave more details about what the window should look like (size and prefered texture), i could do it for u...

texture

Posted: Thu Jan 08, 2004 8:59 am
by tltrude
Just texture one side with see-through texture and the other side with non-see-through texture.

Posted: Thu Jan 08, 2004 3:16 pm
by bdbodger
Funny how the obvious is always over looked . Do what tltrude said . I made a crate once it had one side that was a door ( I didn't tell anyone ) so I could hide inside of it . The inside of the crates door was caulk and the outside was a crate texture . I could see the other players when they ran by :twisted: They didn't know how they missed seeing me .

Posted: Thu Jan 08, 2004 6:24 pm
by dooguesgoober4
Yeah that is kinda funny how something so simple seemed so intricate, maybe it's because I'm a noob....LoL

Thanks guys!!!

Posted: Thu Jan 08, 2004 8:10 pm
by dooguesgoober4
Would anybody happen to have a texture of a window without the crossbar thingies on them....I need a glass texture of JUST glass....

Posted: Fri Jan 09, 2004 12:56 am
by omniscient
use the one with bars and re-scale it.

Posted: Fri Jan 09, 2004 8:26 am
by wacko
dooguesgoober4 wrote:Would anybody happen to have a texture of a window without the crossbar thingies on them....I need a glass texture of JUST glass....
you can get such a glass texture at the mohaa recycling bin

Posted: Fri Jan 09, 2004 9:38 pm
by omniscient
wako i checked out the site again, i like what u've done with it.