F4:SS Slave AI
Fallout 4: Slavery System
I'll try and give an overview of how I planned out the slave AI for F4:SS.
There are 8 new ActorValues added to the game, I'll give some explanation for each of them and will put them into context and show how they operate with each other. This system is open for suggestions - don't hesitate to tell me what you think of it and how you would put a slaves emotions into numbers.
The three categories of values:
"Display" (e.g F4SSavPrideDisplay): This is the value that the player sees and that affects the dependent values, it can only ever range from 1-100 for all the different types of values. It is the sum of "Equipment" and "Normal" value. Even if said sum would theoretically be 140, it will only go up to 100 - so if a slave already has a "Normal" Submission value of 90 and an "Equipment" Submission value of 50, the "Equipment" value will only add 10 to the total.
"Equipment" (e.g F4SSavPrideEQ): This value is the sum of all temporary buffs from gear or drugs to a certain value. The player can't directly see this, but be aware of how high it is since he will know what sort of gear he equipped/what drugs he administered. This value can range from 0-100
"Normal" (e.g. F4SSavPrideDisplay): This value is purely dependent on the slaves character, as in gets calculated from the slaves personality and current state of mind. These values are changing throughout the game as the player trains the slave. This value can range from 1-100
The eight types of values:
Pride
Pride determines a slave's self-esteem and is the main cause for any issues you will have with said slave. Someone with a lot of Pride will be harder to control and will take higher risks to achieve freedom.
Resistance
Resistance is an overall calculation for how likely a slave is to resist the player. It get's largely influenced by Pride and receives slow buffs from Humiliation, Pride and Pain. If Resistance grows higher than Repression, the slave will start to act up.
Misbehavior
Misbehavior increases whenever a slave does something triggered by Resistance and indicates that punishment is due. Most actions, like stealing a bobby pin, will add a small amount of Misbehavior (~15), whereas escape attempts and assaults against the player will raise Misbehavior to 100 instantly.
Punishing slaves will increase Fear and Submission in all slaves depending on how much Misbehavior the punished slave had accumulated. Executing a slave for stealing a tato will drastically increase Fear, but also Resistance since slaves will fear for their own life and take higher risks in the face of apparently indiscriminate punishments. Giving the tato-stealing slave a thorough whipping instead of executing him will increase Fear and Submission in all slaves.
Repression
Repression is the easiest way to keep slaves in line. Repression gets calculated anew every tick - which makes it different from most other values. Fear, Pain and Submission play into it, as well as certain equipment the player can use. The most deterring piece of equipment is an explosive collar - it adds a solid 75 points to Repression.
Submission
Submission represents a slave's overall obedience. Submission slowly increases over time, gets influenced by Fear and Pain as well as slave training. A well-trained slave that has been with the player for a long time is bound to have a very high Submission value - thus making it very unlikely that he disobeys or misbehaves.
Fear
Fear gets influenced by personal and global fear. A slave that just underwent punishment will have a high personal fear value. If that slave knows about a recently executed slave, he will also have a high global fear value. All the fear values of slaves combined influence the global fear value in combination with certain actions like executions.
Humiliation
Humiliation is mainly employed to lower a slaves Pride value. It does not affect submission, but leads to an increase in Resistance. Lowering Pride by usage of Humiliation lowers the Submission value you need for a slave to be absolutely obedient - it is a very powerful tool, but the Resistance boost needs to be kept in check.
Actions can increase Humiliation for a time or add a permanent buff. The easiest way to Humiliate a slave is to refuse him clothes and parade him around other Actors.
Pain
Pain is very straight forward: Pain decreses Misbehavior and thus serves as punishment. It also raises Submission and Repression alike. It can be very helpful to keep a slave on the brink of disobedience in line.
Pain drops constantly and quite quickly. Some items can add a constant influx of pain, such as shocking collars.
14 Comments
Recommended Comments