ctrlfrk March 1, 2013 Share ctrlfrk Member March 1, 2013 I posted this file in the other bind topic but it seemed to be overlooked so I'm reposting it here for visibility. I went through the buy menus and created aliases for all the items to make binding easier. You can do things like: bind mouse5 +gc_rocketspawn bind mouse3 gc_suicide bind KP_HOME gc_desert_eagle bind KP_UPARROW gc_ak_47 I've also included some utility functions like +gc_rocketspawn and gc_ready_and_points ("sm_points; sm_ready") for stealth !r (The rocketspawn function currently doesn't compensate for lag, I suspect a well calibrated wait might help there but I haven't tested it out yet) The full bind file is here in the spoiler tag: // Comment on 'wait's: // I find with other binds on the forums that the buy menu doesn't close automatically. I'm not sure if that's a // common problem or if it's just me. I found that putting a longish wait at the end of the sequence and then 'slot10' // (I think menuselect 0 works too) worked well. It probably depends on lag, so you might be able to change the 123 // value to be lower if you have sweet ping, or higher if it's not long enough for the menu to pop up. // Just do a find-replace on all instances of wait 123; // I have aliased everything to a gc_ prefixed name. Just bind a key to what you want. The actual binds are near the // bottom of the file. // All commands use the sm_ variant so nothing should be output to chat. (ie sm_buy instead of say !buy) // ----- Survivor aliases. ----- // Weapons Secondary alias gc_pistol "sm_buy; wait 1; menuselect 1; wait 1; menuselect 1; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_desert_eagle "sm_buy; wait 1; menuselect 1; wait 1; menuselect 1; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_baseball_bat "sm_buy; wait 1; menuselect 1; wait 1; menuselect 1; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" // The rest of the melee weapons seem to be really inconsistent between maps. You'll just have to use the menu // Weapons Sniper alias gc_hunting_rifle "sm_buy; wait 1; menuselect 1; wait 1; menuselect 2; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_scout "sm_buy; wait 1; menuselect 1; wait 1; menuselect 2; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_awp "sm_buy; wait 1; menuselect 1; wait 1; menuselect 2; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_military_sniper "sm_buy; wait 1; menuselect 1; wait 1; menuselect 2; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" // Weapons Assault alias gc_assault_rifle "sm_buy; wait 1; menuselect 1; wait 1; menuselect 3; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_desert_rifle "sm_buy; wait 1; menuselect 1; wait 1; menuselect 3; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_ak_47 "sm_buy; wait 1; menuselect 1; wait 1; menuselect 3; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_sg552 "sm_buy; wait 1; menuselect 1; wait 1; menuselect 3; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" alias gc_m60 "sm_buy; wait 1; menuselect 1; wait 1; menuselect 3; wait 1; menuselect 5; wait 1; menuselect 1; wait 123; slot10" // Weapons Shotgun alias gc_chrome_shotgun "sm_buy; wait 1; menuselect 1; wait 1; menuselect 4; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_pump_shotgun "sm_buy; wait 1; menuselect 1; wait 1; menuselect 4; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_auto_shotgun "sm_buy; wait 1; menuselect 1; wait 1; menuselect 4; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_spas_shotgun "sm_buy; wait 1; menuselect 1; wait 1; menuselect 4; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" // Weapons Submachine gun alias gc_smg "sm_buy; wait 1; menuselect 1; wait 1; menuselect 5; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_silenced_smg "sm_buy; wait 1; menuselect 1; wait 1; menuselect 5; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_mp5 "sm_buy; wait 1; menuselect 1; wait 1; menuselect 5; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" //Weapons Thrown alias gc_molotov "sm_buy; wait 1; menuselect 1; wait 1; menuselect 6; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_pipe_bomb "sm_buy; wait 1; menuselect 1; wait 1; menuselect 6; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_bile_jar "sm_buy; wait 1; menuselect 1; wait 1; menuselect 6; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" // Upgrades alias gc_laser "sm_laser" alias gc_explosive_gun "sm_buy; wait 1; menuselect 2; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_incendiary_gun "sm_buy; wait 1; menuselect 2; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_explosive_pack "sm_buy; wait 1; menuselect 2; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" alias gc_incendiary_pack "sm_buy; wait 1; menuselect 2; wait 1; menuselect 5; wait 1; menuselect 1; wait 123; slot10" alias gc_ammo "sm_ammo" // Health alias gc_first_aid_kit "sm_buy; wait 1; menuselect 3; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_defibrillator "sm_buy; wait 1; menuselect 3; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_pain_pills "sm_buy; wait 1; menuselect 3; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_adrenaline "sm_buy; wait 1; menuselect 3; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" alias gc_full_heal "sm_heal" alias gc_respawn_on_corpse "sm_buy; wait 1; menuselect 3; wait 1; menuselect 6; wait 1; menuselect 1; wait 123; slot10" // Misc alias gc_grenade_launcher "sm_buy; wait 1; menuselect 4; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_chainsaw "sm_buy; wait 1; menuselect 4; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_gnome_chompsky "sm_buy; wait 1; menuselect 4; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_cola_bottles "sm_buy; wait 1; menuselect 4; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" alias gc_gas_can "sm_buy; wait 1; menuselect 4; wait 1; menuselect 5; wait 1; menuselect 1; wait 123; slot10" alias gc_oxygen_tank "sm_buy; wait 1; menuselect 4; wait 1; menuselect 6; wait 1; menuselect 1; wait 123; slot10" alias gc_fireworks_crate "sm_buy; wait 1; menuselect 4; wait 1; menuselect 7; wait 1; menuselect 1; wait 123; slot10" alias gc_propane_tank "sm_buy; wait 1; menuselect 4; wait 1; menuselect 9; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" // ----- Infected aliases. ----- alias gc_suicide "sm_buy; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_increase_boomer "sm_buy; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_increase_spitter "sm_buy; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" alias gc_increase_smoker "sm_buy; wait 1; menuselect 5; wait 1; menuselect 1; wait 123; slot10" alias gc_increase_hunter "sm_buy; wait 1; menuselect 6; wait 1; menuselect 1; wait 123; slot10" alias gc_increase_charger "sm_buy; wait 1; menuselect 7; wait 1; menuselect 1; wait 123; slot10" alias gc_increase_jockey "sm_buy; wait 1; menuselect 9; wait 1; menuselect 1; wait 1; menuselect 1; wait 123; slot10" alias gc_tank "sm_buy; wait 1; menuselect 9; wait 1; menuselect 2; wait 1; menuselect 1; wait 123; slot10" alias gc_witch "sm_buy; wait 1; menuselect 9; wait 1; menuselect 3; wait 1; menuselect 1; wait 123; slot10" alias gc_horde "sm_buy; wait 1; menuselect 9; wait 1; menuselect 4; wait 1; menuselect 1; wait 123; slot10" // Ghost(disabled) goes here alias gc_horde_witch_on_respawns "sm_buy; wait 1; menuselect 3; wait 1; menuselect 6; wait 1; menuselect 1; wait 123; slot10" // ----- Util aliases. ----- alias +gc_rocketspawn "+reload;+attack" alias -gc_rocketspawn "-attack;-reload" alias gc_get_up_from_ledge "sm_getup" alias gc_ready_and_points "sm_points; sm_ready" alias gc_team_points "sm_tp" alias gc_teams "sm_teams" alias gc_jointeam "sm_jointeam" alias gc_buy "sm_buy" alias gc_unbound "echo key not bound" // ----- Keybinds ----- // Numpad // [Numlock] [slash ] [star ] [Minus] // [7 Home ] [8 Up ] [9 PGUP ] [Plus ] // [4 Left ] [5 ] [6 Right] [Plus ] // [1 End ] [2 Down] [3 PGDN ] [Enter] // [0 Del ] [. INS ] [Enter] // Top Row bind KP_NUMLOCK gc_m60 bind KP_SLASH gc_laser bind KP_STAR gc_pain_pills bind KP_MINUS gc_adrenaline // Second Row bind KP_HOME gc_desert_eagle bind KP_UPARROW gc_ak_47 bind KP_PGUP gc_mp5 bind KP_PLUS gc_ammo // Third Row bind KP_LEFTARROW gc_defibrillator bind KP_5 gc_first_aid_kit bind KP_RIGHTARROW gc_pain_pills // Fourth Row bind KP_END gc_fireworks_crate bind KP_DOWNARROW gc_molotov bind KP_PGDN gc_incendiary_gun bind KP_ENTER gc_full_heal // Bottom Row bind KP_DEL gc_incendiary_pack bind KP_INS gc_explosive_pack // Other bind [ "gc_team_points" bind ] "gc_teams" bind \ "gc_buy" bind enter "gc_ready_and_points" // (I have otaku caps and I'm still not quite used to them. This makes sure I hit buy when I mean to.) bind o "gc_buy" bind p "gc_buy" bind mouse5 +gc_rocketspawn bind mouse3 gc_suicide Or attached for download. autoexec.cfg 2 Quote Link to comment Share on other sites More sharing options...
Pronouncemyname March 1, 2013 Share Pronouncemyname Member March 1, 2013 You are awesome. Quote Link to comment Share on other sites More sharing options...
tonerrrr March 1, 2013 Share tonerrrr Member March 1, 2013 Great work! Quote Link to comment Share on other sites More sharing options...
awuwish March 1, 2013 Share awuwish Member March 1, 2013 Maybe I'm missing something, but what exactly do the rocketspawn commands do? I've never seens +/- attack/reload. Quote Link to comment Share on other sites More sharing options...
Mercman March 1, 2013 Share Mercman GC Server Admin March 1, 2013 Maybe I'm missing something, but what exactly do the rocketspawn commands do? I've never seens +/- attack/reload. you can fo the flying boomer,charger,jockey with that command. what the +/- do idk but it works Thanks Quote Link to comment Share on other sites More sharing options...
awuwish March 1, 2013 Share awuwish Member March 1, 2013 Ohhhhh crap, that's awesome. I'll have to set that up. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.