View Issue Details

IDProjectCategoryLast Update
0019671AI War 2Bug - AudioJul 19, 2018 10:30 am
ReporterRocketAssistedPuffin Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.746 Disposing of the Invisible Man 
Summary0019671: Disabling voice and having voice volume at 0 still has construction lines playing.
DescriptionAs 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).
TagsNo tags attached.

Activities

BadgerBadger

Jul 1, 2018 11:59 pm

manager   ~0047670

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 )

RocketAssistedPuffin

Jul 2, 2018 6:51 am

reporter   ~0047672

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?

BadgerBadger

Jul 2, 2018 8:45 am

manager   ~0047673

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.

RocketAssistedPuffin

Jul 2, 2018 12:07 pm

reporter   ~0047689

Ah, okay, thanks for that.

Chris_McElligottPark

Jul 19, 2018 10:30 am

administrator   ~0047932

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.

Issue History

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