Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Left 4 Dead 2 > Custom Campaigns / Maps

Reply
 
Thread Tools Display Modes
Old 06-16-2012, 12:39 PM   #1
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
Music problem with map... again...

Okay... I had a thread about this before... and I know the answer to my problem was in it... but for some reason it had just disappeared... so here we go again...

Music problems my map... the saferoom music plays at the beginning despite everything is set up for the typical beginning music to play... and for some reason... all music stops in some areas while they work perfectly fine in others...

The nav is fully built and functional
The end saferoom is working fine
The nav for the beginning is marked CHECKPOINT, PLAYER_START, and EMPTY
The nav in the saferoom is marked CHECKPOINT and EMPTY
There is a working soundscape at the beginning
Start Music Type is set to "Mission Start"
Music Post-Fix String is set to "Mall"

The worst part is the previous version doesn't have this problem... the only differences between the two are new hint/skip and a couple added clip block to prevent a shortcut or two...
The_insane_3004 is offline  
Reply With Quote
Old 06-22-2012, 10:19 PM   #2
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
*looks at watch*
The_insane_3004 is offline   Reply With Quote
Old 06-23-2012, 12:51 AM   #3
shotgunefx
 
Join Date: Jan 2010
Reputation: 196
Posts: 2,630
Don't know that I can be any help but it might be helpful to leave the old threads around, it might be useful to others in the future and at least would have an idea of what's been tried/not tried in the past
shotgunefx is offline   Reply With Quote
Old 06-23-2012, 07:08 AM   #4
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
The old thread had the solution... and it just disappeared... I didn't delete it...

I am hoping whoever answered my question the first time will be generous enough to answer it again...
The_insane_3004 is offline   Reply With Quote
Old 06-23-2012, 02:30 PM   #5
shotgunefx
 
Join Date: Jan 2010
Reputation: 196
Posts: 2,630
Quote:
Originally Posted by The_insane_3004 View Post
The old thread had the solution... and it just disappeared... I didn't delete it...

I am hoping whoever answered my question the first time will be generous enough to answer it again...
Ah I see. There was one issue with mp3s instead of wav's right?, that I remember but pretty sure you're talking about a different issue. It's weird because I think I noticed it got deleted because I found it helpful and was going to say so but cannot remember for the life of me.

Was it to do with the nav or the mission? I could totally be making that up
shotgunefx is offline   Reply With Quote
Old 06-23-2012, 07:51 PM   #6
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
Quote:
Originally Posted by shotgunefx View Post
Ah I see. There was one issue with mp3s instead of wav's right?, that I remember but pretty sure you're talking about a different issue. It's weird because I think I noticed it got deleted because I found it helpful and was going to say so but cannot remember for the life of me.

Was it to do with the nav or the mission? I could totally be making that up
The mp3 and wav issue was for the main menu music problem... because I forgot the one that ended in _pc had to be in mp3 format

I do remember it was a multipurpose thread... and it was for the music not playing at all... and the zombies swarming me before leave... which is where all the nav talk came in... but I can't remember the solution to the music issue
The_insane_3004 is offline   Reply With Quote
Old 06-24-2012, 01:16 PM   #7
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
http://www.l4dmaps.com/details.php?file=17998

If you or anybody needs to see the actual map I am talking about... here it is...

If you need to see vmf. files... just tell me so...
The_insane_3004 is offline   Reply With Quote
Old 06-25-2012, 08:00 PM   #8
gshocks
 
 
 
Join Date: Oct 2009
Reputation: 37
Posts: 99
Ok i think i got it working. I think your sound.cache file was jacked..

I basically extracted your vpk and put it into a folder called flood center in addons.

From there i removed your sound.cache and started l4d2 ran "snd_buildsoundcachefordirectory ../left4dead2/addons/flood center

I let it build the cache file again. Then packed it back into a vpk started it up. Bam i hear your custom music for the intro. Nice music BTW!

Problem is you will at some point want to make a custom level sounds.txt file as your vpk might conflict with the official music for dead center's intro..

I don't know if this workes but test it out-

Filename: c1m1_hotel_d_insane_level_sounds.txt

Pack into your maps folder

Code:
"Event.MissionStart_FloodCenter"
{
	"channel"		"CHAN_STATIC"
	"volume"		"1.0"
	"soundlevel"	"SNDLVL_NONE"

	"rndwave"
	{
		"wave"			"@#music/stmusic/CUSTOMMUSICNAME.wav"
	}
	GameData
	{
		"MusicTrack"            "checkpoint"
		"MusicAutoQueue"        "Event.MissionStart_BaseLoop_FloodCenter"
		"MusicPriority"			"MEDIUM"
		"MusicParameters"		"AFTER_DEATH"
		"MusicMaster"           "PLAY_TO_END"	
		"MusicMasterTags"
		{
			"loopStart" "108.197"
		}
	}
}
"Event.MissionStart_BaseLoop_FloodCenter"
{
	"channel"		"CHAN_STATIC"
	"volume"		"0.7"
	"soundlevel"	"SNDLVL_NONE"

	"rndwave"
	{
		"wave"			"@#music/cpmusic/PrayForDeath.wav"
	}
	GameData
	{
		"MusicPriority"			"MEDIUM"
		"MusicTrack"            "checkpoint"
		"MusicTagTrack"         "checkpoint"
		"MusicFadeOut"         	"5.0"
	}
}
Rename your music and update the above coding then put into a text file.
After that change you map's music-post fix string to "FloodCenter"

Last edited by gshocks: 06-25-2012 at 08:09 PM.
gshocks is offline   Reply With Quote
Old 06-26-2012, 08:09 AM   #9
gshocks
 
 
 
Join Date: Oct 2009
Reputation: 37
Posts: 99
Credit goes to the IHateMountains team for this info.

This is a commented section of the file they used in ihatemountains with details how to mod it to your liking.

Hope it helps..

I would use this instead of the above as it has other sounds specified. I think mine above would screw over the random horde music causing it not to play..

https://dl.dropbox.com/u/52114437/l4...vel_sounds.txt
gshocks is offline   Reply With Quote
Old 09-04-2012, 05:56 PM   #10
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
I finally got around to making the level sounds file... and while the music seems to work... it still doesn't play the music... I am losing my mind over what the problem is...

Music of all kind (even some sounds) won't play... but they come back at the most random of times... no pattern to this either...

When I test out of the vpk... sometimes all the music works... but with no changes it stops working again within the vpk...


If I provide the new vpk and vmf file... can someone please look into this? I am running out of ideas as to how the I am supposed to get the damn music to play...
The_insane_3004 is offline   Reply With Quote
Old 09-04-2012, 06:06 PM   #11
gshocks
 
 
 
Join Date: Oct 2009
Reputation: 37
Posts: 99
I can take a look at if you want me to. Just send me a private msg if you want to i'll see what i can do.
gshocks is offline   Reply With Quote
Old 09-04-2012, 06:25 PM   #12
The_insane_3004
 
 
 
Join Date: Jan 2010
Reputation: 87
Posts: 829
Quote:
Originally Posted by gshocks View Post
I can take a look at if you want me to. Just send me a private msg if you want to i'll see what i can do.
Thank you in advance... it is currently being upload so I can send you a link... I can have that to you in a bit...
The_insane_3004 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Left 4 Dead 2 > Custom Campaigns / Maps


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 09:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.