Forum

> > CS2D > General > how to add background music to your server?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English how to add background music to your server?

4 replies
To the start Previous 1 Next To the start

old Re: how to add background music to your server?

DC
Admin Off Offline

Quote
first of all: you shouldn't do that because it SUCKS!

add the music file to sys/servertransfer.lst (most people will not be able to load it unless it's 500 kb or smaller!)

use a Lua script to play it. you have to execute cs2d cmd sv_sound with the Lua parse command.

looping the sound is not really possible (you could use a timer but this wouldn't be very precise)


alternative (and easier) solution: use the sound entity on your map.

old Re: how to add background music to your server?

VegBerg
User Off Offline

Quote
I agree with DC. You may have some Lua script for vote disable the music if you're like I F*CKING NEED TO HAVE MUSIC....

Also, If you choose to have music... I will recommend you to not have Any Heavy Metal (etc. unless I play with you), rap or You'll understand it...
I'd choose to have some Trance on it...
An example is ParagonX9 - Chaoz Fantasy

Also, to convert it to .ogg, use http://www.oggtomp3converter.com/ (freeware)

old Re: how to add background music to your server?

Ultr4killer
BANNED Off Offline

Quote
VegBerg has written
I agree with DC. You may have some Lua script for vote disable the music if you're like I F*CKING NEED TO HAVE MUSIC....

Also, If you choose to have music... I will recommend you to not have Any Heavy Metal (etc. unless I play with you), rap or You'll understand it...
I'd choose to have some Trance on it...
An example is ParagonX9 - Chaoz Fantasy

Also, to convert it to .ogg, use http://www.oggtomp3converter.com/ (freeware)



HEY man i made chaos fantasy remix. It is 7.50 minutes long. I like listening it.


Hey Johny. just ad it to your map and put name. If you wont turn on type in console trigger <trigger name> and if you wont turn on do same. Easy as hell

old How 2 add music

TEHUBERNUGGET
User Off Offline

Quote
In the top right create a sound and in the file of it just find whatever sound file you want to play. Next check the loop and to player everywhere. You can set to only trigger if you want to. Next if you want the music to be toggle-able (by admins in a admin base of some sort), make sure its by trigger only and set the name to something. Next make a use somewhere and make the use trigger the sound. If you want the sound to start at server startup, make a start and make the start trigger the sound file.... I think o__O
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview