边缘世界 RimWorld

边缘世界 RimWorld

Vanilla Psycasts Expanded
nomind 6 月 15 日 上午 3:28
Wealth focus type drops FPS
Unlocking Wealth focus type for psycasters drops FPS really bad.
Like from 120 FPS to 60-80 with 1 pawn having Wealth type.
And down to 20 FPS with 5 pawns Wealth type.

Some debugging showed growing at using functions:
MeditationFocusGain
VanillaPsycastsExpanded.StatPart_NearbyWealth
MarketValue

The last one have huge number of calls.

Screenshot [prnt.sc]

I have Dubs Performance Analyzer mod for searching those mods that drop FPS. You may use another tools of course.

Steps to reproduce:
1. Quick start with dev tools
2. Spawn some more pawns (I had 5)
3. Give them Psycast level (I gave 30)
4. Make sure they fed and happy. All needs are fullfilled.
5. Make their schedule full meditate all day. Make meditate places somewhere in close proximity.
I used anima tree (tribechild40 child backstory) and statues - it reproduces anyway.
6. Measure FPS/TPS with 5 pawns meditating
7. Unlock Wealth Focus for one pawn
8. Measure FPS/TPS again.
Repeat steps 7-8 to see every pawn wealth calculations matters and drops FPS even lower.
< >
正在显示第 1 - 1 条,共 1 条留言
Katto 8 月 1 日 上午 2:42 
Is there a way to remove the wealth focus type in order to avoid this?
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50