I'm A Terrible Programmer (Patreon)
Published:
2014-09-29 02:46:36
Imported:
2023-03
Content
As I was going through some of my code to sort out the effects of mood modifiers, I noticed that Jesse's pleasure, (which is one of the main 6 variables that tools effect) doesn't do a fucking thing anymore. In early builds I had things set up so that the higher Jesse's pleasure, the more his happiness would increase over time. I at some point swapped that out for having just a hard coded value on each tool, (ex. if you rub his tummy his happiness increases by 5) Now it's just sorta there, and it's calculated, but doesn't do shit all.
The way that the current mood system is set up is very on the fly, and just what I felt sounded right at the time I was coding. (Which sidenote, isn't a good practice) To fix that, I'm planning a new "simpler" emotion system. This will let me simplify a bunch of variables and calculations (hopefully).
The current system uses a combinations of 5 variables just to calculate emotions, and facial expressions. Plus all the other variables to calculate pain, tickle, arousal etc.
The theory for the new system is based on this emotional hexagon. You have 3 basic variables each ranging from -3 to +3, Mad/Content, Sad/Joy, and Fear/Confidence. Negative values being the negative emotion, and positive being the positive emotion. Based on those it will calculate what emotion Jesse is experiencing. (ex. if he's scared, and happy, he'll be shy or embarrassed) I may also add additional in between emotions as needed.
I have things more or less planned for how to calculate the current emotion, as far as what happens during corner cases, and things like that. It's just a matter of implementing it and sorting out the actual math. (Which if I've done my work properly shouldn't take too long)
So yeah, that's what I'll be sorting out over the next couple days. X3 If anyone has suggestions for other emotions and things you'd like to see let me know =)