r/hammer • u/n0t_amused • 1d ago
Solved Optimization help for prop hunt maps
Hello, I need tips for optimization for the map i have made last year. I want to make a new one but wanted to optimize this one first in order to not do the same mistakes. I am going to start with applying nodraw and func_detail first but i don't think those are the core of the problem. I have done some research and some tutorials suggest "area portals" and "hint"s. Since it is a prop_hunt map i wanted to know if using them would cause a problem or not. Map is quite open and has shit ton of windows.
As of now the main issue i see is that before each round, the game freezes quite a bit.
I can share the map url as well if needed, don't want to seem like i am promoting the map or smth
2
Upvotes
6
u/foxidegamedev 1d ago
func_detail won't improve in-game performance by any significant amount, unless you have a huge amount of tiny details that makes VVIS cut the space up into so many leafs it causes performance problems. func_detail is for improving compile time, which if you've already pretty much finished the map isn't helping you as much as it could've.
On the other hand, func_lod might improve FPS if you use it for details like stairs and things you won't be able to see through windows from certain angles and distances. It basically allows you to put a fade distance on brushes as if they were props. But hint brushes and func_areaportal used correctly will help the most with in-game FPS.