Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: ET PRO Spawn timer + skrypt do jego obsługi
Forum Serwisu: Polskie Centrum Enemy Territory > Problemy Techniczne z Enemy Territory > W:ET - Komendy, Configi, Problemy z ET
fuzzyPL
Zamiast miec zbindowane /OpenTimerInput i wpisywac recznie liczbe [30,20,15] chcialbym miec skrypt, ktory po nacisnieciu klawisza uruchamialby odliczanie [3 skrypty dla 30, 20, 15] uruchamiane 3 roznymi przyciskami. Nie znam sie na pisaniu scrypt'ow wiec prosilbym kogos o pomoc.

P.S.: oczekuje tylko odpowiedzi na moja prosbe, nie chce tu smietnika
conish
CODE
set 5 "timerSet 5;bind mouse4 say_team ^7Enemy Spawned"
set 10 "timerSet 10;bind mouse4 say_team ^7Enemy Spawned"
set 15 "timerSet 15;bind mouse4 say_team ^7Enemy Spawned"
set 20 "timerSet 20;bind mouse4 say_team ^7Enemy Spawned"
set 25 "timerSet 25;bind mouse4 say_team ^7Enemy Spawned"
set 30 "timerSet 30;bind mouse4 say_team ^7Enemy Spawned"
set 35 "timerSet 35;bind mouse4 say_team ^7Enemy Spawned"
set 40 "timerSet 40;bind mouse4 say_team ^7Enemy Spawned"
set 45 "timerSet 45;bind mouse4 say_team ^7Enemy Spawned"
set 50 "timerSet 50;bind mouse4 say_team ^7Enemy Spawned"
set 55 "timerSet 55;bind mouse4 say_team ^7Enemy Spawned"
set 60 "timerSet 60;bind mouse4 say_team ^7Enemy Spawned"
set tup vstr tam0
set tdn vstr tam0
set tam0 "set czas vstr 5;set tdn vstr tam11;set tup vstr tam01;echo ^7Timer Set ^15"
set tam01 "set czas vstr 10;set tdn vstr tam00;set tup vstr tam02;echo ^7Timer Set ^110"
set tam02 "set czas vstr 15;set tdn vstr tam01;set tup vstr tam03;echo ^7Timer Set ^115"
set tam03 "set czas vstr 20;set tdn vstr tam02;set tup vstr tam04;echo ^7Timer Set ^120"
set tam04 "set czas vstr 25;set tdn vstr tam03;set tup vstr tam05;echo ^7Timer Set ^125"
set tam05 "set czas vstr 30;set tdn vstr tam04;set tup vstr tam06;echo ^7Timer Set ^130"
set tam06 "set czas vstr 35;set tdn vstr tam05;set tup vstr tam07;echo ^7Timer Set ^135"
set tam07 "set czas vstr 40;set tdn vstr tam06;set tup vstr tam08;echo ^7Timer Set ^140"
set tam08 "set czas vstr 45;set tdn vstr tam07;set tup vstr tam09;echo ^7Timer Set ^145"
set tam09 "set czas vstr 50;set tdn vstr tam08;set tup vstr tam10;echo ^7Timer Set ^155"
set tam10 "set czas vstr 55;set tdn vstr tam09;set tup vstr tam10;echo ^7Timer Set ^155"
set tam11 "set czas vstr 60;set tdn vstr tam09;set tup vstr tam10;echo ^7Timer Set ^160"
bind kp_plus "vstr tup"
bind kp_minus "vstr tdn"
set czas vstr 5
bind mouse4 "vstr czas"
bind kp_del "echo ^7spawntimer ^1reloaded;bind mouse4 vstr czas"


Nie do konca to o co Ci chodzilo ale podobne, zrobilem to jakis czas temu.Klawiszami +/- na klawiaturze numerycznej ustawiamy sobie czas (tylko wielokrotnosci 5). Czekamy na spawn i gdy go widzimy wciskamy mouse4 (mozna to sobie samemu latwo zmienic). Nastepnie pod tym samym klawiszem mamy say_team enemyspawned. Del na klawiaturze numerycznej pozwala poprawic spawn. Proste?
M4ch3n
mozna tez prosciej:
bind x timerset 30 (lub jaka chcesz liczbe)
zeby wylaczyc: timerset 0
i skrypt:
set my_spawntimer "vstr spawntimer15"
set spawntimer15 "timerset 15; set my_spawntimer vstr spawntimer20; echo "^sTimer Set to: ^115 ^ssec"
set spawntimer20 "timerset 20; set my_spawntimer vstr spawntimer25; echo "^sTimer Set to: ^120 ^ssec"
set spawntimer25 "timerset 25; set my_spawntimer vstr spawntimer30; echo "^sTimer Set to: ^125 ^ssec"
set spawntimer30 "timerset 30; set my_spawntimer vstr spawntimer15; echo "^sTimer Set to: ^130 ^ssec"
bind KP_PLUS "vstr my_spawntimer"
bind KP_MINUS "resettimer"
conish
nie wiem o ile to prosciej smile.gif po pierwsze tylko te 4 czasy, po drugie nie ma info do teamu smile.gif
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2026 Invision Power Services, Inc.