Optimization of moving brushes.

Optimization of moving brushes.

Re: Optimization of moving brushes. Posted by SmokersCough on Wed Jan 18th 2006 at 10:12am
SmokersCough
28 posts
Posted 2006-01-18 10:12am
28 posts 13 snarkmarks Registered: Dec 20th 2005
Hi guys, i have a cabin made of func_physbox, it is fairly complex and when it is destroyed (by explosions) the frame rate drops to 10 (and my machine is a real beast). I have been informed there is a way i can improve the performance, is this by changing them to func_physbox_multiplayer. Will this change the way the game loads so it knows that the brushes are not static from the beginning meaning there is not so much of a peformance hit when the cabin is hit? Any help would be great guys. Thanks.
Re: Optimization of moving brushes. Posted by wil5on on Wed Jan 18th 2006 at 11:44am
wil5on
1733 posts
Posted 2006-01-18 11:44am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Func_physbox_multiplayer is designed for less network lag in multiplayer games, it wont affect framerate significantly. How many physboxes are you using for this cabin? If theres a lot of them, explosions affecting them will kill your framerate. Try simplifying the cabin, merge some physboxes together.
"If you talk at all during this lesson, you have detention. Do you understand?"
  • My yr11 Economics teacher
Re: Optimization of moving brushes. Posted by SmokersCough on Wed Jan 18th 2006 at 5:11pm
SmokersCough
28 posts
Posted 2006-01-18 5:11pm
28 posts 13 snarkmarks Registered: Dec 20th 2005
What if i can't simplyf the cabin, it's part of my boat map so it needs to look as it is. Is there not a way i can improve it?
Re: Optimization of moving brushes. Posted by fishy on Wed Jan 18th 2006 at 5:54pm
fishy
2623 posts
Posted 2006-01-18 5:54pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
making parts of it as wall toggles, and having them disappear, while other broken pieces(again toggles) appear already in place a second later, may save some of your fps. it wouldn't look great to anyone close enough to see it, but as there's an explosion happening, no-one should be allowed to see it and live anyway.
i eat paint