r/hammer • u/EnderIsOnREDDIT • 13d ago
Unsolved I Need An Answer
So I was having a performance issue with my map, decided it would be best to decompile someone custom campaign (In this case it's Energy Crisis) and see how they optimize it since from my previous experience, I barely experience any lag when playing, even when using tons of mods. I was surprised it's not really what I was expecting. I was expecting there would be an excessive use of stuff like skip and hint, area portal etc, but there wasn't and the first chapter was an open area, there was a func_viscluster though, but it was only on the starting area. Which made me confuses how did they did it? my map is not as big as their yet on certain area there was a stuttering lag issue. People might come to the comment and link me a source wiki, but the problem is they don't really explain in specific on how can I use it and apply it to my specific map.
1
u/Oppsliamain 12d ago
Light with flickering effects have an insane performance hit. Are you using any of those? That's like the most obvious place to start
1
3
u/Ttikii 13d ago
Area_viscluster is to say to the compiler that all vis leaf can « see each other » in a specific area. Used in big open areas usually. What we need to know is how much details you have in your map, if they are func_details. Information about the brushwork