Skip to content

Commit

Permalink
tweak(data/five): increase audio occlusion related pool sizes
Browse files Browse the repository at this point in the history
OcclusionPathNode currently allocates 82 KB, new size would be 312 KB
OcclusionPortalInfo currently allocates 42 KB, new size would be 960 KB
OcclusionPortalEntity currently allocates 8 KB, new size would be 93 KB

So this would increase usage by 1366 KB, which is a reasonable increase for gained possibilities.

When linking multiple large interiors together, the amount of path nodes, portal infos and portal entities grows exponentially per interior linked.

Co-authored-by: z3t4s <[email protected]>
Co-authored-by: okqut <[email protected]>
  • Loading branch information
3 people committed Dec 6, 2023
1 parent ac064ab commit 1d37640
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/client/citizen/common/data/gameconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,15 @@
</Item>
<Item>
<PoolName>OcclusionPathNode</PoolName>
<PoolSize value="5250"/>
<PoolSize value="20000"/>
</Item>
<Item>
<PoolName>OcclusionPortalEntity</PoolName>
<PoolSize value="280"/>
<PoolSize value="3000"/>
</Item>
<Item>
<PoolName>OcclusionPortalInfo</PoolName>
<PoolSize value="550"/>
<PoolSize value="3000"/>
</Item>
<Item>
<PoolName>Peds</PoolName>
Expand Down

0 comments on commit 1d37640

Please sign in to comment.