=EMP=Avery13 Posted April 29, 2011 Share Posted April 29, 2011 I created a few new custom commands for my server. I put them in the shrubbot.cfg file and they pull up on the server. I also have a .pk3 for a few sounds specifically for them. I have it titled as commands.pk3 and it is located in my silent folder. The problem is that it will not use it in game and I don't even get an error for it when I am in game saying that there is no path. I must have something written wrong. Here is an example of one of them: [command]command = bangexec = playsound silent/commands/pulp.wav; cp Oh I'm sorry, did I break your concentration?desc = Plays pulp fiction soundlevels = 0 1 2 3 4 5 6 7 8 9 10 As you can see, the command is !bang. When done, the "Oh i'm sorry, did I break your concentration?" pops up like it is suppose to. The file i am trying to use in the commands.pk3 file is pulp.wav What is wrong here? Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted April 29, 2011 Management Share Posted April 29, 2011 Can you play the sound using: rcon playsound soundpath\filename.wav There can be 2 issues if above doesn't work correctly. 1. Incorrect wav file format.2. Path is wrong. Can you post your link to download soundpack ? I will test it on my test server. Quote Link to comment Share on other sites More sharing options...
=EMP=Avery13 Posted April 29, 2011 Author Share Posted April 29, 2011 I've messed with it a little bit. I now have a sound folder in my silent folder, and in that file there is another one that is named silent. then I have the .wav files in that folder. the path is now "silent/sound/silent/pulp.wav". I tried what you mentioned, nothing even pops up for it to be wrong. Should sound folder be in my general server folder and the path changed to "sound/silent/pulp.wav"? Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted April 29, 2011 Management Share Posted April 29, 2011 Try this in console: rcon playsound silent/sound/silent/pulp.wav If you can hear the sound, location is correct and then use this: [command] command = bang exec = playsound silent/sound/silent/pulp.wav; cp Oh I'm sorry, did I break your concentration? desc = Plays pulp fiction sound levels = 0 1 2 3 4 5 6 7 8 9 10 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 29, 2011 Management Share Posted April 29, 2011 Just something that could easily be wrong, start the path from the fs_game folder. What I mean is, only put those folders in the path that are used inside the pk3. I don't know is that the case here, but I got suspicious because you have the silent as the first folder in the path. Quote Link to comment Share on other sites More sharing options...
=EMP=Avery13 Posted April 29, 2011 Author Share Posted April 29, 2011 Try this in console: rcon playsound silent/sound/silent/pulp.wav If you can hear the sound, location is correct and then use this: [command] command = bang exec = playsound silent/sound/silent/pulp.wav; cp Oh I'm sorry, did I break your concentration? desc = Plays pulp fiction sound levels = 0 1 2 3 4 5 6 7 8 9 10I moved the sound folder to my main server folder where you can find the etmain and silent folders and everything. I tried the command you suggested without the first silent since that would be the soundpath.. didn't do anything. Man, why do I have to be such a NOOB when it comes to this?! lol Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted April 30, 2011 Management Share Posted April 30, 2011 Anywhere I can download your sound pk3? Quote Link to comment Share on other sites More sharing options...
=EMP=Avery13 Posted April 30, 2011 Author Share Posted April 30, 2011 commands.pk3 Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted April 30, 2011 Management Share Posted April 30, 2011 There isn't actually any folders inside the pk3, so the command should beplaysound pulp.wav And the file commands.pk3 belongs to the silent folder on the server. Quote Link to comment Share on other sites More sharing options...
=EMP=Avery13 Posted April 30, 2011 Author Share Posted April 30, 2011 Still nothing. I didn't think the folder paths had to be in the .pk3 file? Currently, we have the .wav files separately in their own sound file names silent. That folder is in the sound folder that is in the main server folder. Quote Link to comment Share on other sites More sharing options...
=EMP=Avery13 Posted April 30, 2011 Author Share Posted April 30, 2011 Nevermind. I got it working. Just had to put that .pk3 in the silent folder. Thanks guys! Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted April 30, 2011 Management Share Posted April 30, 2011 You are welcome Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.