I'm Sorry Ms. Jackson, I am for reaaaaal

Yeah one right here goes out to all the baby’s mamas, mamas, mamas mamas, baby mamas mamas…

Yeah, go like :

At the end of the includes in Engine\Source\Programs\CrashReporter\CrashReportClient\Private\CrashReportClientApp.cpp add the following:


#include "AllowWindowsPlatformTypes.h"
#include "windows.h"
#include "mmsystem.h"
#include "HideWindowsPlatformTypes.h"

Then in the same file in RunCrashReportClient(…) before the main loop add line. I added mine on line 166 after the call to AddWindow.


PlaySound(TEXT("sorrymsjackson.wav"), NULL, SND_FILENAME | SND_ASYNC);

Build CrashReportClient.

Then put in your Engine\Binaries\Win64 and Engine\Binaries\Win32 directories.

You could plan a pretty picnic but you can’t predict the weather, Ms. Jackson. At least now when the weather crashes, UE4 will say its sorry.

Additionally, if you pop file here into Engine\Source…

…and you add the following code to Engine\Source\Programs\UnrealBuildTool\ToolChain\UEToolChain.cs PostBuildSync() (line 155 for me)


public virtual void PostBuildSync(UEBuildTarget Target)
{
        System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"sofreshsoclean.wav");
        player.Play();
        System.Threading.Thread.Sleep(5800);
}

Every time you build UE4, you’ll be so fresh and so clean.

Oh my… hahahaha. I actually love .

Lol Allar… another fine contribution to the engine! :stuck_out_tongue:

But… you can also go to Control Panel -> Sound -> Click the Sounds tab -> scroll down to Microsoft Visual Studio section and set any sound you want. There’s an option for Breakpoint Hit, Build Canceled, Build Failed, and Build Succeeded.

The mod for the crash reporter is awesome, full marks for that one! But you can be so fresh & so clean no matter what project you are building. :smiley:

Hahaha nice one Allar! Lets see what Rama has to say about . :wink:

You could… or you can hard code it into the engine because you can.

Hee heee!

:slight_smile:

Rama

Oh yes, Ms. Jackson!

Hahaha is great!

I may replace these with soundbytes from Hal9000 and see if anyone in the office notices…

Beta version of Valve Hammer Editor used to say “Stop… Hammer time!” when first launched.

is just genius! Thanks Allar :smiley: