We Make The Game


 
AcasaPortalInregistrareConectare

Distribuiți | 
 

 Sank-Sounds instalare

Vezi subiectul anterior Vezi subiectul urmator In jos 
AutorMesaj
SpYwaRe
Membru
Membru
avatar

masculin
Numarul mesajelor : 175
Varsta : 23
Respectarea Regulilor :
Data de inscriere : 19/01/2008

HiS DaTa :D ......
:) Lets Play: ff

MesajSubiect: Sank-Sounds instalare   Sam Apr 26, 2008 8:20 pm

Downloadam Sank Sound :

- Pentru AmxModX de aici : http://forums.alliedmods.net/showthread.php?p=48677

- Pentru AdminMod de aici : http://www.adminmod.org/index.php?go=ascript/plugin-all#3698079548

AmxModX :

-
Sank_sounds.amxx il pui in amxmodx/plugins, dupa aceea intri in
amxmodx/configs/plugins.ini si te duci jos de tot si scri urmatoare
linie :
sank_sounds.amxx


- Fisierul SND-LIST in care pui sunetele, il pui in amxmodx/configs :
love.wav;misc/gtg.wav
SND_DELAY; 0.0
SND_SPLIT; 0
EXACT_MATCH; 1
ADMINS_ONLY; 0
DISPLAY_KEYWORDS; 1
# Word/Wav combinations:
woohoo; misc/woohoo.wav;misc/woohoo2.wav
crap; misc/awwcrap.wav;misc/awwcrap2.wav;misc/awwman.wav
ha ha; misc/haha.wav
doh;
misc/doh.wav;misc/doh2.wav;misc/doh3.wav;misc/doh4.wav;misc/doh5.wav;misc/doh7.wav;misc
/dohoo.wav;misc/dohnuts.wav
bud; misc/bud.wav;misc/weis.wav;misc/er.wav
ouch; misc/ow.wav
we're doomed; misc/doomed.wav
run mr. taliban; misc/taliban.wav
osama bin laden; misc/taliban.wav
airforce is coming; misc/taliban.wav
aol; misc/aol.wav
schoki; misc/schoki.wav
idiot; misc/idiot.wav
gg; misc/gg.wav
ghost; misc/ghost.wav
tampit; misc/tampit.wav
buzna; misc/buzna.wav
do it; misc/doit.wav
feel; misc/feelgood.wav
berea; misc/berea.wav
alo; misc/alo.wav
aleluia; misc/alleluja.wav
brb; misc/beback.wav
mosule; misc/moshule.wav
worms; misc/worms.wav
la revedere; misc/revedere.wav
lol; misc/lol.wav;misc/lol2.wav;misc/lol3.wav
nana; misc/nana.wav
shut up; misc/shutup.wav
stfu; misc/stfu.wav
piss; piss/pissing.wav
curci; misc/curci.wav
destept; misc/destept.wav
gtg; misc/gtg.wav
plant it; "plant it";
target; "target destroyed"


-
Ca sa adaugi un sunet folosesti comanda amx_sound_add
jokero;misc/jokero sau intri in SNDLIST si adaugi sunete cum sunt
adaugate mai sus :
jokero; misc/jokero.wav


- Sunetele le pui in sounds/misc , cred ca asta stii
- Asta e tot, dai un restart sa server si ar trebui sa mearga

Admin Mod :
- plugin_sank_sounds.sma il pui addons/adminmod/scripting/examples/ si pe urma executi :
compile_all.batch


-
Pe urma intri in addons/adminmod/scripting/binaries si ai sa gasesti un
fisier numit plugin_sank_sounds.amx pe care il iei si-l pui in
addons/scripts pe urma intri in addons/adminmod/config/plugins.ini si
treci linia :
addons/adminmod/scripts/plugin_sank_sounds.amx


- Fisierul SND-LIST in care pui sunetele, il pui in addons/adminmod/config/ :
# TimeStamp: 00:58 November 13, 2002
# File created by: Sank
# Important parameters:
SND_MAX; 20
SND_WARN; 17
SND_JOIN;
SND_EXIT; misc\comeagain.wav
SND_PUNISH; admin_slap
SND_DELAY; 0
SND_SPLIT; 0
EXACT_MATCH; 1
# Word/Wav combinations:
# The '@' symbol signifies an admin-only sound
woohoo; misc\woohoo.wav;misc\woohoo2.wav
crap; misc\awwcrap.wav;misc\awwcrap2.wav;misc\awwman.wav
ha ha; misc\haha.wav
doh;
misc\doh.wav;misc\doh2.wav;misc\doh3.wav;misc\doh4.wav;misc\doh5.wav;misc\doh7.w
av;@misc\dohoo.wav;@misc\dohnuts.wav
bud; misc\bud.wav;misc\weis.wav;misc\er.wav
ouch; misc\ow.wav
@we're doomed; misc\doomed.wav
plant it; "plant it";
target; "target destroyed"


- Ca sa adaugi un sunet folosesti comanda admin_sound_add haha;misc\haha.wav
- Sau poti sa intri in snd-list si treci linia :
haha ;misc\haha.wav


- Sunetele din acea arhiva le pui in sound\misc si daca mai vrei si alte sunete dule in sound\misc si fa in rest ca mai sus .
- Si ca sa fii sigur ca merge dai un restart la server ;)
- Pentru melodiile format MP3, Folositi pluginul :
#include
#include
#include

public plugin_init()
{
**register_plugin("RoundSound","1.0","PaintLancer")
**register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")
**register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin")**
}

public t_win()
{
**new rand = random_num(0,2)

**client_cmd(0,"mp3 stop")

**switch(rand)
**{
****case 0: client_cmd(0,"mp3 play sound/rsc002/rsc_t_win_1")
****case 1: client_cmd(0,"mp3 play sound/rsc002/rsc_t_win_2")
****case 2: client_cmd(0,"mp3 play sound/rsc002/rsc_t_win_3")
**}

**return PLUGIN_CONTINUE
}

public ct_win()
{
**new rand = random_num(0,2)

**client_cmd(0,"mp3 stop")

**switch(rand)
**{
****case 0: client_cmd(0,"mp3 play sound/rsc002/rsc_ct_win_1")
****case 1: client_cmd(0,"mp3 play sound/rsc002/rsc_ct_win_2")
****case 2: client_cmd(0,"mp3 play sound/rsc002/rsc_ct_win_3")
**}

**return PLUGIN_CONTINUE
}

public plugin_precache()
{
**precache_sound("rsc002/rsc_t_win_1.mp3")
**precache_sound("rsc002/rsc_t_win_2.mp3")
**precache_sound("rsc002/rsc_t_win_3.mp3")
**precache_sound("rsc002/rsc_ct_win_1.mp3")
**precache_sound("rsc002/rsc_ct_win_2.mp3")
**precache_sound("rsc002/rsc_ct_win_3.mp3")

**return PLUGIN_CONTINUE
}

Asta-i TOT !

_________________
-=-= I am The Best Player =-=-=-
Sus In jos
Vezi profilul utilizatorului http://wmtg.forumz.ro
 
Sank-Sounds instalare
Vezi subiectul anterior Vezi subiectul urmator Sus 
Pagina 1 din 1

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
We Make The Game :: Tutoriale :: Tutoriale Counter-Strike-
Mergi direct la: