Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Announcer voices don't work (fix inside) #20

@ashley-dv

Description

@ashley-dv

Announcer voices do not work on a fresh install of the game. This requires assembly editing and may in the future be added to UberStrok.Patcher.

How to fix it:
Open Assembly-CSharp.dll using dnSpy.

Insert this function into SfxManager.cs (anywhere inside the class should be fine):
https://hastebin.com/awedemeban.cpp

Find the Play2dAudioClip function. This takes inputs audioClip, delay, volume, and pitch.

Replace all code under if (delay > 0UL) with the following:
base.StartCoroutine(this.CoPlayDelayedClip(audioClip, delay / 1000f));

Test it ingame. You should now hear the beautiful booming voice of the announcer to commentate your epic gamer moments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions