AlphaGaming7780 / ExtendedRadio

4 stars 2 forks source link

Alert and Emergency Audios #19

Open Luckzao opened 2 weeks ago

Luckzao commented 2 weeks ago

First of all, I would like to thank you for your work on the mod! I managed to get my custom audio to play instead of the original sounds during alerts and emergencies in the game. However, the game also plays the original sounds in some situations (I believe because they have the same intro and alert tags as the audio I configured, and the game is also searching for these tags in the original audio assets). Is there a way to prevent the original audio from playing?

AlphaGaming7780 commented 2 weeks ago

I will have to check, but the game and the mod, search in the whole game database audio assets and filter them using tags.

ExtendedRadio put a lot of tags on each custom audio asset to be sure it's the good audio assets who are taken to play in the specific radio.

Now you speak about the mix radio who still play game emergencies, I can't do anything about that, game audio assets don't have a lot of tags and are easily taken in even if you didn't select them (Like PSA).

Now if even in your custom radio (not using the mix network to listen to it), you have the wrong emergency file, that's surely a big I have to fix.

Luckzao commented 2 weeks ago

This happens on the personalized radio, with the radio mix option disabled.

The idea was that my radio would only play my configured audio files according to each segment, including the emergency segment. However, I wasn’t sure if it was something I was configuring incorrectly or an issue with the game itself because the mod works very well, as my custom audios are also played.

But when I reload the game, sometimes the original audio plays in the same emergency situation where my audio was previously played. I created a save at a point just before the specific emergency situation occurs and the audio is played.

From what I understand, the game is putting both the original audios and mine that have the tag, for example, "AlertType": "Contaminated Drinking Water Radio Event," in the emergency audio playback queue.

I haven’t checked if the same thing happens with the news segment, but in principle, whenever the trigger appeared in the game, my configured audio was played every time I loaded the game and the trigger occurred. However, I haven’t tested the trigger twice in the same save.