//-----Scroll all the way to the bottom to customise keybinds. Obviously if you change

//-----keybinds, the info menu will be wrong.

//---Save the file as training.cfg, or remember to change the reloadConfig alias

// map alias shortcuts

alias mirage "map de_mirage"

alias cache "map de_cache"

alias inf "map de_inferno"

alias over "map de_overpass"

alias dd2 "map de_dust2"

alias train "map de_train"

alias cbbl "map de_cbble"

alias seas "map de_season"

//game mode to comp

game_type 0

game_mode 1

//mp settings

mp_roundtime 60

mp_roundtime_defuse 60

mp_roundtime_hostage 60

mp_freezetime 0

mp_maxmoney 999999

mp_startmoney 999999

mp_autoteambalance 0

mp_warmuptime 0

mp_warmup_end

mp_buytime 3600

mp_buy_anywhere 1

mp_weapons_glow_on_ground 0

mp_weapons_allow_typecount 100

//bot commands

bot_quota 0

bot_kick

//useful stuff

sv_cheats 1

sv_regeneration_force_on 1

sv_infinite_ammo 2

sv_grenade_trajectory 1

sv_grenade_trajectory_time 5

ammo_grenade_limit_total 5 //allows for 5 total grenades

//restart game and force settings update

mp_restartgame 1

//EXTREMELY USEFUL STUFF

alias reloadConfig "exec training.cfg"

bind t reloadConfig

//for when you cake a smoke grenade - My favourite thing ever.

alias killSmoke "ent_fire smokegrenade_projectile kill"

bind f "killSmoke"

//kills the grenade >MIDFLIGHT ONLY<

//glow outline width: higher, more visible

glow_outline_width 300

//timeskip function, with volume modifier for that godawful sound

alias +timeskip "host_timescale 10; volume 0"

alias -timeskip "host_timescale 1; volume .2"

bind k +timeskip

//save location and teleport function

alias savePos "con_logfile cfg\save.cfg; getpos_exact; con_logfile 0; say Location Saved"

alias gotoPos "exec save.cfg"

bind , "savePos"

bind . "gotoPos"

//useful command toggles

alias impacts "impactsOn"

alias impactsOn "sv_showimpacts 1;alias impacts impactsOff;say Impacts: ON"

alias impactsOff "sv_showimpacts 0; alias impacts impactsOn; say Impacts: OFF"

bind f5 impacts

alias trails "trailsOn"

alias trailsOn "sv_grenade_trajectory 1; alias trails trailsOff; say Grenade Trajectory: ON"

alias trailsOff "sv_grenade_trajectory 0; alias trails trailsOn; say Grenade Trajectory: OFF"

bind f6 trails

alias ammo "ammoOne"

alias ammoOne "sv_infinite_ammo 1; alias ammo ammoTwo; say Ammo: Infinite Ammo, no reloading"

alias ammoTwo "sv_infinite_ammo 2; alias ammo ammoOff; say Ammo: Infinite Ammo, reloading needed"

alias ammoOff "sv_infinite_ammo 0; alias ammo ammoOne; say Ammo: OFF"

bind f7 ammo

alias glow "glowOn" //really cool, drop pistol to line up a smoke through walls.

alias glowOn "mp_weapons_glow_on_ground 1; alias glow glowOff; say Weapon Glow: ON"

alias glowOff "mp_weapons_glow_on_ground 0; alias glow glowOn; say Weapon Glow: OFF"

bind f8 glow

alias recoil "recoilOn"

alias recoilOn "weapon_recoil_scale 0; alias recoil recoilOff; say No Recoil: ON"

alias recoilOff "weapon_recoil_scale 2; alias recoil recoilOn; say No Recoil: OFF"

//weapon commands

alias ak "give weapon_ak47"

alias m4a4 "give weapon_m4a1"

alias m4a1 "give weapon_m4a1_silencer"

alias awp "give weapon_awp"

alias deag "give weapon_deagle"

alias usp "give weapon_usp_silencer"

alias p2k "give weapon_hkp2000"

alias glock "give weapon_glock"

alias tec9 "give weapon_tec9"

alias p250 "give weapon_p250"

alias five7 "give weapon_fiveseven"

alias vest "give item_kevlar" //no helmet

alias vh "give item_assaultsuit" //I don't know why vesthelm is this.. honestly.

//nade commands

alias he "give weapon_hegrenade"

alias flash "give weapon_flashbang"

