How to stop 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: How to stop grunt music? (/thread-18591.html) Pages:
1
2
|
How to stop grunt music? - srobb - 10-02-2012 Hi. I have some ambient music playing and there's a grunt encounter a bit into the map and I don't want the grunt music to play. void sanityscript1(string &in asParent, string &in asChild, int alState) { SetPlayerSanity(35); PlayMusic("29_amb.ogg", true, 2, 2, 0, true); } void wakeuptextscript1(string &in asParent, string &in asChild, int alState) { SetMessage("Messages", "wakeuptext1", 5.5f); StopMusic(5, 0); } Thanks in advance. RE: How to stop grunt music? - craven7 - 10-02-2012 As far as I you, you can only gain access to enemie's music/sounds via modeleditor. Open modeleditor, open up the enemy.ent you want to edit, then something in the menubar (options, variables or something similar). There you can change all enemyrelevant variables, for example the music that's played when it appears. Don't forget to save as new file or you will overwrite the default enemy. RE: How to stop grunt music? - srobb - 10-02-2012 Didn't work, the music still plays. I removed all the sound/music files from the variables menu or whatever, saved it as a new model and replaced the old grunt model with the new grunt model. No luck. RE: How to stop grunt music? - craven7 - 10-02-2012 Hm, it should work, i just tried it and it did. You removed every sound and used the new entity in your map? RE: How to stop grunt music? - srobb - 10-02-2012 Yes, it still plays the music. RE: How to stop grunt music? - craven7 - 10-02-2012 You are talking about the grunt's music aren't you?^^ But sry, then I don't know. RE: How to stop grunt music? - Unearthlybrutal - 10-02-2012 Change in .ent file: <Var Name="DangerMusic" Value="[blank]" /> <Var Name="SearchMusic" Value="[blank]" /> <Var Name="AttackMusic" Value="[blank]" /> Rename your new .ent file for example "no_music_grunt" or something similar. [blank] = NO TEXT IN HERE RE: How to stop grunt music? - srobb - 10-03-2012 Still doesn't get rid of the music. Any ideas? RE: How to stop grunt music? - FlawlessHappiness - 10-03-2012 Play some other music before the grunt appears! It works for me. Just put the priority to 10. RE: How to stop grunt music? - srobb - 10-03-2012 No luck. PlayMusic("29_amb.ogg", true, 2, 2, 10, true); The grunt music still plays with the ambient music. |