AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   longjump stats [xj] - changing sounds (https://forums.alliedmods.net/showthread.php?t=76491)

mullekurden 08-25-2008 15:12

longjump stats [xj] - changing sounds
 
1 Attachment(s)
hello i wonder if some1 could change the sounds in this plugin from impressive, godlike and that to:
shmod/alig/boyakasha.wav
2. shmod/fpsdoug/takethatbitch.wav
3. misc/woohoo.wav

thank you :)

xPaw 08-25-2008 15:15

Re: longjump stats [xj] - changing sounds
 
first change in
PHP Code:

public plugin_precache() 

then search all
PHP Code:

client_cmd(i"speak misc/...."); 

without .wav

mullekurden 08-25-2008 15:31

Re: longjump stats [xj] - changing sounds
 
i tried to do that but it will not play anything. please do it some1 else and send me .sma and .amxx :)

mullekurden 08-26-2008 02:09

Re: longjump stats [xj] - changing sounds
 
what to do for this row?
PHP Code:

    if( sound == && gHasColorChat[i] )
                            
client_cmd(i"speak ^"vox/%s uniform(e30it south(e15)^""strdist); 


minimiller 08-26-2008 14:43

Re: longjump stats [xj] - changing sounds
 
1 Attachment(s)
Untested

mullekurden 08-28-2008 02:07

Re: longjump stats [xj] - changing sounds
 
1 Attachment(s)
still not working... here are the sounds.. please make an .amxx and test it, it wont work.


extract the files in sounds folder :)

mullekurden 08-28-2008 14:54

Re: longjump stats [xj] - changing sounds
 
only the "perfect" sound is working. but thats one of the standar sound i havent replaced. the other sounds that i want to be replaced will not work.

Exolent[jNr] 08-29-2008 15:45

Re: longjump stats [xj] - changing sounds
 
1 Attachment(s)
After all of the comments in the beginning, you can change the sounds of the plugin easily:

Code:
new g_sound_impressive[64] = "misc/impressive.wav"; new g_sound_perfect[64] = "misc/perfect.wav"; new g_sound_godlike[64] = "misc/mod_godlike.wav"; new g_sound_wickedsick[64] = "misc/mod_wickedsick.wav";

That's all you need to change.

mullekurden 08-29-2008 17:05

Re: longjump stats [xj] - changing sounds
 
it will still not work i changed to:
PHP Code:

new g_sound_impressive[64] = "shmod/fpsdoug/takethatbitch.wav";
new 
g_sound_perfect[64] = "shmod/alig/boyakasha.wav";
new 
g_sound_godlike[64] = "misc/woohoo.wav";
new 
g_sound_wickedsick[64] = "misc/mod_wickedsick.wav"

it will not even download the sounds...
if you change some stuffs and upload it again please change the airaccelerate to 999 or something. i always forget to change that in the .sma

Exolent[jNr] 08-29-2008 17:33

Re: longjump stats [xj] - changing sounds
 
Then there are 2 possibilities.
1. The sounds do not exist.
2. You do not have the name correctly matching with the actual files.


All times are GMT -4. The time now is 03:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.