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

//=========================================================================================================
//          B I N D I N G
//=========================================================================================================

//BASIC
bind ESCAPE "togglemenu"
bind ` "toggleconsole"
bind ~ "toggleconsole"
bind t "messagemode"
bind TAB "+scores"

//CONTROLS
bind w "+forward"
bind s "+back"
bind a "+moveleft"
bind d "+moveright"
bind ALT "+movedown"
bind MOUSE1 "+attack"
bind MOUSE2 "+moveup"

//WEAPONS
bind e "weapon 7"
bind q "weapon 1"
bind r "weapon 4"
bind SHIFT "weapon 8"
bind MOUSE3 "weapon 5"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"

//HUD
bind h "toggle df_accel_draw;echo Accelmeter"
bind j "df_chs1_info1 135;toggle df_chs1_draw;echo Jumpmeter"
bind k "df_chs1_info1 55;toggle df_chs1_draw;echo OB detector"
bind l "toggle df_chs0_draw;echo Keyshower"

//SAVEPOS
bind 1 "vstr pos1; set saveposname pos1"
bind 2 "vstr pos2; set saveposname pos2"
bind 3 "vstr pos3; set saveposname pos3"
bind 4 "savepos 0"
bind 5 "set pos1 vstr posempty; set pos2 vstr posempty; set pos3 vstr posempty; echo saved positions cleared"

//TIMESCALE
bind F1 "timescale 1"
bind F2 "timescale 0.5"
bind F3 "timescale 0.25"
bind F4 "timescale 0.001"

//CHAT
bind F5 "say ^5=)"
bind F6 "say ^5=/"
bind x "say ^1N^7atural ^1B^7orn ^1T^7rickerz;say ^1www^7.^1quake^7.^1cz^7/^1nbt"

//OTHER
bind c "kill"
bind m "god;give all"
bind KP_5 "toggle cg_thirdperson;cg_thirdpersonangle 90;cg_thirdpersonrange 200"
bind KP_NUMLOCK "toggle cg_oldRail;toggle cg_oldRocket;toggle cg_oldPlasma"
bind KP_MINUS "quit"

//=========================================================================================================
//          S E T I N G S
//=========================================================================================================

//RULES
seta pmove_fixed 0
seta pmove_msec 8
seta com_maxfps 125
seta sv_fps 125
seta g_synchronousclients 1
seta sv_cheats 0

//ME
seta name "^4Askorb"
seta df_name "Askorb"
seta df_country "Czech-Republic"
seta df_competition "nbt"
seta model "tankjr/blue"
seta sex "male"
seta sv_hostname "Astral plains"
seta cl_mouseAccel "0"
seta sensitivity "7.5"

//INTERFACE
seta r_mode "4"
seta r_picmip "5"
seta r_lodbias "2"
seta r_gamma "1.55"
seta r_fullscreen "0"
seta r_vertexLight "1"
seta r_displayrefresh "100"  //ted jedu na LCD
seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST"
seta cg_fov "110"
seta cg_drawCrosshair "7"
seta cg_drawgun "0"
seta cg_drawfps "1"
seta cg_drawTimer "1"
seta df_drawSpeed "1"
seta cg_smoothClients "1"
seta cg_shadows "0"
seta cg_noProjectileTrail "1"
seta cg_forceModel "0"
seta headmodel "sarge"
seta model "sarge"

//OTHER
seta df_demos_UnlockThirdPersonPitch "0"
seta df_demos_ReplayMode "1"
seta df_demos_CameraMode "8"
seta df_chs2_ComboSeparator "/"
seta df_chs1_EnableCombos "0"
seta df_ghosts_automode "0"
seta cl_freelook "1"

//=========================================================================================================
//          S C R I P T I N G
//=========================================================================================================

//DEMORECORD
seta user_attempt              "0"
seta trickname                 "trick"
seta call_demo                 "varMath user_attempt + 1;varMath user_demoname = $df_name + - + $mapname + - + $trickname + $user_attempt"
seta record_demo               "stoprecord;vstr pos1;varCommand record $user_demoname;set store_demo vstr save_demo"
seta save_demo                 "stoprecord;vstr call_demo;set store_demo echo Not recording a demo. Already saved!"

seta store_demo                "echo Not recording a demo. Press CTRL first..."
seta first_record              "vstr call_demo;vstr record_demo;bind ctrl vstr record_demo"

bind ctrl                      "vstr first_record"
bind enter                     "vstr store_demo"
bind backspace                 "stoprecord;set store_demo echo Not recording a demo. You stopped it."