Hi,
I remember that there were multiple maps with destructible builds e.g. Kashan, but also others. There are also forum threads on that topic [1].
What is the status on that kind of game asset? Is there some empirical data how much a 100 player server can take before crashing?
[1] PR Forum URI
Destructible Buildings
- Catmouse
- Posts: 94
- Joined: 2023-05-10 13:39
- Location: H8kp1
Destructible Buildings
Last edited by Catmouse on 2023-05-30 13:27, edited 1 time in total.
- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Re: Destructible Buildings
iirc a map only has definite number of destructible networkable info and a mapper who puts more than that limit might crash the map. So maybe some of the then destructible buildings and other objects in pr are now set to not get destroyed to save the servers the trouble of lagging and crashing. Maybe it is a preventive measure to evade that problem

- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: Destructible Buildings
The destroyable buildings got mainly removed due to performance issues. We found out that every destroyable building gets checked every frame on the server. Even if no players are close to it. This puts a big constant stress on the server that we decided is not worth it.
As Alade3n said there is also a maximum limit before things start crashing. Overall you should not plan anything around destroyable buildings and look more into using it in special places. For example Shahadah uses destructible objects to block windows that can be opened by player and this way transform the battlefield.
As Alade3n said there is also a maximum limit before things start crashing. Overall you should not plan anything around destroyable buildings and look more into using it in special places. For example Shahadah uses destructible objects to block windows that can be opened by player and this way transform the battlefield.

Mineral: TIL that Wire-guided missiles actually use wire
-
Rabbit
- Posts: 7818
- Joined: 2006-12-17 15:14
Re: Destructible Buildings
Perfect example how that mapper was a fucking piece of shit.Mats391 wrote: For example Shahadah uses destructible objects to block windows that can be opened by player and this way transform the battlefield.
AfSoccer "I just don't see the natural talent."

- Catmouse
- Posts: 94
- Joined: 2023-05-10 13:39
- Location: H8kp1
Re: Destructible Buildings
Hello Mats391,Mats391 wrote:The destroyable buildings got mainly removed due to performance issues. We found out that every destroyable building gets checked every frame on the server. Even if no players are close to it. This puts a big constant stress on the server that we decided is not worth it.
thank you for the answer and explanation. That makes total sense to me.
Out of curiosity: How close are we operating to the server limit on the more sophisticated PR maps?
Quite sad that there is no source code for BF2 availible. This is probably be a big spot for optimization.
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: Destructible Buildings
Server limit is fine for most maps. From our experience some older maps are actually worse than new ones. For client we are pretty close to limit on some maps. I guess you all know the Ascheberg crashes, but things might change here soon tooCatmouse wrote:Hello Mats391,
thank you for the answer and explanation. That makes total sense to me.
Out of curiosity: How close are we operating to the server limit on the more sophisticated PR maps?
Quite sad that there is no source code for BF2 availible. This is probably be a big spot for optimization.

Mineral: TIL that Wire-guided missiles actually use wire
