Page 1 of 1

Songs

PostPosted: Sat Mar 12, 2011 7:31 pm
by DCLDB3
This is my first time trying to create a server and I have set up almost everything except the songs for the server. I have tried searching on google and on the forums here but still haven't found what I'm looking for. I want to have a song play when players join the server, multi-level, knife fight, and when they the game. I figured out how to play a song when the player wins but couldn't find anything for the other three. For the intro all I could find is how to add a song to the MOTD, but the problem for me is that I don't have a MOTD and I don't have a website to link the song. Is there a way that I can add a song to my server control panel and have players download it from there? Any help that I can get is much appreciated. :)

PostPosted: Sat Mar 12, 2011 11:51 pm
by wtfaatp
If your using Gungame (Which I assume your are) Then follow this path.

.../cstrike/cfg/gungame51/gg_en_config.cfg


in this file look for this line (Should be line number 190)
gg_soundpack "default"



keep that as default.

Now go to

.../cstrike/cfg/gungame51/sound_packs/default.ini


Make sure for default sounds your file looks like this.

title = "Default"
levelup = "gungame/default/smb3_powerup.mp3"
leveldown = "gungame/default/smb3_powerdown.mp3"
levelsteal = "gungame/default/smb3_1-up.mp3"
nadelevel = "gungame/default/nade_level.mp3"
knifelevel = "gungame/default/knife_level.mp3"
multilevel = "gungame/default/smb_star.mp3"
welcome = "gungame/default/gg5_welcome.mp3"
handicap = "gungame/default/gg_handicap.mp3"
multikill = "common/stuck1.wav"
countDownBeep = "hl1/fvox/beep.wav"
winner = "winner_sounds.txt"
friendlyfire = "npc/roller/mine/rmine_tossed1.wav"
nadebonuslevel = "common/stuck2.wav"
notify = "common/warning.wav"


Also make sure that you have all sounds on the server and if you have FastDl they are being redirected there....

PostPosted: Sun Mar 20, 2011 3:17 am
by DCLDB3
Thanks it worked perfectly. I have 2 more questions though. Is there a way to play random songs for multilevel instead of the same song everytime? And, I'm having touble getting the songs to play for winner. I read the instructions and did it exactly the way the file tells me to add songs but, for some reason the songs download but it doesn't play. Do you know what the problem might be? I have been trying to find ways to fix these problem on google but can't find anything. Thanks for all the help.

PostPosted: Sun Mar 20, 2011 3:45 am
by satoon101
Change the multilevel value in your sound pack to a .txt file. Then, place a file by that name in your ../cfg/gungame51/sound_packs/random_sound_files/ folder. Inside that file, list all the sounds to be chosen at random for that event. As an example, look at the default value of winner and the file it is set to in the random_sound_files folder.

Satoon

PostPosted: Mon Mar 21, 2011 2:00 am
by DCLDB3
Thanks for the help. I found out why the songs wouldn't play. I added ../cstrike/sound/ in front.

Re: Songs

PostPosted: Tue Mar 29, 2011 5:38 am
by Warbucks
notify = "common/warning.wav"

This sound file doesn't exist in the base CSS install. May want to update the default GG5.1 install and switch this to something else.

PostPosted: Tue Mar 29, 2011 6:21 am
by satoon101
Seems it is in "resource/warning.wav" now. Good catch Warbucks. I have fixed that and will commit it when I get the chance.

Thanks,
Satoon

PostPosted: Mon Apr 04, 2011 6:49 am
by satoon101
Actually, I just tested and "resource/warning.wav" is a completely different sound than "common/warning.wav". I'm fairly certain that "common" is still what we want this sound to be, and it works fine. It might not be a part of the CS:S install, but it is a "common" sound from the "source_sounds.gcf", which I believe you download even if you only have CS:S. So, all of the default sound files are still working 100% perfectly fine, and no change is needed.

Satoon