// generated by Ask, do not modify =)
// Quake ]|[ Arena OSP config file
// last updated 18.11.2005

//=========================================================================================================
//          E A S Y   S E R V E R   H O S T I N G
//=========================================================================================================


//*** SETTINGS ***//

seta bot_nochat               "1"
seta fraglimit                "0"
seta g_doWarmup               "0"
seta g_friendlyFire           "1"
seta g_maxGameClients         "0"
seta g_motd                   "Ask4ever =)"
seta match_latejoin           "1"
seta pmove_fixed              "0"
seta ref_password             "1"
seta server_motd1             "  ^1Quake III Arena 1.32  OSP 1.03  "
seta server_motd2             "  ^2Welcome to Askorb's LAN Server  "
seta server_motd3             "             ^3GL^4&^3HF            "
seta sv_hostname              "Astral plains"
seta sv_maxclients            "20"
seta sv_pure                  "0"
seta timelimit                "0"
seta timescale                "1"


//*** BINDING ***//

bind *                        "vstr typ_hry"
bind kp_Slash                 "ref 1"
bind kp_Enter                 "map_restart 0"
bind kp_Home                  "vstr trickmode"
bind kp_Uparrow               "vstr promode"
bind kp_PgUp                  "vstr insta"
bind kp_Leftarrow             "map pro-q3tourney4"
bind kp_Rightarrow            "map pro-q3dm6"
bind kp_PgDn                  "map ztn3tourney1"


//*** SCRIPTING ***//

//TYP_HRY (*)
set typ0 "g_gametype 0; set typ_hry vstr typ1; echo ---> FFA; play sound\misc\menu2; fraglimit 30; timelimit 0"
set typ1 "g_gametype 1; set typ_hry vstr typ3; echo ---> 1v1; play sound\misc\menu2; fraglimit 0; timelimit 10"
set typ3 "g_gametype 3; set typ_hry vstr typ4; echo ---> TDM; play sound\misc\menu2; timelimit 20"
set typ4 "g_gametype 4; set typ_hry vstr typ0; echo ---> CTF; play sound\misc\menu2"
set typ_hry "vstr typ1"

//TRICKMODE (kp_Home)
set trickmode_on "match_hurtself 0; set trickmode vstr trickmode_off; echo zapinam TRICKMODE; play sound\misc\menu1"
set trickmode_off "match_hurtself 1; set trickmode vstr trickmode_on; echo vypinam TRICKMODE; play sound\misc\menu3"
set trickmode "vstr trickmode_on"

//PROMODE (kp_Uparrow)
set promode_on "server_promode 1; set promode vstr promode_off; echo zapinam PROMODE; play sound\misc\menu1"
set promode_off "server_promode 0; set promode vstr promode_on; echo vypinam PROMODE; play sound\misc\menu3"
set promode "vstr promode_on"

//INSTA (kp_PgUp)
set insta_on "match_instagib 1; set insta vstr insta_off; echo zapinam INSTAGIB; play sound\misc\menu1"
set insta_off "match_instagib 0; set insta vstr insta_on; echo vypinam INSTAGIB; play sound\misc\menu3"
set insta "vstr insta_on"

// HINT: stiskem * vyberes typ hry, nasledne kp_enter pro potvrzeni na aktualni mape, nebo kp_346 pro konkretni mapu
//       eventualne pak kp_789 pro zmenu modu - muze to byt jednodussi? =)