RimWorld

RimWorld

317 betyg
Psychic Harmonizer Lag Fix
2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod, 1.2, 1.3, 1.4, 1.5
Filstorlek
Lades upp
Uppdaterades
42.464 KB
15 apr, 2021 @ 15:59
11 apr, 2024 @ 2:21
4 ändringsnotiser ( visa )
Du behöver DLC för att kunna använda denna artikel.

Abonnera för att ladda ner
Psychic Harmonizer Lag Fix

Beskrivning
Fixes the reason why psychic harmonizer slows down the game when looking at a mood tab.

Possible to add mid game. If you do, you have to clear all the old harmonizer memories for a mod to take effect (i. e. isolate harmonizer carriers from the rest of colonists once).

So why exactly vanilla harmonizer creates a lag?
If you look at why harmonizer slows the game, the whole thought mechanic could use an update. While thoughts are USED and UPDATED only each 250 TICKS, mood tab tries to do it every FRAME. Harmonizer uses difficult rules for it to work, one of them is proximity, so in combination it takes sizable amount of time to calculate. But when it's done only each 250 ticks it's not noticeable, that's why it's usually fine as long as you don't look at a mood tab.
What I did is cached a thought value. Value is updated only at slow ticks (when it's checked if thought should be removed or not), and used everywhere where it's needed. That's why difficulty of the calculation doesn't matter for GUI, especially when game is paused.
Populära diskussioner Visa alla (1)
0
9 sep, 2021 @ 12:44
Bug/Error Reports
Arcanant
55 kommentarer
Cyber Witch ~ 2 sep @ 7:49 
Yeah you better be, hmpf 😡😡😡
FNEFAN 2 sep @ 6:37 
Sorry
Cyber Witch ~ 2 sep @ 5:30 
Yea it git fixed
avil  [skapare] 2 sep @ 5:06 
Wasn't it reported that it's not needed in 1.6 anymore?
FNEFAN 2 sep @ 2:02 
Will there be a 1.6 mod update?
heafm 8 aug @ 10:12 
1.6?
Caramel 10 jun @ 10:54 
@tide{S}haper industries thanks
tide{S}haper industries 23 maj @ 2:43 
@Visoth

Ludeon fixed -half- of the harmonizer overhead a while ago. The main issue this mod adresses has been resolved, another aspect that's still eating up more TPS than necessary is still around though, but wasn't addressed by this mod to begin with iirc.

Fortunately Performance Fish takes care of it. So if you're using that one (ideally the original version from Github) you should be fine and don't need this mod anymore.

Technically using both shouldn't create issues either, but as usual with software - redundancy is better avoided.
Visoth 11 feb @ 10:04 
Does this have any compatibility issues or overlap with other performance mods such as "Rocket Man", "Performance Fish" and "Performance Optimizer"? I use all three of those and have no idea how I would check if there is any overlap or issues working together.
avil  [skapare] 3 jan @ 10:49 
I've tested emonator and it doesn't really do that because it's nailed to the ground. Problem is with moving generators.