It's been a long time since I looked at it, but isn't the L4D1 music just set up with differently named soundscripts, with something like _l4d1 at the end? In that case overriding those instead should work.

Kev Edwards skrev 2014-06-28 17:17:
FYI this issue turned out to be due to survivor_set being set to 1 in my missions txt file. Setting survivor_set to 2 resulted in all my campaign's custom music now working ok.

Evidently using the L4D1 survivors in L4D2 means that some music events are hard-coded to use the L4D1 music for those music events, regardless of what is set in the _level_sounds.txt files. :(

-----Original Message----- From: Kev Edwards
Sent: Sunday, June 22, 2014 4:56 PM
To: Left 4 Dead Modder List
Subject: [L4Dmapper] Custom music problem

Hey guys

In L4D2 I'm trying to setup custom music for Event.SafeRoom and
Event.ScenarioWin but for whatever reason the game plays the L4D1 music for
both of those events.

I'm pretty sure both Events are setup correctly in my _level_sounds.txt
files (copy and pasted below) because if I type "playgamesound
Event.SafeRoom" or "playgamesound Event.ScenarioWin" into the console then
game does correctly play the custom music I've setup for these Events.

"Event.ScenarioWin"
{
   "channel"        "CHAN_STATIC"
   "volume"        "1.0"
   "soundlevel"    "SNDLVL_NONE"
   "wave"            "@#149_music/unalive/TheMonstersWithin.wav"

   GameData
   {
       "MusicTrack"            "default"
       "MusicMaster"           "PLAY_TO_END | DONT_DISENGAGE"
       "MusicPriority"            "CRITICAL"
       "MusicParameters"        "AFTER_DEATH | AFTER_MISSION_END"
   }
}

"Event.SafeRoom"
{
   "channel"        "CHAN_STATIC"
   "volume"        "0.85"
   "soundlevel"    "SNDLVL_NONE"
   "wave"            "@#149_music/safe/themonsterswithout.wav"

   GameData
   {
       "MusicTrack"            "default"
       "MusicMaster"           "PLAY_TO_END | DONT_DISENGAGE"
       "MusicPriority"            "CRITICAL"
       "MusicParameters"        "AFTER_DEATH | AFTER_MISSION_END"
   }
}

Additionally, I've also setup custom music for mission and checkpoint starts
which all works fine, so I'm sure my music post-fix string is setup ok.

Any ideas what the issue might be with the game playing the default L4D1
music my Event.SafeRoom and Event.ScenarioWin?

Thanks
Kev


_______________________________________________
L4Dmapper mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper

_______________________________________________
L4Dmapper mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper


_______________________________________________
L4Dmapper mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/l4dmapper

Reply via email to