[A16-B18][MODLIST] Performance mods and other smaller mods

Started by Blas88, April 09, 2017, 06:50:07 AM

Previous topic - Next topic

Blas88

[A16-B18][MODLIST] Performance mods and other smaller mods

Performance mods:

[B18] Make War Not Love https://drive.google.com/open?id=0B8QOLNOVDc3SYkZQbDNZQW05dXc
[B18] Rot Tick Fix https://drive.google.com/open?id=1KS3W7CC8lk99T9XbjiEWQNPNhlySb28Q
[A17] Manhunter Fix https://drive.google.com/open?id=0B8QOLNOVDc3SZ3pjT3U0Rk4xdWM
[B18] Idle Fix https://drive.google.com/open?id=1BOfLWS9TWqa49KKQSraslOhbQWZdqTDg
[B18] Tick MultiThread https://drive.google.com/open?id=1UHduVVoER17T_tMMArSEissXujBCU1Lg

Other mods:

[A16] Psychic Lance Bypass Forced Death https://drive.google.com/open?id=0B8QOLNOVDc3SdlB2Rk9mU0xUOGs
[A17] Less Stacking https://drive.google.com/open?id=0B8QOLNOVDc3SZUhMNk1GZ3AtVXc
[A17] More Reasonable Prison Break https://drive.google.com/open?id=0B8QOLNOVDc3Sc3NaTmxTVTRVUWs
[A16] I Think You Missclicked https://drive.google.com/open?id=0B8QOLNOVDc3SWl9ta1ZndU94Qjg
[A16] Auto Update https://drive.google.com/open?id=0B8QOLNOVDc3SajBuVTkyQUoxU2s
[A16] Less BeepBoop https://drive.google.com/open?id=0B8QOLNOVDc3SYktUTjBsWTM3MXc

Descriptions:

Make War Not Love
Legacy from A17. Mostly a flavor mod now, since the background pawn handling is greatly improved in B18 vanilla. Removes the social system (prisoners and animals still bond). Only use this if you dont like the social system.

Rot Tick Fix
Lowers the temperature check interval for rotting items.

Manhunter Fix
Prevents Manhunters sound and mote (red mist above their head) spam.

Idle Fix
Non drafted pawns wont check their surrounding every 4 frames for target or fire.

Tick MultiThread
Currently it runs the plants tick event in a different thread. Nice addition to the swamp maps. Not compatible with "fast ecology" dev option, and mods that load asset with the TickLong method.

Psychic Lance Bypass Forced Death
Psychic Lance bypasses forced death checks when pawn is downed.

Less Stacking
Allows collision checks for pawns without nearby hostile. This way prevent big stack from fast spreading when gets near colonist. Visually it will still look like they teleport all around but they flow only with walking speed so you dont lose distance to enemy.

More Reasonable Prison Break
Colonist or Content/Happy prisoner cant prisonbreak, except if they was in prison for more than 1 year overall.

I Think You Missclicked
Ask for confirmation if you give order to forced feed corpse or if you try to arrest a colonist who isnt in mental state.

Auto Update
Auto Update mods on confirmation if the mod folders has a "DirectDownloadLink.txt" that contains a valid link to a .zip file. On first usage after activation and game restart, it will create a backup on your mods in the Mods folder and if you confirm, it will update all possible mod to ensure all mod is up-to-date. Currently it makes an overwrite update, so it doesnt delete extra files from the mod folder. Later i will make an extra optional file to help delete obsolete files.

Less BeeBoop
Removes every BeepBoop sound except pawn death.

Author/Mod Team
Blas88. Thank you to CCL/RawCode for the detour code, that made possible these mods! :)

Download
Make War Not Love https://drive.google.com/open?id=0B8QOLNOVDc3SYkZQbDNZQW05dXc
Rot Tick Fix https://drive.google.com/open?id=1KS3W7CC8lk99T9XbjiEWQNPNhlySb28Q
Manhunter Fix https://drive.google.com/open?id=0B8QOLNOVDc3SZ3pjT3U0Rk4xdWM
Idle Fix https://drive.google.com/open?id=1BOfLWS9TWqa49KKQSraslOhbQWZdqTDg
Tick MultiThread https://drive.google.com/open?id=1UHduVVoER17T_tMMArSEissXujBCU1Lg
Psychic Lance Bypass Forced Death https://drive.google.com/open?id=0B8QOLNOVDc3SdlB2Rk9mU0xUOGs
Less Stacking https://drive.google.com/open?id=0B8QOLNOVDc3SZUhMNk1GZ3AtVXc
More Reasonable Prison Break https://drive.google.com/open?id=0B8QOLNOVDc3Sc3NaTmxTVTRVUWs
I Think You Missclicked https://drive.google.com/open?id=0B8QOLNOVDc3SWl9ta1ZndU94Qjg
Auto Update https://drive.google.com/open?id=0B8QOLNOVDc3SajBuVTkyQUoxU2s
Less BeepBoop https://drive.google.com/open?id=0B8QOLNOVDc3SYktUTjBsWTM3MXc

