IPBIPB

Witaj Gościu ( Zaloguj | Rejestruj )

> Jak obsługiwać taki spawn-timer ?, Skrypt na podawanie czasu spawnu.
Bordini
post 15:36, 23 09 2005
Post #1


Gefreiter
Ikona Grupy

Grupa: Użytkownicy
Postów: 40
Dołączył: 15-03-2005
Nr użytkownika: 3869



otoz mam takie male glupie pytanie jak oblsugiwac spawntimera np. z confa $yncr0:


// keys
bind KP_ENTER "vstr say_repeat" // for repeating spawn time
bind KP_DEL "vstr keypad_reset; resettimer" // resets the keypad to recalculate spawn time

// Maps

bind + "vstr timerbinds"

set timerbinds "vstr 20_sec"
set 15_sec "exec 15.cfg; echo ^7-^715; set timerbinds vstr_20_sec
set 20_sec "exec 20.cfg; echo ^7-^720; set timerbinds vstr 30_sec"
set 30_sec "exec 30.cfg; echo ^7-^730; set timerbinds vstr 15_sec"




// First digit

set start_0 "vstr keypad_00; vstr keypad_01; vstr keypad_02; vstr keypad_03; vstr keypad_04; vstr keypad_05; vstr keypad_06; vstr keypad_07; vstr keypad_08; vstr keypad_09"
set start_1 "vstr keypad_10; vstr keypad_11; vstr keypad_12; vstr keypad_13; vstr keypad_14; vstr keypad_15; vstr keypad_16; vstr keypad_17; vstr keypad_18; vstr keypad_19"
set start_2 "vstr keypad_20; vstr keypad_21; vstr keypad_22; vstr keypad_23; vstr keypad_24; vstr keypad_25; vstr keypad_26; vstr keypad_27; vstr keypad_28; vstr keypad_29"
set start_3 "vstr keypad_30; vstr keypad_31; vstr keypad_32; vstr keypad_33; vstr keypad_34; vstr keypad_35; vstr keypad_36; vstr keypad_37; vstr keypad_38; vstr keypad_39"
set start_4 "vstr keypad_40; vstr keypad_41; vstr keypad_42; vstr keypad_43; vstr keypad_44; vstr keypad_45; vstr keypad_46; vstr keypad_47; vstr keypad_48; vstr keypad_49"
set start_5 "vstr keypad_50; vstr keypad_51; vstr keypad_52; vstr keypad_53; vstr keypad_54; vstr keypad_55; vstr keypad_56; vstr keypad_57; vstr keypad_58; vstr keypad_59"

// Second digit
set keypad_00 "bind kp_ins vstr say_00"
set keypad_01 "bind kp_end vstr say_01"
set keypad_02 "bind kp_downarrow vstr say_02"
set keypad_03 "bind kp_pgdn vstr say_03"
set keypad_04 "bind kp_leftarrow vstr say_04"
set keypad_05 "bind kp_5 vstr say_05"
set keypad_06 "bind kp_rightarrow vstr say_06"
set keypad_07 "bind kp_home vstr say_07"
set keypad_08 "bind kp_uparrow vstr say_08"
set keypad_09 "bind kp_pgup vstr say_09"
set keypad_10 "bind kp_ins vstr say_10"
set keypad_11 "bind kp_end vstr say_11"
set keypad_12 "bind kp_downarrow vstr say_12"
set keypad_13 "bind kp_pgdn vstr say_13"
set keypad_14 "bind kp_leftarrow vstr say_14"
set keypad_15 "bind kp_5 vstr say_15"
set keypad_16 "bind kp_rightarrow vstr say_16"
set keypad_17 "bind kp_home vstr say_17"
set keypad_18 "bind kp_uparrow vstr say_18"
set keypad_19 "bind kp_pgup vstr say_19"
set keypad_20 "bind kp_ins vstr say_20"
set keypad_21 "bind kp_end vstr say_21"
set keypad_22 "bind kp_downarrow vstr say_22"
set keypad_23 "bind kp_pgdn vstr say_23"
set keypad_24 "bind kp_leftarrow vstr say_24"
set keypad_25 "bind kp_5 vstr say_25"
set keypad_26 "bind kp_rightarrow vstr say_26"
set keypad_27 "bind kp_home vstr say_27"
set keypad_28 "bind kp_uparrow vstr say_28"
set keypad_29 "bind kp_pgup vstr say_29"
set keypad_30 "bind kp_ins vstr say_30"
set keypad_31 "bind kp_end vstr say_31"
set keypad_32 "bind kp_downarrow vstr say_32"
set keypad_33 "bind kp_pgdn vstr say_33"
set keypad_34 "bind kp_leftarrow vstr say_34"
set keypad_35 "bind kp_5 vstr say_35"
set keypad_36 "bind kp_rightarrow vstr say_36"
set keypad_37 "bind kp_home vstr say_37"
set keypad_38 "bind kp_uparrow vstr say_38"
set keypad_39 "bind kp_pgup vstr say_39"
set keypad_40 "bind kp_ins vstr say_40"
set keypad_41 "bind kp_end vstr say_41"
set keypad_42 "bind kp_downarrow vstr say_42"
set keypad_43 "bind kp_pgdn vstr say_43"
set keypad_44 "bind kp_leftarrow vstr say_44"
set keypad_45 "bind kp_5 vstr say_45"
set keypad_46 "bind kp_rightarrow vstr say_46"
set keypad_47 "bind kp_home vstr say_47"
set keypad_48 "bind kp_uparrow vstr say_48"
set keypad_49 "bind kp_pgup vstr say_49"
set keypad_50 "bind kp_ins vstr say_50"
set keypad_51 "bind kp_end vstr say_51"
set keypad_52 "bind kp_downarrow vstr say_52"
set keypad_53 "bind kp_pgdn vstr say_53"
set keypad_54 "bind kp_leftarrow vstr say_54"
set keypad_55 "bind kp_5 vstr say_55"
set keypad_56 "bind kp_rightarrow vstr say_56"
set keypad_57 "bind kp_home vstr say_57"
set keypad_58 "bind kp_uparrow vstr say_58"
set keypad_59 "bind kp_pgup vstr say_59"

set keypad_0 "bind kp_ins vstr start_0"
set keypad_1 "bind kp_end vstr start_1"
set keypad_2 "bind kp_downarrow vstr start_2"
set keypad_3 "bind kp_pgdn vstr start_3"
set keypad_4 "bind kp_leftarrow vstr start_4"
set keypad_5 "bind kp_5 vstr start_5"
set keypad_6 "bind kp_rightarrow echo ."
set keypad_7 "bind kp_home echo ."
set keypad_8 "bind kp_uparrow echo ."
set keypad_9 "bind kp_pgup echo ."

// Reset keypad
set keypad_reset "vstr keypad_0; vstr keypad_1; vstr keypad_2; vstr keypad_3; vstr keypad_4; vstr keypad_5; vstr keypad_6; vstr keypad_7; vstr keypad_8; vstr keypad_9"

vstr keypad_reset




wogole nie mam pojecia jak to wlaczyc ;p
Go to the top of the page
 
+Quote Post
 
Start new topic
Odpowiedzi
st4rf!sh
post 15:56, 23 09 2005
Post #2


Hauptmann
Ikona Grupy

Grupa: Użytkownicy
Postów: 262
Dołączył: 4-08-2005
Skąd: stąd
Nr użytkownika: 4730



e tam ;/ imo wszystkie timery sa niepotrzebne, bo co za problem raz spojrzec na czas mapy? pozniej zostaje tylko dodawanie. chyba, ze ktos ma z tym problemy, to rozumiem ;]
Go to the top of the page
 
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



Wersja Lo-Fi