English how to add background music to your server?

4 replies
Goto Page
To the start Previous 1 Next To the start
Up
johnnyl111
User
Offline Off
How do you add background music to your server?
please explain
23.09.10 12:52:54 pm
Up
DC
Admin
Offline Off
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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
23.09.10 04:31:20 pm
Up
VegBerg
User
Offline Off
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)
23.09.10 05:54:46 pm
Up
Ultr4killer
BANNED
Offline Off
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
IMG:http://b.imagehost.org/0186/images.jpg
24.09.10 01:54:24 am
Up
TEHUBERNUGGET
User
Offline Off
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
-- Nugget was here
To the start Previous 1 Next To the start