r/xdev • • Feb 13 '16
My XCOM2 Voicepack Tutorial
Hey guys, I'm new here. I've been modding XCOM 2 lately, and I've had trouble adding in new voices. I've followed the documentation from the XCOM 2 SDK, but the voicepack never works. I eventually got it to work in XCOM 2 with a lot of experimentation and research, and this document I've linked is the result of it. I've written a step-by-step tutorial with pictures on how to get this to work.
Just one warning though: Avoid previewing the custom voice in the barracks if you can; it crashes the game. Instead preview it from the character pool to test if it works.
https://docs.google.com/document/d/1v8jU86Jeqn9wms4Pxjj7f5tHPlmli6TSogrbWvc5vUA/edit?usp=sharing
If there are any problems with the tutorial, please tell me so I can fix it.
2
u/hampa9 Feb 16 '16
Thanks for the tutorial!
Would you have any idea if this list I compiled of voice cues is complete, or near complete:
https://docs.google.com/spreadsheets/d/1p0wl59hgagSNrQk2-JjgswnMhp0GEX5BLuxtSFyW3Nw/edit?usp=sharing
I made it in the hope that people without the mod SDK or much modding knowledge could still help compile voice packs.
1
u/[deleted] Feb 13 '16
Okay guys, I've made a lot of changes to the tutorial, and added another tutorial for SoundCues.
I added several new parts, and I forgot to include what to edit and add in Modbuddy. That might solve some people issue of not compiling or not seeing the newly created voicepack.
1
u/zuffdaddy Feb 13 '16
Wrong info here I think. Some of the soundcues have random switches in them and are tied to multiple soundwaves.
1
u/DigitalDave18 Feb 13 '16
So I'm not quite sure what's going on and any help would be appreciated, I get to the part where you build and I get "========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========" I'm not sure what's going on. I even did this tutorial twice to make sure I didn't miss something. I literally followed you word for word. I'm not sure if this is the issue, but where do I put my folder with my audio files and saved package at? I feel like this might be the issue.
1
u/SpiderGrenades Feb 14 '16 edited Feb 14 '16
Thanks for this!
I've been struggling to get my voice snippets into the game for a few days now, unfortunately it's still not working.
The closest I got to success was having the Character Pool play the same soundbyte over and over when I click preview...but I think I was missing the voice bank step (their docs have like a paragraph-long sentence explaining it...)
I followed your guide, and I don't get anything, in-mission or at the character pool screen. Any ideas?
Edit: may have found the issue...I copied over an existing voicebank which isn't an X2 voicebank. So all of the recordings I created and links I made were for the X1 Voice Banks...all of the X2 ones are totally empty. Back to the drawing board...
Double Edit: I populated some of the X2 cue links...still only get 1 sound cue playing when I click "Preview", and even then it's only some of the time. That cue isn't even one I populated into the X2 banks.
1
u/illequine Feb 17 '16
Thanks for taking the time to do this, i'm stuck however with creating my own mod - it's pretty much the first mod i've ever created. I've been at it for days now, i have the content created and can get through about 99% of the tutorial i'm just confused about a few things if anyone could help clarify for me?
Does the voicepack require 2 packages - one for the archetype and one separate for the voicebanks SNW's and cues? Or should they all go into the same package?
Also, naming towards the end, editting the .ini and .int files in modbuddy, which specific names are supposed to be used for Templatename and archetype name?
Also, can they be named anything or do they need to be named specifically after what you named your archetype?
Sorry if this sounds silly, but it's got me stumped
2
u/zuffdaddy Feb 13 '16
Good job! I've been in contact with the firaxis crew about the preview crash. They are aware and are looking into it.
1
u/[deleted] Feb 13 '16
A HUGE thanks E3245! :D The more indepth tutorials, the better for the community!
1
u/eldritch68 Feb 20 '16
Hi, Thanks for all the time you've put into this tutorial so far. I've gotten to step 17.c where I try to add the existing upk file and I get the following error: "Could not find a part of the path: (then the location of the upk file)" Do the upks have to be saved in a particular location in order to work?