Page 1 of 1

"Error, Can't Find Sound (insert sound here)"

Posted: Tue Apr 05, 2016 3:14 am
by CorinthMaxwell
Trying to add a few new sounds (experimenting with replacing sounds here & there) to Deus Ex, and I keep getting similar errors like the one below every time I attempt to compile a new DeusEx.u file.

Code: Select all

Compiling DeusExPlayer
C:\DeusEx\DeusEx\Classes\DeusExPlayer.uc(12731) : Error, Can't find Sound
 'LogSkillPoints'
Failed due to errors.

History: CompileError <- TryCompile <- FScriptCompiler::CompileScript <- (Class
DeusEx.DeusExPlayer, Pass 1, Line 12731) <- CompileScripts <- CompileScripts <-
CompileScripts <- CompileScripts <- CompileScripts <- CompileScripts <- DoScript
s <- UEditorEngine::MakeScripts <- UMakeCommandlet::Main

Exiting due to error

C:\DeusEx\System>
Kind of stumped with this one. I know I'm doing something wrong, I just can't figure out what it is. The sound files are all where they're supposed to be in their proper folders, so that can't be it, either. :/

Re: "Error, Can't Find Sound (insert sound here)"

Posted: Tue Apr 05, 2016 9:26 am
by DevAnj
Providing the DeusExPlayer file could help. I checked the original's code, and that sound file is referenced through some function in DeusExRootWindow, so try checking that too.

Re: "Error, Can't Find Sound (insert sound here)"

Posted: Tue Apr 05, 2016 11:05 pm
by Cybernetic pig
Most likely is your editPackages=DeusExSounds is not being referenced before DeusEx.u. If you're trying to also recompile DeusExSounds, well, you can't. A new package is needed, and it must be listed before DeusEx.u in the editPackages list. DeusEx.u should always be last, only way anything can go after is if DeusEx.u does not reference anything from the package.