need helps


(macbeth) #1

i have a PK3 with somes .wav in it and i am trying to have them working
like for the others so for this one if i add the zz_commands.pk3 in the etnoquarter server folder
i dunno what can have to be the path

thanks you guys

[command]
command = Hi
exec = cp [n] ^1S^7ays ^1H^7ello ^1T^7o ^1E^7veryone^1!!! ; playsound sound/chat/axis/54b.wav
desc = Say Hello to everyone
levels = 0 1 2 3 4 5 6 7 8 9

[command]
command = goodbye
exec = cp [n] ^1S^7ays ^1will see you all later ^7thanks for the game ; playsound sound/custom/say_goodbye.wav
desc = Goodbye
levels = 0 1 2 3 4 5 6 7 8 9

[command]
command = holy****
exec = playsound sound/spree/holy****.wav; cp ^4|^1!!!HOLY ****!!!^4|
desc = Plays HOLY ****! sound
levels = 2 3 4 5 6 7 8 9


(ailmanki) #2

inside the archive of zz_commands.pk3 is a folder structure, this one gets merged with the virtual filesystem et creates. So if your custom sounds are in sounds/macbeth/
then that is the path you have to use…
playsound sound/macbeth/sonic.wav

if you are unsure you can use /rcon fdir macbeth.wav
and search for the files…


(macbeth) #3

[QUOTE=ailmanki;242056]inside the archive of zz_commands.pk3 is a folder structure, this one gets merged with the virtual filesystem et creates. So if your custom sounds are in sounds/macbeth/
then that is the path you have to use…
playsound sound/macbeth/sonic.wav

if you are unsure you can use /rcon fdir macbeth.wav
and search for the files…[/QUOTE]

i have that
zz_commands.pk3\sound\custom

so will have to add in the shrubbot.cfg ?

playsound/sound/custom/sonic.wav

so

[command]
command = sonic
exec = playsound/sound/custom/sonic.wav; cp ^4|^1sonic|
desc = Plays sonic! sound
levels = 2 3 4 5 6 7 8 9


(ailmanki) #4

[QUOTE=macbeth;242068]i have that
zz_commands.pk3\sound\custom

so will have to add in the shrubbot.cfg ?

playsound/sound/custom/sonic.wav

so

[command]
command = sonic
exec = playsound/sound/custom/sonic.wav; cp ^4|^1sonic|
desc = Plays sonic! sound
levels = 2 3 4 5 6 7 8 9[/QUOTE]

playsound sound/custom/sonic.wav

like that :slight_smile: and yes… dunno why you replaced the space " " by a slash “/” :stroggtapir:


(macbeth) #5

[QUOTE=ailmanki;242080]playsound sound/custom/sonic.wav

like that :slight_smile: and yes… dunno why you replaced the space " " by a slash “/” :stroggtapir:[/QUOTE]

ty a lot
i installed them on our test nq server and it works perfectly