Tutorial pentru bomba
in addons/statsme/scripts intram in fisierul bombc:
Cam asa ar trebuii sa arate:
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// StatsMe 2.8.3 Config Pack [16 June, 2004]
// ---------------------------------------------------------------------------
// This file is part of StatsMe (See README for more information).
// Copyright 2002 - 2004 UnitedAdmins (
www.unitedadmins.com) // Project originally created by OLO (http://olo.counter-strike.pl)
// ---------------------------------------------------------------------------
// Please read the manual and the forums carefully before altering this file!
// The Manual is located at
http://docs.unitedadmins.com/statsme/ // The Forum can be found at
http://forums.unitedadmins.com/ // ---------------------------------------------------------------------------
// Bomb Events
sm_mode set gjfkpr
alias set_bm "sm_sayformat 200 100 0 -1 0.30 0 6 6 0.5 1.5 1" //Bomb event
sm_menu "Count. to explosion\\y\\R{sm_mode&g?ON:OFF}" "sm_mode {sm_mode&g?remove:set} g"
sm_menu "Bomb Pl. announce\\y\\R{sm_mode&f?ON:OFF}" "sm_mode {sm_mode&f?remove:set} f"
sm_menu "Bomb Def. Success\\y\\R{sm_mode&j?ON:OFF}" "sm_mode {sm_mode&j?remove:set} j"
sm_menu "Bomb Def. Failure\\y\\R{sm_mode&k?ON:OFF}" "sm_mode {sm_mode&k?remove:set} k"
sm_menu "Bomb Pick. announce\\y\\R{sm_mode&p?ON:OFF}" "sm_mode {sm_mode&p?remove:set} p"
sm_menu "Bomb Drop. announce\\y\\R{sm_mode&r?ON:OFF}" "sm_mode {sm_mode&r?remove:set} r"
// bomb planter and defuser
sm_reg "StatusIcon kfjpr" "{%.bpln={p.name}}" bdeg "1=1" "1=2" "2=c4"
sm_reg "BarTime gkj" "{%.btm={p.id}}{%.bpln={p.name}}" bdeg "1=10" "1=5"
sm_reg "BarTime g" "{%.btm=0}" bdeg "1=0"
// Count down to the bomb explosion
sm_reg "SM_C4Timer g" "sm_clexec * \'spk \\'vox/thirty seconds until explosion\\'\'" ade "1=30"
sm_reg "SM_C4Timer g" "sm_clexec * \'spk \\'vox/twenty seconds until explosion\\'\'" ade "1=20"
sm_reg "SM_C4Timer g" "sm_clexec * \'spk vox/{W.{V1}}\'" ade "1<11"
// Count down also for defuser
sm_reg "SM_C4Timer g" "{%.bpln?{%.btm=0?#}:#}sm_tell #{p{%.btm}.uid} {V1} 4" adeg
sm_reg "SendAudio f" "set_bm;sm_tell * \'{%.bpln} a plantat BOMBA!!!\';sm_clexec * \'spk misc/bomba\'" ade "2=%!MRAD_BOMBPL"
sm_reg "SendAudio kfj" "{%.bpln=0}" ade "2=%!MRAD_BOMBPL"
sm_reg "TextMsg k" "{%.bpln?:#}set_bm;sm_tell * \'{%.bpln} nu a reusit sa dezamorseze BOMBA (ia defuze data viitoare)...\'{%.bpln=0}" ae "2=#Target_B"
sm_reg "SendAudio j" "set_bm;sm_tell * \'{%.bpln} a dezamorsat BOMBA!\'{%.bpln=0}" ade "2=%!MRAD_BOMBDEF"
sm_reg "TextMsg p" "set_bm;sm_tell * \'{p.name} a ridicat BOMBA !!!\'" bce "2=#Got_bomb"
sm_reg "TextMsg r" "set_bm;sm_tell * \'{%.bpln} a scapat BOMBA (ce n00b)!!!\'" bce "2=#Game_bomb_d"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Cum il editam?Foarte simplu.....
sm_reg "SendAudio f" "set_bm;sm_tell * \'{%.bpln} a plantat BOMBA!!!\';sm_clexec * \'spk misc/bomba\'" ade "2=%!MRAD_BOMBPL"
-aceasta comanda arata cand a pus cineva bomba "nume a plantat BOMBA !!!" cu suntetul "bomba" din folderul cstrike/sounds/misc
*pentru a-l modifica...."\'{%.bpln} a plantat BOMBA!!!\"<<
>>>daca nu exista fisa.....creat-o....si in addons/statsme in fisa "statsme"
Aicia unde sunt si celelalte
// Load statsme scripts
// Don't comment these lines to disable scripts, use statsme_menu instead
exec addons/statsme/scripts/avlist.cfg
exec addons/statsme/scripts/bombc.cfg
exec addons/statsme/scripts/endround.cfg
exec addons/statsme/scripts/firstblood.cfg
exec addons/statsme/scripts/gresuc.cfg
exec addons/statsme/scripts/headshot.cfg
exec addons/statsme/scripts/kill.cfg
exec addons/statsme/scripts/knifekill.cfg
exec addons/statsme/scripts/lastman.cfg
exec addons/statsme/scripts/playername.cfg
exec addons/statsme/scripts/roundcount.cfg
exec addons/statsme/scripts/specinfo.cfg
exec addons/statsme/scriptpacks/adminpack/admin.cfg
exec addons/statsme/scriptpacks/adminpack/afk.cfg
exec addons/statsme/scriptpacks/adminpack/hpingkick.cfg
//exec addons/statsme/scriptpacks/adminpack/redirect.cfg
exec addons/statsme/scriptpacks/hostage/hospen.cfg
exec addons/statsme/scriptpacks/hostage/hossi.cfg
//exec addons/statsme/scriptpacks/mappack/italy.cfg
exec addons/statsme/scriptpacks/mappack/mapcycle.cfg
exec addons/statsme/scriptpacks/mappack/nextmap.cfg
exec addons/statsme/scriptpacks/miscpack/autorr.cfg
//exec addons/statsme/scriptpacks/miscpack/awplimit.cfg
exec addons/statsme/scriptpacks/miscpack/damage.cfg
exec addons/statsme/scriptpacks/miscpack/greet.cfg
//exec addons/statsme/scriptpacks/miscpack/snapshot.cfg
exec addons/statsme/scriptpacks/miscpack/timeinfo.cfg
//exec addons/statsme/scriptpacks/miscpack/tmlf.cfg
//exec addons/statsme/scriptpacks/miscpack/vip.cfg
exec addons/statsme/scriptpacks/mkpack/killingspree.cfg
exec addons/statsme/scriptpacks/mkpack/multikill.cfg
exec addons/statsme/scriptpacks/tkpack/forgivetk.cfg
exec addons/statsme/scriptpacks/tkpack/kickdp.cfg
exec addons/statsme/scriptpacks/tkpack/punishtk.cfg
//exec addons/statsme/scriptpacks/tkpack/tdwarn.cfg
Succes !