How to install:
- Unzip the contents and place them in your RimWorld/Mods folder.
- Activate the mod in the mod menu in the game.

Permissions:
You can include these mods in your modpack.
You can make derivatives based on these mods.

Lupin III

When I use the rot tick fix I can no longer store meals in a rim fridge. The option is just not there to select them. Other things (like herbal medicine, space weed, beer) work as the always do.

Blas88

As quickfix you can delete the RotTickFix\Defs folder. I only set the pemmican rotting time there so its not essential for the mod. Later on i will try to find a different route to change the pemmican to avoid compatibilty issue.
Thanks for reporting it! :)

faltonico

Hoping to see improvements with the Rot Tick Fix, i have a LOT of food in storage.
Thanks.

Blas88

Added Auto Update mod to the list.
We can't let Steam have better functionalities! :P

Blas88


lost_RD

Hook me up with the source to Less BeepBoop, I'm working on something similar and want to see if I can keep it compatible with yours

Blas88

Quote from: lost_RD on April 13, 2017, 10:32:29 AM
Hook me up with the source to Less BeepBoop, I'm working on something similar and want to see if I can keep it compatible with yours

LessBeepBoop source: https://drive.google.com/open?id=0B8QOLNOVDc3SckN0S05odXZPZ00

EDIT: The detour code is from CCL/RawCode so if you use that, dont forget to credit them :)

lost_RD

Thanks. So you made a special case for pawn deaths that does a custom beepboop and then prevented all normal beepboops.

I went in a different direction. I modified the Message method to check where it came from and play custom sounds based on the origin.

https://github.com/lost-RD/BeepBoop if you want to take a look

Jimmon

i had a mod that auto-updated "more reasonable prison break" to the A17 version, however i'm still using A16 and now its complaining that its incompatible. so do i need to find a link to the A16 version or will this version work with it?

Blas88

In "more reasonable prison break" only the version number changed. Didnt expect a16 will mark it as out of date with newer number :D .
I wont upload anything with the auto-updater that can break the game/save file.

I plan to make the mods check game version and change the game accordingly. I guess i will have to backdate version numbers too.

faltonico

I had forgotten to inform you of this, Manhunter Fix related:
BestAttackTarget with WildBoar14361093 who has no attack verb.
Verse.Log:Error(String)
Verse.AI.AttackTargetFinder:BestAttackTarget(Thing, TargetScanFlags, Predicate`1, Single, Single, IntVec3, Single, Boolean)
ManhunterFix.SpecialInjector_ManhunterFixDetour4:_TryGiveJob(JobGiver_Manhunter, Pawn)
Verse.AI.ThinkNode_JobGiver:TryIssueJobPackage(Pawn)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn)
Verse.AI.ThinkNode_ConditionalMentalState:TryIssueJobPackage(Pawn)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn)
Verse.AI.Pawn_JobTracker:DetermineNextJob(ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

It only appeared in the last manhunter pack i had, a fairly large one.

Blas88

Thanks for the report.
"ManhunterFix.SpecialInjector_ManhunterFixDetour4" was already disabled in the current version of ManhunterFix (the attack range reduction made it easier to cheese the manhunterpack)
Are you using A16 or A17? Because "TryGiveJob" got change in A17 so that could cause the problem.
(The current version of ManhunterFix is still for A16)

faltonico

Quote from: Blas88 on May 18, 2017, 07:58:13 PM
Thanks for the report.
"ManhunterFix.SpecialInjector_ManhunterFixDetour4" was already disabled in the current version of ManhunterFix (the attack range reduction made it easier to cheese the manhunterpack)
Are you using A16 or A17? Because "TryGiveJob" got change in A17 so that could cause the problem.
(The current version of ManhunterFix is still for A16)
I'm not using A17.
I gotta tell you that if that is whats making the mod be so good, I rather disable the event than having to use your mod without that feature.

Blas88

The attack range reduction only helped with performance when the pack spawns and start to target a pawn from the edge of the map. Since targeting a moving object currently force a constant path renew, that can cause a big performance loss.
I plan to rework this part of the game to target last used door so they wont renew the pathfinding.

The other parts of the mod are still active, those parts are responsible for the sustained performance increase. (like target search at every 4 frame, sound spam, visual effect spam)