View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019671 | AI War 2 | Bug - Audio | Jul 1, 2018 7:22 am | Jul 19, 2018 10:30 am | |
Reporter | RocketAssistedPuffin | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.746 Disposing of the Invisible Man | ||||
Summary | 0019671: Disabling voice and having voice volume at 0 still has construction lines playing. | ||||
Description | As it says, really. Constructing turrets, docks, etc will cause the announcer to play the dialogue, despite the title settings. (Nothing wrong with the voices in general, just so used to units beeping and booping at me that it's...weird, when they...talk). | ||||
Tags | No tags attached. | ||||
|
In PresentationLayer_AIW2.cs we check for "If audio is enabled for this type of activity" for most of the code paths in ReactToOrderJustIssued(), but we don't do that for case CommandAudioCue.InvokeBuildPattern: case CommandAudioCue.PlaceSelfBuildingUnit: I think you just need to add a check equivalent to this for those cases if ( GameSettings.Current != null && GameSettings.Current.GetBool( ArcenBoolSetting_Universal.EnableVoice ) && GameSettings.Current.GetBool( ArcenBoolSetting_Universal.EnableSound ) && ( ArcenTime.Now - LastMoveOrAttackVoiceTime ).TotalSeconds > 3f ) |
|
Wanted to try and fix it myself using what you said, but that file doesn't seem to exist in my game, or my PC at all, not even as a hidden file. Manual and automated searches, validated files, etc. So...huh. Would this have anything to do with the bug? |
|
AIW2 is split between External code (whose source code is distributed with the game) and the core engine code which is distributed in binary-only form. The code I was calling out is in the engine code, so unfortunately you can't fix it for yourself. |
|
Ah, okay, thanks for that. |
|
Thanks! * The construction order voice responses are now controlled properly by the voice volume and mute controls. Just a couple of cases of PlaySoundAtCamera that should have been PlayVoiceAtCamera. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jul 1, 2018 7:22 am | RocketAssistedPuffin | New Issue | |
Jul 1, 2018 3:17 pm | BadgerBadger | Assigned To | => Chris_McElligottPark |
Jul 1, 2018 3:17 pm | BadgerBadger | Status | new => assigned |
Jul 1, 2018 11:59 pm | BadgerBadger | Note Added: 0047670 | |
Jul 2, 2018 6:51 am | RocketAssistedPuffin | Note Added: 0047672 | |
Jul 2, 2018 8:45 am | BadgerBadger | Note Added: 0047673 | |
Jul 2, 2018 12:07 pm | RocketAssistedPuffin | Note Added: 0047689 | |
Jul 19, 2018 10:30 am | Chris_McElligottPark | Status | assigned => resolved |
Jul 19, 2018 10:30 am | Chris_McElligottPark | Resolution | open => fixed |
Jul 19, 2018 10:30 am | Chris_McElligottPark | Note Added: 0047932 |