#Can i make room invisible from outside?

1 messages · Page 1 of 1 (latest)

maiden ibex
#

Im trying to make a room above map on skybox, and i want that people in that room can see whats below while people that are below can't see anything other than skybox

hollow sable
#

the skybox always renders behind everything else

#

so the only way to do that is to separate the two areas entirely

fleet shuttle
#

Func_areaportalwindow

Under certain conditions it renders skybox when closed

languid wyvern
#

If you make the floor a tools invisible func brush, solid, and add a func area portal window on the floor too, set a distance minimum so that people that are under the map are too far and so they render the whole areaportal
People on the skybox room are close to the areaportal, so they will not render the areaportal and will see below

#

You shouldn't even link the areaportal window and the brush, just leave the properties of the areaportal window empty

maiden ibex
#

okay, i've tried this for half an hour and even with tutorials on how areaportal window works im too stupid to make this work :(

#

this is view from top and below, where do i place func_areaportalwindow and what do i make tools invisible?

short anchor
maiden ibex
#

yup

short anchor
#

this is what you're wanting

maiden ibex
#

can you kindly send me vmf?

short anchor
#

yeah

#

im still messing with it because its being a bit of a problem

#

but it works mostly

#

give me a sec

maiden ibex
#

big thanks man :)

short anchor
#

ive changed it a bit

#

so basically, it is now a func_areaportal

#

and there is a trigger_multiple in that room, that opens the areaportal when the player is in the room, and closes it when the player is not in the room

#

i made this in gmod hammer, but it should work in csgo

maiden ibex
#

💀

#

what changed?

short anchor
#

i made it to where that logic_auto isnt needed

#

the logic auto closed the areaportal on load, but then i realized that you can set it closed by default in the areaportal properties

#

basically less stufff to worry about

maiden ibex
#

got it

#

damn

#

this works better than expected

#

big thanks again

short anchor
#

yeah, no problem

maiden ibex
#

oh wait

#

i realized that it works through triggers

#

so if one player is inside and another is outside what happens?

short anchor
#

i was about to say, i don't know if this works on multiplayer

#

it should be fine since areaportal stuff usually happens clientside

#

but i wouldnt worry about it for now until you get the rest of your map done

#

if this trigger thing fails, then just replace the func_areaportal with a func_areaportalwindow and get rid of the trigger

#

you will have to do some tweaking though, to get the distances right.

maiden ibex
#

okay, i will try things, thanks)

#

btw tried with bots, looks like its serversided, but it still works for me so yeah

short anchor
#

ah, well, at least i could help somewhat

maiden ibex
#

you were a big help 👍