Forum

> > CS2D > General > Does anyone know how to add custom music?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Does anyone know how to add custom music?

5 replies
To the start Previous 1 Next To the start

old Does anyone know how to add custom music?

OCsonic
User Off Offline

Quote
I'm trying to make a recreation of Nacht Der Untoten from cod zombies, it has multiple easter eggs for both survivors and zombies to activate to give them an advantage, I also want to add in easter eggs that simply play a song though, and because I'm both new to the mapping scene for cs2d and I want to make my map server friendly so that when the map is completed I can host a public server on it I'm not sure how to import sounds, (I already know how to convert/cut the audio files.)

old Re: Does anyone know how to add custom music?

OCsonic
User Off Offline

Quote
i made sure that the only custom files for the server were the map and the music, i just need to know how to make custom folders with audio in the sound menu like what some servers do how they have small audio cues in the server that it adds to the sound list, idk how people add those tho

Edit: does just adding it to the sfx folder then setting it to get played ingame by an audio cue work? as in if i host a server with it set up like that will it be able to download the audio to the clients?

old Re: Does anyone know how to add custom music?

Bowlinghead
User Off Offline

Quote
You need to add all your file into the servertransfer list. Then all users with the correct download filter will download it (therefore not all of them).
Therefore there is no reason to split a 3min mp3 into smaller parts unless you want to reuse the smaller parts somewhere else.
Then you could create a script that loops through each sound creating one large sound.


I dont know what you mean with import sounds. Or what you mean by that:
Quote
i made sure that the only custom files for the server were the map and the music, i just need to know how to make custom folders with audio in the sound menu like what some servers do how they have small audio cues in the server that it adds to the sound list, idk how people add those tho

old Re: Does anyone know how to add custom music?

crazy junkman Wolfgang
User Off Offline

Quote
If you wanna trigger any sound, you need to connect it to entity, for example trigger move, use, or walk entities.

Now it would be best to convert it to ogg. type of file first because they dont take much space and quality is preserved then through cs2d map editor menu you add them ( env_sound ).
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview