// This is based off of noctis' cfg, which a google search suggested
// was popular.  The only "weird" feature is that I've been using no
// accel for RL/GL/SG/gauntlet and low accel and a smaller fov for
// LG/MG/PG/RG.

  //                     --------
 //                   / bindings /
//                     --------

     unbindall
     
	 bind r             "+forward;vstr zoom"
	 bind f             "+back"
	 bind d             "+moveleft"
	 bind g             "+moveright"
	 bind mouse1        "+attack"
	 bind mouse2        "+moveup"
	 bind a             "+movedown"
	 bind alt           "+speed"
	 bind space         "vstr zoom_tog"


	 //	 bind 1             "vstr rec"
	 //	 bind 2             "stoprecord"
	 //	 bind 4             "dropweapon;+button2;wait 5;-button2"
	 //bind 4             "+button2; wait 10; dropweapon; say_team "^5DROPPED WEAPON""
	 //	 bind 7             "say :)"
//	 bind w             "say_team ^4GET QUAD"
	 //bind b             "say_team ^2ok"
	 
	 //bind mwheeldown    "+button2"
	 bind tab           "+scores"
	 //	 bind shift         "vstr rj"
	 
	 bind F1            "vote yes"
	 bind F2            "vote no"
	 bind F3            "readyup"
	 bind F5            "vstr vol_down"
	 bind F6            "vstr vol_up"
	 bind F11           "screenshotJPEG"

	 bind kp_plus	    "+chat"
	 bind q      "+acc"
	 bind f10           "exec czm-ql-test"

	 bind enter         "messagemode"
	 bind backspace     "messagemode2"

  //                     -------
 //                   / weapons /
//                     -------

	 bind v                     "vstr gun1"  //g
	 bind b                     "vstr gun2"  //mg
	 bind SHIFT                     "vstr gun3"  //sg
	 bind c                     "vstr gun4"  //gl
	 bind z                "vstr gun5"  //rl
	 bind s                     "vstr gun6"  //lg
	 bind x                    "vstr gun7"  //rg
	 bind t                     "vstr gun8"  //pg
	 bind 9                      "vstr gun9"  //bfg
	 bind e             "vstr gun11" //ng
	 //	 bind downarrow             "vstr gun12" //pl
	 bind w            "vstr gun13" //cg

  //                      ----
 //                    / main /
//                      ----

	 seta sensitivity         "3.5"
	 seta cl_mouseAccel       "0.05"
	 seta cl_mouseAccelstyle  "0"
	 seta cl_mouseSensCap 	  "0"
	 seta cl_mouseAccelOffset "0"
	 seta m_yaw               "0.021"
	 seta m_pitch             "-0.014"

	 seta in_mouse            "2"

	 seta cg_hudfiles         "ui/ncts.cfg"

//	 seta model               sarge
//	 seta headmodel           sarge
//	 seta cg_forceTeamModel   sarge
	 seta cg_forceEnemyModel  keel/bright

	 seta cg_enemyHeadcolor   0x00ff00ff
	 seta cg_enemyUppercolor  0x00ff00ff
	 seta cg_enemyLowercolor  0x00ff00ff

	 seta cg_teamHeadcolor    0x00ffffff
	 seta cg_teamUppercolor   0x00ffffff
	 seta cg_teamLowercolor   0x0000ffff
	 
	 seta cg_forceEnemyWeaponColor 1
	 seta cg_forceTeamWeaponColor  1

	 seta bot_nochat          1
	 seta scr_conspeed        9999

	 //seta name                "^7noctis"

	 //seta ui_clantagpos     "0"

  //                     ------
 //                   / visual /
//                     ------

	 seta r_picmip                  "5"
	 seta r_overbrightbits          "1" // 0
	 seta r_mapoverbrightbits       "2" // 1
	 seta r_gamma                   "1.5" // 1.8
	 seta r_subdivisions            "80"
	 seta r_lodbias                 "0" //2
	 seta r_mode                    "12"
	 seta r_displayrefresh          "75"
	 seta r_fastsky                 "1"
	 seta r_fullbright              "0"
	 seta r_simpleMipMaps           "0"
	 seta r_lightmap                "0"
	 seta r_vertexlight             "0"
	 seta r_intensity               "1"
	 seta r_enablePostProcess       "1"
	 seta r_lodscale                "50"
	 seta r_dynamiclight            "0"
	 seta r_inBrowserMode           "9"
	 seta r_ignorehwgamma           "1"
	 seta r_enableBloom             "0"
	 seta r_enableColorCorrect      "1"
	 seta r_texturemode             "gl_linear_mipmap_linear"
	 
	 seta r_bloomBrightThreshold    "0.06"
	 seta r_bloomSaturation         "1"
	 seta r_bloomIntensity          "0.3"
	 seta r_bloomSceneSaturation    "1"
	 seta r_bloomSceneIntensity     "1"
	 seta r_bloomBlurRadius         "5"
	 seta r_bloomBlurFalloff        "0.75"
	 seta r_bloomBlurScale          "1.0"
	 seta r_bloomPasses             "2"

	 seta cg_drawfps                "0"
	 seta cg_drawgun                "0"
	 seta cg_lagometer              "0"
	 seta cg_chatBeep               "1"
	 seta cg_teamChatBeep           "1"

	 seta cg_drawTeamOverlay        "2"
	 seta cg_selfOnTeamOverlay      "0"
	 seta cg_clanOnTeamOverlay      "0"
	 seta cg_drawTeamOverlayOpacity "0.33"
	 seta cg_drawTeamOverlayX       "0"
	 seta cg_drawTeamOverlayY       "-25"
	 
	 seta cg_drawCrosshairTeamHealth   "1"
	 seta cg_drawCrosshairNames        "1"
	 seta cg_drawCrosshairNamesOpacity "0.9"
	 seta cg_drawCrosshair "9"
	 seta cg_crosshairSize "48"
	 seta cg_crosshairColor "5"

	 seta cg_simpleitems            "1"
	 seta cg_gibs                   "0"
	 seta com_blood                 "0"
	 seta cg_draw3dicons            "0"
	 seta cg_bob                    "0"

	 seta cg_marks                  "0"
	 seta cg_impactMarkTime         "0"
	 seta cg_impactSparks           "0"
	 seta cg_impactSparksLifetime   "250"
	 seta cg_impactSparksSize       "7"
	 seta cg_impactSparksVelocity   "64"

	 seta cg_kickScale              "0"
	 seta cg_levelTimerDirection    "0"
	 seta cg_drawattacker           "0"
	 seta cg_drawFriend             "1"
	 seta cg_drawAmmoWarning        "0"
	 seta cg_truelightning          "1" // 0.9
	 seta cg_WeaponBar              "1"
	 seta cg_drawFullWeaponBar      "0"
	 seta cg_crosshairpulse         "0"
	 seta cg_scoreplums             "0"
	 seta cg_brasstime              "0"
	 seta cg_switchonempty          "1"
	 seta cg_allowTaunt             "0"
	 seta cg_followpowerup          "0"
	 seta cg_drawrewards            "1"
	 seta cg_predictLocalRailShots  "1" //0
	 seta cg_predictItems           "0"
	 seta cg_playerLean             "0.25"
	 

	 seta cg_gunX                   "0"
	 seta cg_gunY                   "0"
	 seta cg_gunZ                   "-4"

	 seta cg_drawcrosshairnames     "1"
	 seta cg_autoswitch             "0"
	 seta cg_crosshairbrightness    "1"
	 seta cg_shadows                "1"
	 seta cg_autoAction             "3"
	 seta cg_drawPregameMessages    "0"
	 seta cg_drawSpecMessages       "0"
	 seta cg_playernames            "0"
	 seta cg_compHud                "1"
	 seta cg_switchToEmpty          "1"
	 seta cg_zoomOutOnDeath         "0"

	 seta cg_lightningImpact        "0"
	 seta cg_muzzleFlash            "0"
	 seta cg_smokeRadius_GL         "0"
	 seta cg_smokeRadius_RL         "0"
	 seta cg_smokeRadius_NG         "0"
	 seta cg_bubbleTrail            "0"
	 seta cg_smoke_SG               "0"
	 seta cg_screenDamage           "0"
	 seta cg_screenDamage_Self      "0"
	 seta cg_screenDamage_Team      "0"

	 seta cg_crosshairHitStyle      "2"
	 seta cg_crosshairHitTime       "50"
	 seta cg_crosshairHitColor      "1"

	 seta cg_weaponColor_grenade    "0x0000ffff"

	 seta cg_deadBodyDarken         "1"
	 seta cg_deadBodyColor          "0x222222ff"

	 seta cg_waterWarp              "0"
	 seta cg_zoomScaling            "1" // 0
	 seta cg_zoomToggle             "0"
	 seta cg_zoomSensitivity        "1" // 0
	 seta cg_drawFragMessages       "1"
	 seta cg_buzzerSound            "1"

	 seta cg_lightningStyle         "4"
	 seta cg_railStyle              "1"
	 seta cg_rocketStyle            "1"
	 seta cg_plasmaStyle            "1"

	 seta cg_enableRespawnTimer     "1"
	 seta cg_respawnTimerX          "10"
	 seta cg_respawnTimerY          "100"

	 seta cg_drawItemPickups          "7" // 0
	 seta cg_drawAmmoWarning          "0"
	 seta cg_lowAmmoWarningPercentile "0.08"
	 seta cg_lowAmmoWarningSound      "1"
	 seta cg_lowAmmoWeaponBarWarning  "1" 

	 seta cg_playTeamVO             "1"

	 seta com_allowconsole          "1"

	 seta cl_maxpackets             "125"
	 seta cl_timenudge              "0"
	 seta cl_conTimeStamps          "0"
	 seta cl_demoRecordMessage      "0"
	 seta cl_allowConsoleChat       "1"
	 seta winkey_disable            "1"
	 seta rate                      "25000"

	 seta cg_smoothClients "0"

  //                      ----
 //                    / rail /
//                      ----

	 seta r_railCoreWidth           "6" //4
	 seta r_railWidth               "16" //8
	 seta r_railSegmentLength       "32" //2
	 seta cg_railtrailtime 	        "400" //450
//	 seta color1                    "3"  //17
// seta color2                    "a" //17

  //                     -----
 //                   / Sound /
//                     -----

	 seta s_ambient                 "0"
	 seta s_musicvolume             "0"
	 seta s_volume                  "0.02"
	 seta cg_HitBeep                "2"

  //                     -------
 //                   / aliases /
//                     -------
	 bind mwheelup "vstr zoom2;set zoom_tog vstr zoom_tog_off"
	 bind mwheeldown "vstr zoom0;set zoom_tog vstr zoom_tog_on"
	 bind mouse3 "vstr zoom_toom"
set zoom_tog_on "vstr zoom1;set zoom_tog vstr zoom_tog_off"
set zoom_tog_off "vstr zoom0;set zoom_tog vstr zoom_tog_on"
set zoom_tog vstr zoom_tog_on
	 set zoom2 "cg_zoomfov 40"
	 set zoom1"cg_zoomfov 70"
	 set zoom0 "cg_zoomfov 100"
	 set weap1      "weapon 1; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap2      "weapon 2; set zoom1 cg_zoomfov 70; vstr sens2; cg_crosshairHitTime 101; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap3      "weapon 3; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap4      "weapon 4; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap5      "weapon 5; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap6      "weapon 6; set zoom1 cg_zoomfov 70; vstr sens2; cg_crosshairHitTime 51; cg_drawgun 0; cg_hitbeep 2; vstr etc"
	 set weap7      "weapon 7; set zoom1 cg_zoomfov 40; vstr sens2; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap8      "weapon 8; set zoom1 cg_zoomfov 70; vstr sens2; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap9      "weapon 9; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap10     "weapon 10; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap11     "weapon 11; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap12     "weapon 12; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 200; cg_drawgun 2; cg_hitbeep 2; vstr etc"
	 set weap13     "weapon 13; set zoom1 cg_zoomfov 70; vstr sens1; cg_crosshairHitTime 50; cg_drawgun 2; cg_hitbeep 2; vstr etc"

//set sens2 "sensitivity 3.5;cl_mouseaccel .05;cg_drawcrosshair 9;cg_crosshairsize 48;set zoom_tog_out cg_zoomfov 100;vstr zoom_tog;vstr zoom_tog" 
//set sens1 "sensitivity 4.6;cl_mouseaccel 0;cg_drawcrosshair 9;cg_crosshairsize 48;set zoom_tog_out cg_zoomfov 100;vstr zoom_tog;vstr zoom_tog"
sensitivity 3.7
set sens1 "sensitivity 3.9;cl_mouseaccel 0.05;set zoom0 cg_zoomfov 105;vstr zoom_tog;vstr zoom_tog"
set sens2 "sensitivity 3.9;cl_mouseaccel 0.05;set zoom0 cg_zoomfov 90;vstr zoom_tog;vstr zoom_tog" 
set sens1 "sensitivity 4.5;cl_mouseaccel 0;set zoom0 cg_zoomfov 102;vstr zoom_tog;vstr zoom_tog"
set sens2 "sensitivity 3.5;cl_mouseaccel 0.05;set zoom0 cg_zoomfov 100;vstr zoom_tog;vstr zoom_tog" 
set sens1 "cl_mouseaccel 0; set zoom0 cg_zoomfov 104;vstr zoom_tog;vstr zoom_tog"
//set sens2 "cl_mouseaccel .056;set zoom0 cg_zoomfov 95;vstr zoom_tog;vstr zoom_tog" 
set sens2 "cl_mouseaccel 0.056;set zoom0 cg_zoomfov 95;vstr zoom_tog;vstr zoom_tog" 
sensitivity 4.3
sensitivity 3.72
sensitivity 4
sensitivity 4.2
sensitivity 4.5
set sens1 "cl_mouseaccel 0;vstr zoom_tog;vstr zoom_tog"
set sens2 "cl_mouseaccel 0;vstr zoom_tog;vstr zoom_tog" 
	 set bind_weap  "set gun1 vstr weap1; set gun2 vstr weap2; set gun3 vstr weap3; set gun4 vstr weap4; set gun5 vstr weap5; set gun6 vstr weap6; set gun7 vstr weap7; set gun8 vstr weap8; set gun9 vstr weap9; set gun11 vstr weap11; set gun12 vstr weap12; set gun13 vstr weap13"
	 set bind_zoom  "set gun1 vstr zoom1; set gun2 vstr zoom2; set gun3 vstr zoom3; set gun4 vstr zoom4; set gun5 vstr zoom5; set gun6 vstr zoom6; set gun7 vstr zoom7; set gun8 vstr zoom8; set gun9 vstr zoom9; set gun11 vstr zoom11; set gun12 vstr zoom12; set gun13 vstr zoom13"

