Deactivate Speeches

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

Author: twi

Last revision: 7 May, 2023 at 02:38 UTC

File size: 69.63 KB

On Steam Workshop

Description:

I am a big fan of Sean Bean, and he’s my favourite Civ Narrator. However, after listening to the same lines of dialogue for hundreds of hours, I needed a break.

Speeches will be disabled for the Load Screen, Natural Wonder Popup, Tech/Civic Completed Popup, Wonder Built Popup, and Great Work Completed Popup.

If you want the narration back, just disable this mod from the main menu.

====================

As of May 7, 2023, the following UI.PlaySound functions are commented out:

File
Line
Function

…steamappscommonSid Meier’s Civilization VIBaseAssetsUIGreatWorkShowcase.lua
Line 120
UI.PlaySound("Play_" .. greatWorkInfo.Audio );

…steamappscommonSid Meier’s Civilization VIBaseAssetsUIFrontEndLoadScreen.lua
Line 355
UI.PlaySound("Play_DawnOfMan_Speech");

…steamappscommonSid Meier’s Civilization VIBaseAssetsUIPopupsNaturalWonderPopup.lua
Line 93
UI.PlaySound(kData.QuoteAudio);

…steamappscommonSid Meier’s Civilization VIBaseAssetsUIPopupsTechCivicCompletedPopup.lua
Line 79
UI.PlaySound(audio);

…steamappscommonSid Meier’s Civilization VIBaseAssetsUIPopupsWonderBuiltPopup.lua
Line 100
UI.PlaySound(GameInfo.Buildings[buildingIndex].QuoteAudio);

If you are planning to alter this mod for your own needs, some information may be needed.

Based on my own experience of attempting to disable the "Dawn of Man Speech" from the LoadScreen.lua, it seems that any ImportFile events for that particular file need to be implemented in both the FrontEnd Actions as well as the In-Game Actions via ModBuddy.

When I tried to use only a FrontEnd Action, the speech would still occur if I loaded a save game from within an already-running game (using the Load Game menu). After I added another ImportFile event to In-Game Actions, the speech was completely disabled for both the first load screen (from the main menu), as well as any subsequent load screens from within a running game.