Songs

Ask questions and share info about GunGame 5

Songs

Postby DCLDB3 » Sat Mar 12, 2011 7:31 pm

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. :)
DCLDB3

Private
Private
 
Posts: 5
Joined: Fri Feb 25, 2011 3:37 am

Postby wtfaatp » Sat Mar 12, 2011 11:51 pm

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....
wtfaatp

Private
Private
 
Posts: 80
Joined: Fri Mar 04, 2011 4:21 pm
Steam Friends Name: Darkangel2022000

Postby DCLDB3 » Sun Mar 20, 2011 3:17 am

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.
DCLDB3

Private
Private
 
Posts: 5
Joined: Fri Feb 25, 2011 3:37 am

Postby satoon101 » Sun Mar 20, 2011 3:45 am

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
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Postby DCLDB3 » Mon Mar 21, 2011 2:00 am

Thanks for the help. I found out why the songs wouldn't play. I added ../cstrike/sound/ in front.
DCLDB3

Private
Private
 
Posts: 5
Joined: Fri Feb 25, 2011 3:37 am

Re: Songs

Postby Warbucks » Tue Mar 29, 2011 5:38 am

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.
Warbucks

Beta Tester
Beta Tester
 
Posts: 33
Joined: Wed Sep 10, 2008 5:11 pm
Steam Friends Name: Warbucks81
Xfire Name: Warbucks81

Postby satoon101 » Tue Mar 29, 2011 6:21 am

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
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Postby satoon101 » Mon Apr 04, 2011 6:49 am

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
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests