areaportal problem

Billo

aa
Feb 8, 2016
921
404
well to reduce even more lag on my map i made a new version of it and i added quite a lot area_portal to the doors only but when i open tf2 and go to the map it crashes and says something for area_portal
should i do something different? or am i making something wrong?
feel free to tell me down below so i can fix the problem. thanks!
 

Egan

aa
Feb 14, 2010
1,375
1,721
Hi if you incorrectly implement areaportals it will cause them to 'leak' into other areas. Basically the compiler tries to section off areas of the map away from each other but ends up with stagnant walls of areaportal (because the compiler is able to go around to both sides of the wall of areaportal brush, cause it leaked) and just kinda dies in the process, breaking the compile.

You can look through your compile log for errors, or paste it into this error checker for specifics: http://www.interlopers.net/errors/

For a good tutorial on areaportals see this video: https://www.yout ube.com/watch?v=swBfUW-Bsxs&t=25m34s

For more info check this page: https://developer.valvesoftware.com/wiki/Areaportal

If you still can't figure out the cause of the error try using pastebin to paste the compile log here.
 

henke37

aa
Sep 23, 2011
2,075
515
Also note that area portals aren't free. There's a reason they have to be placed manually.
 

Billo

aa
Feb 8, 2016
921
404
for exable i have one house and 3 rooms where should i place area portal?
(note the rooms are dead end)
 

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
for exable i have one house and 3 rooms where should i place area portal?
(note the rooms are dead end)
Every doorway and window frame. Keep in mind areaportals have to be sealed in by world brushes, not brush entities (kinda like how you seal leaks into the void). You can have areaportals in something like a func_detail though, so if you have a door with a frame that you made a func_detail you make sure the portal lines up with the wall brushes, not the door frame.