Areaportals vs func_areaportals

re1wind

aa
Aug 12, 2009
644
588
I've somehow gotten the impressions that the func_Areaportal is somehow more sensitive and 'touchy' than the standard world brush with areaportal texture applied.

The reason i say this is that the compile log was giving me leak errors with point file that pointed nowhere. the lines just went in circles or didn't go anywhere at all. This is not a normal areaportal leak, i know what those look like. The problem was being caused by func_Areaportals, though, which doesn't make much sense.

I did fix the problem after converting everything to the world-brush kind -which valve maps seems to like- but it just seems strange that one version doesn't cause leaks while the other does.

Of course, the func_Areaportal & areaportalwindow are controllable versions, but does that functionality and being tied to an entity affect the 'stability' of the compile process?

Roughly 70 areaportals of which half were the func_areaportal kind.

Anyone else notice this, or am i just seeing things while under the influence of Hammer?
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
A world brush textured in areaportal is not an areaportal.
 

Geit

💜 I probably broke it 💜
aa
May 28, 2009
598
1,161
A Worldbrush with the areaportal texture is just a normal worldbrush(It'll even render in game with the areaportal texture), and it won't do anything to break up your level. (Other than a few VIS leafs.)

Does this large line pass through any func_details or small holes into another area? If so, that's a leak.

Also, Valve maps do not favour the "Worldbrush" kind, this is just a shortcoming in VMEX, it can't decompile occludes and Area-portals.
 

Ravidge

Grand Vizier
aa
May 14, 2008
1,544
2,818
as the people above stated.
A world brush with the areaportal texture does nothing. It must be tied to func_areaportal to work.

When finding leaks caused by areaportals, it might help if you turn off all the visgroups except world brushes (minus displacements and obviously the areaportals themselves).
If one side of a areaportal can draw a pointfile to it's backside it will report a leak.
 

re1wind

aa
Aug 12, 2009
644
588
Ah, i see, well thanks. i was rather surprised to find giant areaportal-textured walls though. :)
I was wondering why those decompiled maps had so many worldbrush areaportals. Can't be bothered to re-download the SDK to get the officially released maps, in addition to stupid bandwidth restrictions (isp). Guess i shoot myself in the foot then.

Ah well, i learnt something from this so it's not all bad. :)
 

evanonline

L420: High Member
Mar 15, 2009
485
273
Just do "Refresh SDK Content" on the Source SDK window and the maps will show up.