Jump to content

Recommended Posts

Hey guys. I'm making a character and I wondered if there is any way to make insanity effects appear randomly even though sanity is full (I'm mostly interested in whispers and shadows).

If it's possible, I would like those insanity effects:

  • Mr. Skits
  • Shadows watchers
  • Lighting slightly desaturated in overworld and caves and brightening in the Ruins (this one is optional, it should be a very slight difference)
  • Eyes appearing in the darkness (very important)
  • Whispering (very important)

I'd like everything to be purely visual, meaning that it shouldn't make the game harder (so they shouldn't attack). My character's sanity is already halved btw, I'm also using Extended Sample Character Template.

I would also like it if my character was more likely to rock back and forth (let's say at 75% sanity), it would be amazing if possible.

 

I don't even know where to start with all this lol. I really hope I could get some help from you guys

Edited by fkaet

Let me give some rough guidance quickly...

The best approach would probably be to just patch the sanity component using AddComponentPostInit(), so you can make it play pretend when the "self.inst" is your character (if self.inst.prefab == "wilson" then). How exactly you manipulate the numbers is up to you, but the easiest approach would be to cap using math.min().

I can't say I know how to start, but it's surely helpful as a guidance and I'm going to try reading some modding basics and attempt it for sure. I'll surely will try to follow it, thanks a lot man. It's a lot since I was at a complete zero writing the thread. I'll keep the thread open, since I'm pretty sure I'll get stuck halfway and will need further help from the forum but for now I know where to begin. Man I wish the sanity effects weren't so difficult to manipulate for a complete beginner. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...