bind 1 "sensitivity 4.2;exec accel;echo Accel, 4.2"
bind 2 "sensitivity 4.5;exec noaccel;echo No accel, 4.5"


set vol_0.0 "s_volume 0.0 ; set vol_up vstr vol_0.025 ; set vol_down vstr vol_0.0 ; s_volume ; play sound\misc\menu2"
set vol_0.025 "s_volume 0.025 ; set vol_up vstr vol_0.05 ; set vol_down vstr vol_0.0 ; s_volume ; play sound\misc\menu2"
set vol_0.05 "s_volume 0.05 ; set vol_up vstr vol_0.1 ; set vol_down vstr vol_0.025 ; s_volume ; play sound\misc\menu2"
set vol_0.1 "s_volume 0.1 ; set vol_up vstr vol_0.2 ; set vol_down vstr vol_0.05 ; s_volume ; play sound\misc\menu2"
set vol_0.2 "s_volume 0.2 ; set vol_up vstr vol_0.3 ; set vol_down vstr vol_0.1 ; s_volume ; play sound\misc\menu2"
set vol_0.3 "s_volume 0.3 ; set vol_up vstr vol_0.4 ; set vol_down vstr vol_0.2 ; s_volume ; play sound\misc\menu2"
set vol_0.4 "s_volume 0.4 ; set vol_up vstr vol_0.5 ; set vol_down vstr vol_0.3 ; s_volume ; play sound\misc\menu2"
set vol_0.5 "s_volume 0.5 ; set vol_up vstr vol_0.6 ; set vol_down vstr vol_0.4 ; s_volume ; play sound\misc\menu2"
set vol_0.6 "s_volume 0.6 ; set vol_up vstr vol_0.7 ; set vol_down vstr vol_0.5 ; s_volume ; play sound\misc\menu2"
set vol_0.7 "s_volume 0.7 ; set vol_up vstr vol_0.8 ; set vol_down vstr vol_0.6 ; s_volume ; play sound\misc\menu2"
set vol_0.8 "s_volume 0.8 ; set vol_up vstr vol_0.9 ; set vol_down vstr vol_0.7 ; s_volume ; play sound\misc\menu2"
set vol_0.9 "s_volume 0.9 ; set vol_up vstr vol_1.0 ; set vol_down vstr vol_0.8 ; s_volume ; play sound\misc\menu2"
set vol_1.0 "s_volume 1.0 ; set vol_up vstr vol_1.0 ; set vol_down vstr vol_0.9 ; s_volume ; play sound\misc\menu2"
in_restart
vstr zoom
vstr vol_0.1
//set vol_up "vstr vol_"
//set vol_down "vstr vol_0.1"
//addstr vol_up s_volume
//vstr vol_up
//vstr vol_down
//vstr vol_up
in_mouse
cl_timenudge

 	 set hq         "r_picmip 0 ; r_overbrightbits 1 ; r_mapoverbrightbits 2 ; r_gamma 1.2 ; r_intensity 1 ; r_subdivisions 4 ; r_fastsky 0 ; cg_fov 105 ; cg_zoomfov 105 ; r_vertexlight 0; vstr hq2"
 	 set hq2        "cg_simpleitems 0 ; r_lodbias -2 ; cg_drawgun 2 ; cg_crosshairhitstyle 2 ; cg_impactSparks 1 ; cg_gunY 0 ; cg_gunX 3 ; cg_gunZ -1 ; r_enableBloom 1 ; vid_restart"
 	 
	 seta activeAction "vstr zoom"
	 seta zoom "+zoom;set activeAction vstr zoom"
	 vstr zoom

	 vstr bind_weap
	 
	 play "sound/world/button_zap.wav"

  //                      ---
 //                    / end /
//                      ---