// Goes to the Main menu when starting game
Menu_main
name Hawkeye

// In case I'm the server...
hostname "Hawk's Hole"

//set flashblend for GLQuake
gl_flashblend 0

//set transparent water for GLQuake
r_wateralpha 0.4

//turn on shadows for GLQuake
r_shadows 1

//fix sound stutter for GLQuake
_snd_mixahead ".14"

//set "active" key for superheroes
bind q "impulse 200"

// Correct the screen brightness
gamma .55
// camo (greenish-brown uniform)
color 1 1

// turn mouse look on
+mlook

// This speeds up the console
scr_conspeed 5000

// Mouse sensitivity
sensitivity 5.0
lookspring 1000

//makes your guy not move up and down as much when running
cl_bob 0.01
//turns smoother
cl_rollangle 0.01
//your marine shrugs off shotguns, rockets, etc.
v_kickpitch 0.1
v_kicktime 0.1
v_kickroll 0.1

// toggle crosshair
alias hair_t hair_off
alias hair_on "alias hair_t hair_off ; crosshair 1 ; echo crosshair on "
alias hair_off "alias hair_t hair_on ; crosshair 0 ; echo crosshair off "
bind i hair_t
crosshair 1

// bind some IP addresses
alias gatsbyhouse1 "connect 206.160.192.100"
bind y gatsbyhouse1
alias gatsbyhouse2 "connect 206.160.192.101"
bind u gatsbyhouse2
alias bodycount "connect quake.bodycount.com"
bind r bodycount
alias onramp "connect 207.13.80.111"
bind o onramp
alias id "connect 192.246.40.27
alias frontpage "connect 205.218.189.124

// Makes me go fast!
cl_forwardspeed 1000
cl_backspeed 1000
cl_sidespeed 1000

// Turn the volume down since I'm wearing headphones and set the 
// view to full size
bgmvolume "0.200000"
volume "0.200000"
viewsize "100"


//Bind some Keys
bind MOUSE1 +attack
bind MOUSE3 "impulse 10"
bind MOUSE2 +forward
alias skins "impulse 200"
bind p skins

// set CTRL to move backward
bind CTRL +back
// for strafing
bind a +moveleft
bind s +moveright
bind x +back
alias +hook "impulse 98"
alias -hook "impulse 97"
bind w +hook


bind e e
bind r r 

//Rapid Rocket Attack alias
//hold down f to fire rockets then return to previous weapon
alias +rock1 " impulse 7 ; +attack ; wait "
alias -rock1 " impulse 1 ; -attack "
alias +rock2 " impulse 7 ; +attack ; wait "
alias -rock2 " impulse 2 ; -attack "
alias +rock3 " impulse 7 ; +attack ; wait "
alias -rock3 " impulse 3 ; -attack "
alias +rock4 " impulse 7 ; +attack ; wait "
alias -rock4 " impulse 4 ; -attack "
alias +rock5 " impulse 7 ; +attack ; wait "
alias -rock5 " impulse 5 ; -attack "
alias +rock6 " impulse 7 ; +attack ; wait "
alias -rock6 " impulse 6 ; -attack "
alias +rock7 " impulse 7 ; +attack ; wait "
alias -rock7 " impulse 7 ; -attack "
alias +rock8 " impulse 7 ; +attack ; wait "
alias -rock8 " impulse 8 ; -attack"
alias at01 " impulse 1 ; bind f +rock1 "
alias at02 " impulse 2 ; bind f +rock2 "
alias at03 " impulse 3 ; bind f +rock3 "
alias at04 " impulse 4 ; bind f +rock4 "
alias at05 " impulse 5 ; bind f +rock5 "
alias at06 " impulse 6 ; bind f +rock6 "
alias at07 " impulse 7 ; bind f +rock7 "
alias at08 " impulse 8 ; bind f +rock8 "

alias at01 " impulse 1 ; bind f +rock1 "
alias at02 " impulse 2 ; bind f +rock2 "
alias at03 " impulse 3 ; bind f +rock3 "
alias at04 " impulse 4 ; bind f +rock4 "
alias at05 " impulse 5 ; bind f +rock5 "
alias at06 " impulse 6 ; bind f +rock6 "
alias at07 " impulse 7 ; bind f +rock7 "
alias at08 " impulse 8 ; bind f +rock8 "

bind 1 "at01"
bind 2 "at02"
bind 3 "at03"
bind 4 "at04"
bind 5 "at05"
bind 6 "at06"
bind 7 "at07"
bind 8 "at08"
                  
//Sniper Toggle alias
//Use the "a" key for smooth zoom in for sniping
//Use the "d" key for supersnipe(extreme zoom)
//both enable freelook and are toggle buttons
alias supersnipe_t supersnipe_on
alias supersnipe_on " alias supersnipe_t supersnipe_off ; fov 75 ; wait ; fov 60 ; wait ; fov 45 ; wait ; fov 30 ; wait ; fov 15 ; sensitivity 1 ; +mlook "
alias supersnipe_off " alias supersnipe_t supersnipe_on ; fov 30 ; wait ; fov 45 ; wait ; fov 60 ; wait ; fov 75 ; wait ; fov 90 ; sensitivity 2.75 ; -mlook "
// bind d supersnipe_t
alias snipe_t snipe_on
alias snipe_on " alias snipe_t snipe_off ; fov 75 ; wait ; fov 60 ; wait ; fov 45 ; wait ; fov 30 ; sensitivity 1.25 ; +mlook "
alias snipe_off " alias snipe_t snipe_on ; fov 45 ; wait ; fov 60 ; wait ; fov 75 ; wait ; fov 90 ; sensitivity 2.75 ; -mlook "
// bind q snipe_t
                 
//Freelook Toggle alias
//binds BACKSPACE to freelook
//and makes both toggle (on/off) buttons
alias flook_t flook_on
alias flook_on " alias flook_t flook_off ; +mlook "
alias flook_off " alias flook_t flook_on ; -mlook "
bind backspace flook_t

// set ALT to strafe
bind ALT +strafe
 
//X-ray Vision alias
//allows vision though the first wall in line of sight
//bound as a momentary key
//does not work in Deathmatch
alias xray_on " r_draworder 1 ; +mlook "
alias xray_off " r_draworder 0 ; -mlook "
alias +xray "xray_on"
alias -xray "xray_off"
// bind r +xray

//Weapon Select alias
//makes weapon selection easier (& more accessible)
//will select the more powerful weapon if in arsenal 
alias nail_gun " impulse 4 ; wait ; impulse 5 "
alias shot_gun " impulse 2 ; wait ; impulse 3 "
alias grenade_rpg " impulse 6"
alias lightning_gun " impulse 8"
alias rocket_launcher " impulse 7"
bind v nail_gun
bind b shot_gun
bind g grenade_rpg
bind h lightning_gun
bind f rocket_launcher
bind j "impulse 32"
bind k "impulse 33"

// Play Dead
bind d "impulse 150"

// Holo Dude
bind r "impulse 99"

//Do a "180"
alias turn180 "host_framerate 0.03; wait; cl_yawspeed 12000; +left; wait; -left; cl_yawspeed 140; host_framerate 0";
bind MOUSE3 turn180


echo
echo ======================
echo John.rc initialized
echo ======================
echo Eat Lead Shitheads!
echo ======================







