Project Zomboid B42: How to Change Your Voice Mid-Game

Project Zomboid478 views7 favorites2 min readby KampfbellUpdated 5 JanView on Steam ↗

Step 1: Enable Debug Mode

(Note: If you already know how to launch Debug Mode, skip to Step 2.)
You need admin powers to pull this off.
  • Go to your Steam Library.
  • Right-click Project Zomboid and select Properties.
  • In the General tab, look for the Launch Options field.
  • Paste this exact text:
    -debug
  • Launch the game and load your save file.

Step 2: Check Your Current Voice Stats

Once you're in-game, you should see a Lua console in the bottom left. If it's hiding, press the tilde key (`) (the tiny button above tab).

Run these commands to see what you're currently working with:

-- Check which voice bank you are using (usually "VoiceMale" or "VoiceFemale") print(getPlayer():getDescriptor():getVoicePrefix()) -- Check your specific voice type ID (Prints a number like 0, 1, 2, 3) print(getPlayer():getDescriptor():getVoiceType()) -- Check your pitch (Prints a number between -100 and 100) print(getPlayer():getDescriptor():getVoicePitch())

Cheat Sheet for Voice Types:
  • "VoiceMale": 0 = Bob, 1 = Hank, 2 = James, 3 = Chris
  • "VoiceFemale": 0 = Kate, 1 = Casey-jo, 2 = Maryanne, 3 = Janine

Step 3: Change Your Voice

Now let's rewrite your character data. Paste these commands into the console as needed.

To change Gender/Bank:
getPlayer():getDescriptor():setVoicePrefix("VoiceMale") -- OR getPlayer():getDescriptor():setVoicePrefix("VoiceFemale")

To change the specific Voice Actor (Type):
(Replace 1 with the ID number you want from the cheat sheet above)
getPlayer():getDescriptor():setVoiceType(1)

To change the Pitch:
(Range is -100 to 100. Negative is deeper, Positive is higher)
getPlayer():getDescriptor():setVoicePitch(-50)

Step 4: Using Modded Voices

Yes, this works with modded content too. Since mods don't usually use the default "Male/Female" prefix, you need to find the specific Prefix ID the modder used.

Example using the "Tommy Voice" mod:
https://steamcommunity.com/sharedfiles/filedetails/?id=3400496387

  • Navigate to your Workshop folder:
    Steam\steamapps\workshop\content\108600\3400496387\mods\TommyVoice\42.0\media\voiceStyles
  • Open voiceStyles.xml.
  • Look for the prefix value.

Console Commands for the Mod:
First, reset the voice type to 0 to prevent crashing, then apply the new prefix.
getPlayer():getDescriptor():setVoiceType(0) getPlayer():getDescriptor():setVoicePrefix("TommyVoice")

Final Step

Go find an empty field and use the Shout command (Q) to scream your heart out. If you sound like the person you wanted to be, congrats, you fixed it. Turn off the debug mode once you're satisfied.

This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.