Survivalist: Invisible Strain

Survivalist: Invisible Strain

Mods and Stories in the Survivalist Setting!
If you can't see any mods, click on your profile name in the top right of Steam, edit Store Preferences, and allow Some Nudity or Sexual Content for Community content.
Learn More
Modding AI Autonomy
To anyone who is familiar modding this game, Im curious to know if nullifying player autonomy is feasible?

Its really the only thing that gets to me. Nullifying player AI (eg, eating, drinking, switching weapons) would be superb on its own.
< >
Showing 1-5 of 5 comments
I could look into it, but do you mean only for the main avatar? (the one you created your game with). Or in general for your player community?

Because AI only takes over when you switch characters right? It never really takes control over you, I think.. Or does it?
Memoryj 22 May @ 5:21pm 
Main character only would be great. I think they will carry out certain functions like eating and drinking even when under direct control when idle. im pretty sure they will interrupt sleep too, but i cant remember for sure.

I would love to remove ALL autonomy from the main character including when they are not under direct control. It would be great if they would just sit there like a rock unless i am making them do something. No switching weapons walking around etc. If this disable auto fighting, then so be it. I would consider it a more than fair trade!

I dont think I am the only player that might like to play the game this way, so on their hypothetical behalf: Thank you for looking into it!
AI is processed by Goal classes that are registered in SurvivorGoal.OnActivate().
For example, you can patch SatisfyHunger.IsPossible() to return false when character.DirectControlled == true, in order to disable auto-eating while you are directly controlling the character.
Last edited by Mochi Fox; 1 Jun @ 6:45am
Finally got the chance to make it. What Mochi Fox said is entirely true, it really was that simple ;)

I can tweak things and patch more behaviour. Right now they will not self medicate / bandage, satisfy their thirst, hunger or sleep, restock ammo, change their weapons or clothing, nor look for warmth.

Didn't change the roles, so they might still go farm on their own. Not sure, but let me know if you want something added.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3503190537
Memoryj 29 Jun @ 9:22am 
If anyone could do it, it would be you! Thank you very much!
< >
Showing 1-5 of 5 comments
Per page: 1530 50