Page 1 of 1

Portal for Secret Room

Posted: September 3rd, 2006, 8:31 pm
by Soviet
ok, i just thought of something, though im not sure it would work. lets say you have got a secret room with portal all the way around it, what if you were to put no draw or caulk on the inside of that, so you could see out, but people couldnt see in...would that be possible?

diagram:

Image

possible? (yes, i know my paint skills are uber leet)

Posted: September 3rd, 2006, 8:38 pm
by Luke
Don't think that would work, but what you could do is just use patch meshes for the walls with the texture on the outside, so you can see outside but can't see in, but from the inside it won't be solid so you'd need to make walls for the inside with a clip texture.

Posted: September 3rd, 2006, 11:30 pm
by Drofder2004
Portals hide things from the engine when they CANNOT be seen. If a portal can be seen, so can everything inside.

Posted: September 3rd, 2006, 11:52 pm
by Soviet
oh...damn locked.

Posted: September 4th, 2006, 12:08 am
by Soviet
unlocked...

what if i used a clip_nosight texture drofder?

Posted: September 4th, 2006, 10:15 am
by Drofder2004
The texture simply means... this texture is invisible.

Posted: September 4th, 2006, 4:17 pm
by creator
make the texture (nodraw or caulk inside and the ohterside a texture) and make it none solid (or how u write it)

Posted: September 4th, 2006, 6:33 pm
by Drofder2004
It does what it say... It doesnt draw. It is totally ignored by the compiler.

Posted: September 4th, 2006, 7:05 pm
by Soviet
lol, yea, i know that i can put another texture there, but i wanted to put a secret room up in the air somewhere, where you can see out, but people cant see it and just look right though it

Posted: September 4th, 2006, 8:40 pm
by creator
hmm maybe put a fully box with caulk on it and make it none solid so u cant see it, walk thru it or was it caulk that gives a shit thing :| lol or other texture

Posted: September 4th, 2006, 10:07 pm
by Soviet
enough...its impossible, locked again.

Posted: September 4th, 2006, 11:56 pm
by Drofder2004
Its not impossible, I have a work around (sorta) but it uses a disguise technique.

this is how it works, you build your map and add a skybox.
Break the skybox (or remove a side) so that the map would leak.
Then, outside the map, build you hidden area (make it close to the skybox and make it so all the walls are solid and cannot be seen trough except one (ill explain in a sec)

So what you have is a box (made witha sky texture on the inside, caulk outside) and attatched to the side of that a hidden room. make all sides of the hidden room solid except 1 (the window side). this is because if the player can see outside the map he will get the HoM (hall of mirrors) effect.

Now to make it so you map does not leak, make another box going around everything (no breaks) and use caulk texture.

you have now got a room outside of the sky ;)

Posted: September 5th, 2006, 12:39 am
by Nightmare
woah, cool :D

Posted: September 5th, 2006, 12:39 am
by Soviet
true, i was thinking about that, but my idea wasnt quite that good, thanks for the suggestion

Posted: September 5th, 2006, 3:42 pm
by Drofder2004
check out maiacmansion, I used the same technique (sorta).