Voice Packs
What’s a voice pack?
A voice pack gathers together all the vocal sound effects for a gender or sex in the game. If you take a look in the static/audio folder, you’ll see a bunch of vocal sounds with filenames like heavy_arouse_f0.ogg
. At the time of writing there are two voice packs in the base game, a ‘f’ voice pack and a ’m’ voice pack.
Overriding an existing voice pack
If you make an audio subfolder in your mod, any audio files in there with the same filename will override the existing ones in static/audio.
If you need a comprehensive list of all the files in a voice pack, check static/js/soundbank.js and look at the loadVoicePack() function.
Introducing a brand new voice pack
That’s all well and good, but how do you give enbies and trans people specific voice packs? For that we’ll need to make a new one by writing some python in our mod’s __init__.py
.
e.g. Send it looking for a couple of new voice packs:
import faust.Character
def init():
faust.Character.Character.all_voice_packs['nb'] = 'Androgynous'
faust.Character.Character.all_voice_packs['robo'] = 'Robot'
By itself, a new voice pack only shows up as an option for the player character, and you don’t hear their voice much (at the time of writing, only during encounters with porn stars). So lets apply the new voice pack to some of the minion body types:
faust.Character.Character.all_sexes['mtf'].voice_pack = 'nb'
faust.Character.Character.all_sexes['m'].voice_pack = 'robo'
Now all of the trans women have an androgynous voice and all of the dudes have a robot voice.
Unless you’ve gone and added new ones, the Sex IDs that can go in the square brackets are: ’m’, ‘f’, ‘mtf’, ‘ftm’, ’nbamab’, ’nbafab’.
Troubleshooting
If audio conks out entirely without any errors on screen, it’s probably because something crashed in the javascript. Open up Developer Tools and take a look in the error console to see what’s going on.