Portal 2

Portal 2

UNREAL CHAMBER 04
SHOOD 19 Jun, 2019 @ 12:52am
Disabling portal view through walls?
https://cdn.discordapp.com/attachments/212503111854587904/590809888041598976/unknown.png
In this screen shot I have highlighted where an orange portal should be just under the first cube dropper. The outline of it is not shown though. Now I understand how this map has linked the room I'm standing in with another room that is vertical in nature with linked portal doors so we shouldn't expect the orange portal outline to appear in this exact spot. After going into no clip and looking at where it should be shown through the wall it is not. I just want to know how to disable the portals through walls as I have made maps like this before with impossible geometry but they feel ruined by players being able to see their portals being way away from them. I'm almost finished with my first coop attempt at a level with world portals and would like to add some finishing touches to it such as removing viewing portals through walls. I am assuming it done with a vscript but I am unsure of how to go about it.

EDIT: I solved it. For anyone wondering the command you need is portal_draw_ghosting set to 0 to turn it off. I ran it through a point_servercommand in hammer through a logic_auto.
Last edited by SHOOD; 19 Jun, 2019 @ 1:20am