Frictional Games Forum (read-only)
Stopping grunt music - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Stopping grunt music (/thread-13964.html)



Stopping grunt music - kalishijaka - 03-13-2012

You know the music that plays when you first see/hear a grunt? I would like to know if there's any way to stop that music from playing.



RE: Stopping grunt music - Mackiiboy - 03-13-2012

(03-13-2012, 08:45 AM)kalishijaka Wrote: You know the music that plays when you first see/hear a grunt? I would like to know if there's any way to stop that music from playing.
.

You can play music with a higher priority, an example:

PlayMusic("Your_Music_File_Name.ogg", true, 1.0f, 0.0f, 1000, true);

Then you'll not hear the monster-music at all. The green text sets the priority, 0= lowest, >0 => higher priority.

Another method would be creating a copy of the grunt in model editor and make a new monster that does not play any music at all (or that music you do not want to hear).





RE: Stopping grunt music - kalishijaka - 03-13-2012

Alright thanks.