alias smoke "give weapon_smokegrenade"

alias molly "give weapon_molotov"

alias incnade "give weapon_incgrenade"

//give custom kit

bind f2 "kit; say Giving custom kit"

//second custome kit

alias +kitswap "bind f2 kit2"

alias -kitswap "bind f2 kit"

bind alt +kitswap

//extremely useful, but will kill the weapon you have on you as well

alias killweps "say 'All weapons cleared, use F2 for your kit or F4 for just a knife'; ent_fire weapon_* kill"

bind f3 "killweps"

//give yourself a replacement knife

alias k "give weapon_knife"

bind f4 "k"

//when done

alias done "exec config; exec autoexec; disconnect"

//executes your config to reset your binds to normal

//echoes

clear

echo "-----Training Config Loaded-----"

echo ""

echo "------binds"

echo "t - reload training.cfg"

echo "f - kill in-air smokes"

echo "c - toggle noclip"

echo "k - timeskip: Speeds up time while the key is down to clear smokes faster"

echo ", (comma) - saves your current position"

echo ". (period) - teleports you back to your saved position"

echo "F2 - gives you a loadout, shortcut for 'kit'"

echo "ALT - hold and hit F2 for a secondary kit slot"

echo "F3 - clears map of weapons, shortcut for 'killweps'"

echo "F4 - gives you a knife, shortcut for 'k'"

echo "F5 - toggles impacts"

echo "F6 - toggles grenade trajectories"

echo "F7 - toggles infinite ammo"

echo "F8 - toggles dropped weapon glow"

echo "F9 - toggles recoil"

echo ""

echo "done - execs your autoexec and config to reset binds/settings then disconnects"

echo "-----------------"

echo ""

echo "------cmd shortcuts"

echo "impacts - toggles sv_showimpacts 0/1"

echo "trails - toggles sv_grenade_trajectory 0/1"

echo "ammo - toggles sv_infinite_ammo 0/1/2"

echo "glow - toggles mp_weapons_glow_on_ground 0/1 -- distance and walls can be funky, but can help to line up smokes etc"

echo "recoil - toggles weapon_recoil_scale 0/1"

echo "k - gives you a knife back for use with killweps"

echo "killweps - clears map of all weapons+nades, see note below"

echo ""

echo "NOTE: killweps will remove ALL weapons/nades you currently have as well (including your knife. use k in console/F4 to get it back.)"

echo "-----------------"

echo ""

echo "Custom kit:"

echo "Build a custom loadout using:"

echo "alias kit 'vh; awp; deag; smoke; flash; flash; molly; he'"

echo "for example. Use the weapon shortcuts below, then type 'kit' or hit F2 to get your loadout"

echo ""

echo "-----guns"

echo "ak - gives AK47"

echo "m4a4 - gives M4A4"

echo "m4a1 - gives M4A1"

echo "awp - give AWP"

echo "usp - give USP"

echo "p2k - give P2000"

echo "glock - give Glock"

echo "p250 - give P250"

echo "five7 - give FiveSeven"

echo "tec9 - give Tec9"

echo "deag - give Deagle"

echo "vh - gives kevlar+helmet"

echo "vest - gives kevlar"

echo "-----------------"

echo ""

echo "-----nades"

echo "he - gives HE grenade"

echo "flash - gives flashbang"

echo "smoke - gives smoke"

echo "molly - gives molotov"

echo "incnade - gives incendiary (ct molly)"

echo "-----------------"

echo ""

echo "-----map shortcuts"

echo "mirage - de_mirage"

echo "inf - de_inferno"

echo "cache - de_cache"

echo "over - de_overpass"

echo "dd2 - de_dust2"

echo "train - de_train"

echo "seas - de_season"

echo "cbbl - de_cbbl"

echo "-----------------"

echo ""

echo "hit t when you first load in to force the warmup to end"

//---------------------------------

//-----Customise keybinds here-----

//---------------------------------

bind t reloadConfig

bind f killSmoke

bind c noclip

bind k +timeskip

bind , savePos

bind . gotoPos

bind f2 kit

bind alt +kitswap

bind f3 killweps

bind f4 k

bind f5 impacts

bind f6 trails

bind f7 ammo

bind f8 glow

bind f9 recoil

//---------------------------------

//-------Customise kit here--------

//---------------------------------

alias kit "k; vh; awp; deag; smoke; flash; molly; he" //default, change as you want