also so sieht ja die lastman.cfg aus aber wo ist die endaktion drin und wo muss ich den pfad für die wav angeben? kann ich auch mehrere wav dateien angeben? letzte frage von mir
// LastMan
sm_mode2 set iv
alias set_lm "sm_sayformat 0 200 100 -1 0.25 0 6 6 0.5 0.5 2"
alias set_sj "sm_sayformat 255 255 255 0.02 0.90 2 0.02 3 0.01 0.1 2"
sm_menu "LastMan\\y\\R{sm_mode2&i?ON:OFF}" "sm_mode2 {sm_mode2&i?remove:set} i"
sm_menu "Enemy remaining\\y\\R{sm_mode2&v?ON:OFF}" "sm_mode2 {sm_mode2&v?remove:set} v"
sm_do "\'spk misc/lastman\';{%.txtlm0=Now it all depends on you!}"
sm_do "\'spk misc/lastman\';{%.txtlm1=I hope you still have a healthpack
}"
sm_do "\'spk misc/lastman\';{%.txtlm2=All your teammates were killed. Good luck!}"
sm_do "\'spk misc/lastman\';{%.txtlm3=You are the only one left. Have fun!}"
sm_reg "SM_Lastman i 2" "sm_clexec * \'spk misc/lastman\';set_hs;sm_tell * \'{#.txths{R.6}}\'" ade "3=1" "5=0"
// LastMan
sm_do "{%.last=0}"
sm_reg "SM_Lastman i 2" "{%.last=1?:#}set_lm;sm_tell * \'{%.lastname} vs. {V3}\'" ade
sm_reg "SM_Lastman i 2" "{%.last=0?:#}{%.lastname={V3}}{%.last=1}set_lm;sm_tell * \'{V3}: {%.txtlm{R.3}}\'" ade
sm_reg "SM_RoundStart i 2" "{%.last=0}" bcde
// Enemy Remaining
sm_reg "SM_DeathMsg v 2" "{v.teamcount>0?:#}set_sj;sm_tell {k.team} \'{v.teamcount} {v.team}{{v.teamcount}!1?s} remaining...\'spk misc/lastman\'" ade "5=0"