0 of 0

File information

Last updated

Original upload

Created by

LunaticWasTaken

Uploaded by

LunaticWasTaken

Virus scan

Safe to use

Tags for this mod

About this mod

A Patch for PCHT, increasing the limit for all b.y.o voice files from 5 to 10.

Requirements
Permissions and credits
TLDR: Only install this if it is a requirement for another mod. Otherwise, it will cause issues.

How to install?
The same way as any other mod. Either Install with your Mod Manager (Vortex/MO2), or drag the plugin into your "data" folder manually.
Just make sure that it gets loaded AFTER the original PCHT plugin (loot should automatically do that for you)

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

- What does this Patch do?
The PCHT-Mod enforces a limit of 5 voice files (from 01 to 05), which for some events (e.g. Spells like "Flames") can start to become very repetitive with just 5 possible lines.
Therefore, i increased the limit for all (quite literally) categories from 5 up to 10. I did not change anything about the greeting categories, since they already had their limit at 10.

- Does this work out of the box with my voicepacks?
In theory: yes.
In practice: Due to the fact that PCHT calculates the random number for the file to be played out of "0-<expected-limit>" rather than "0-<existing-files>", if your voicepack only has 5 files for a category, this will cause silence whenever the random calculates a number higher than 5.
Therefore as said on the top, if you don't have a voicepack with more than 5 files per category, just leave.

- How do i create a Voicepack compatible with this patch?
It's easy. Just add more files to your categories, and be happy <3

- Why not remove the limit/make it work with as much files as a voicepack contains?
Because it's straight up not possible.
After doing some digging, i found that the only way to play a specific wav FROM A FILE would be to play them using the console command `player.speaksound`, which A: Only accepts FUZ-Files, and B: From my limited testing seems to cause a lot of script-lag.
There apparently is no "Play wav file on demand", every single wav file path has to be registered within the creation kit , and if one of those files is missing, the game will still play an "empty" sound, leading to... well, a silent sound. Duh.
If i find any way to play wav-files on demand, i might do an update/another patch, but for now, this is all i can do, sowwy ._.

I think 5>10 is probably fine for most people who aren't happy with the already existing 5.