[WOTC] Voice Patcher

If you liked this item, please rate it up on Steam Workshop page.

Author: Aquilio

Last revision: 1 Feb at 16:42 UTC (6)

File size: 954 KB

On Steam Workshop

Description:
This mod can add/replace/remove voicelines for many in-game actions, including modded abilities. It can also be used to inject custom sounds.
Also restores some unused dialogue for vanilla voicepacks, including the SPARK voices.

If you are installing this mod to be used with a compatible voicepack, then you don’t need to do anything else. It will automatically add the voicelines to previously unvoiced abilities where applicable.

This mod can also be configured – more info below

This is a simple OPTC-based mod which allows to assign voice cues to specific in-game abilities through configuration.

For example: it is possible to make Specialist’s Combat Protocol ability use voicelines from Capacitor Discharge ability (or any other one).

Or make Bladestorm use certain voicelines when activated.

Or replace the Run and Gun ability voicelines with voicelines from any other ability, e.g. Reaper or Conceal.

Alternatively, it is possible to disable the voicelines for specified abilities altogether.

Abilities and voice events are configurable through the XComSoundCuePatch.ini file.
The default config also adds new custom voice events to many unvoiced WOTC and LWOTC abilities and can be used out of the box with compatible voicepacks.

Settings will be restored to game’s defaults when the mod is disabled.

Additionally included is the ReadMe.txt file containing a comprehensive list of various voice events.

Please keep a backup of the XComSoundCuePatch.ini file to not lose your preferred settings, as this mod might be updated in the future!
I recommend using a separate config file, or a local mod.

FOR VOICEPACK MAKERS:

This mod can be useful to voicepack makers who want to employ additional sound cues in their voicepacks, especially when using Robojumper’s script.

All that is required is to add an additional voice event to be assigned for your abilities of choice.

For example: you can add a brand new voice event to the script, such as:

Events.Add((EventName="NewVoiceEvent"))

In Unreal Editor, assign the event to the sound cue in the voice archetype, as usual,

and then tie it to your ability of choice through XComSoundCuePatch.ini file.

+AbilityVoice=(AbilityName=Holotarget, VoiceEvent=NewVoiceEvent)

In this example, a brand new custom voice event is tied to the LWOTC Holotarget ability.

With this, many previously unvoiced abilities can use specific voicelines, especially the modded ones.

The default config already provides support for most "silent" WOTC, LWOTC and Akimbo class abilities. It uses separate event names to make it easier to adapt for either shared or unique sound cues when making voicepacks.

For custom events already handled by Voice Patcher, click HERE. A detailed event list is also available in the ReadMe.txt file.

The voicepacks will still be functional when used without Voice Patcher: the extra custom events will simply not be used in-game. In other words, using this mod is NOT a hard requirement for a voicepack.

You can also check out the guide for voicepack creation by Ayser. It describes necessary steps for adding Voice Patcher-compatible voice events. It also lists various best practices to follow when making voicepacks.

Lastly, check out the Voicepack Test Utility by AgRipnus for easy preview of ALL voice events in the customization screen.

COMPATIBILITY:

X2WOTCCommunityHighlander is required.

Primarily tested with LWOTC and Mod Jam, but should be compatible with anything.
Safe to install or remove mid campaign. Settings are restored to game’s defaults when disabled.
No MCOs (Mod Class Overrides) are used.

LIMITATIONS:

Even if you add new voice events to some abilities, they may not play at all if the voicepack does not support them.

Keep in mind that not every voicepack supports specific voice events! They have to be set up by the voicepack author beforehand! (e.g. added to Robojumper’s voice script and tied to a sound cue)

A few abilities (e.g. Hunker Down and Throw Evac Flare) have hard coded voice event names and cannot be replaced using the current method.

TO DO:

– Secondary config for more popular ability/perk packs

CREDITS:

Created by Aquilio

SPECIAL THANKS:

MEME and XCOM 2 Modding Discord
Ayser, Alastor0087, PsyCHo for feedback and testing as well as all voicepack makers for using the mod

Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen
Required items:

Click the title to search on this site.


X2WOTCCommunityHighlander v1.30.4Steam Workshop