This commit is contained in:
julianacat 2017-08-08 10:24:10 -05:00
parent 0f497a9945
commit 92018b3880
2 changed files with 82 additions and 191 deletions

View File

@ -27,35 +27,29 @@
// Todo List // // Todo List //
//===============// //===============//
// 1. Get menu selection of chatspam working // !!DONE!! Get menu selection of chatspam working
// 2. Impliment ui redirects of movement keys // Fix minisentry script
// 3. Use movement keys to create a simple anti-aim system // Impliment ui redirects of movement keys
// 4. Impliment ui redirects of jump key // Use movement keys to create a simple anti-aim system
// 5. Configure bhop to use the redirects // Impliment ui redirects of jump key
// 6. Add bhop to the misc menu list // Configure bhop to use the redirects
// 7. Add lots of info through hudConsole to many parts of the script // Add bhop to the misc menu list
// 8. Strip hudConsole to only its essential parts // Add lots of info through hudConsole to many parts of the script
// 9. Move Binds to a central area for easy changing // Strip hudConsole to only its essential parts
// 10. Test and fix scripts for bugs // Move Binds to a central area for easy changing
// 11. Correct any broken eye candy syntax // Test and fix scripts for bugs
// 12. Prepare for :b:ig release and release // Correct any broken eye candy syntax
// Prepare for :b:ig release and release
echo Autoexecuting! echo Autoexecuting!
// We execute the graphics config here so that it doesnt conflict with our scripts. // We execute the graphics config here so that it doesnt conflict with our scripts.
echo Execute Graphical Config! echo Execute Graphical Config!
exec gfx // I use feliks graphical config but you may use your own. exec gfx // I use feliks graphical config but you may use your own.
echo Execute Graphical Config Complete! echo Execute Graphical Config Complete!
//////////////////////////////////////////////////
// Commands For Scripts //
//
// Allow Wait Command //
sv_allow_wait_command 1 //
//
// //
//////////////////////////////////////////////////
echo Loading Scripts! echo Loading Scripts!
echo Aliasing hudConsoleApi! echo Aliasing hudConsoleApi!
@ -222,47 +216,6 @@ alias hudOnali60 "disAllCon;enHudCon;alias hudOffali60 disHudCon" //
// // // //
//--------------------------------------------------------------------------------------------------------------------------------------------------------------// //--------------------------------------------------------------------------------------------------------------------------------------------------------------//
echo Aliased hudConsoleApi! echo Aliased hudConsoleApi!
echo Aliasing Anti-Null Movement script!
//------------------------------------------------------------------------------//
// Anti-Null Movement script //
//--------------------------------------------------------------------------// //
// //
//==============================================// // //
// Bind this to prevent player from not moving // // //
// With 2 opposing keys are de-pressed. // // //
//==============================================// // //
// //
alias +nullFwd "-back; +forward; alias nullCheckFwd +forward" // //
alias +nullBack "-forward; +back; alias nullCheckBack +back" // //
alias +nullLeft "-moveright; +moveleft; alias nullCheckLeft +moveleft" // //
alias +nullRight "-moveleft; +moveright; alias nullCheckRight +moveright" // //
// //
alias -nullFwd "-forward; nullCheckBack; alias nullCheckFwd" // //
alias -nullBack "-back; nullCheckFwd; alias nullCheckBack" // //
alias -nullLeft "-moveleft; nullCheckRight; alias nullCheckLeft" // //
alias -nullRight "-moveright; nullCheckLeft; alias nullCheckRight" // //
// //
alias nullCheckFwd // //
alias nullCheckBack // //
alias nullCheckLeft // //
alias nullCheckRight // //
// //
echo Binding Anti-Null Movement! // //
// //
bind w "+nullFwd" // //
bind a "+nullLeft" // //
bind s "+nullBack" // //
bind d "+nullRight" // //
// //
echo Bound Anti-Null Movement! // //
// //
//--------------------------------------------------------------------------// //
// //
//------------------------------------------------------------------------------//
echo Aliased Anti-Null Movement script!
@ -279,47 +232,56 @@ echo Aliasing User Input Redirection!
// with them built with this in mind. // // // // with them built with this in mind. // // //
//======================================================// // // //======================================================// // //
// // // //
////////////////////////////////////////////// // //----------------------------------------------------------------------------------------------------------------- //////////////////////////////////////////////
// Redirection handling // // // Redirection of slot keys + reload //
// //---------------------------------------------------------------------------------------------------------------------- //
// Reset redirects to default // // Redirects for vaccinator script
alias uiResetVax "alias uiButton1 slot1; alias uiButton2 slot2; alias uiButton3 slot3; alias uiButton4 slot4; alias +uiButtonR +reload; alias -uiButtonR -reload"
alias uiResetVax "alias uiButton1 slot1; alias uiButton2 slot2; alias uiButton3 slot3; alias uiButton4 slot4; alias +uiButtonR +reload; alias -uiButtonR -reload" alias uiToVax "alias uiButton1 vaxKey1; alias uiButton2 vaxKey2; alias uiButton3 vaxKey3; alias uiButton4 vaxKey4; alias +uiButtonR vaxKeyR; alias -uiButtonR"
alias uiResetKeys "alias +uiButtonKey1 +attack3; alias -uiButtonKey1 -attack3; alias uiButtonKey2; alias uiButtonKey3; alias +uiButtonAttack +attack; alias -uiButtonAttack -attack" // uiResetVax
// prevent crashes from not having aliases // // // // // Bind keys to redirects
uiResetVax // // // bind 1 "uiButton1"
bind 2 "uiButton2"
bind 3 "uiButton3"
bind 4 "uiButton4"
bind r "+uiButtonR"
// Redirection of attack + extra keys
// Redirects for attack + other buttons
alias uiResetKeys "alias +uiButtonKey1 +attack3; alias -uiButtonKey1 -attack3; alias uiButtonKey2; alias uiButtonKey3; alias +uiButtonAttack +attack; alias -uiButtonAttack -attack"
alias uiToMediQuick "alias uiButtonKey2 mQsButton1; alias uiButtonKey3 mQsButton2"
alias uiToMiniSentry "alias +uiButtonKey1 miniKey1; alias -uiButtonKey1; alias uiButtonKey2 miniKey2; alias uiButtonKey3 miniKey3; alias -uiButtonAttack miniKeyAttack"
uiResetKeys uiResetKeys
// // // // Bind keys to redirects
// Give scripts control of keys // // // bind MOUSE1 "+uiButtonAttack"
alias uiToVax "alias uiButton1 vaxKey1; alias uiButton2 vaxKey2; alias uiButton3 vaxKey3; alias uiButton4 vaxKey4; alias +uiButtonR vaxKeyR; alias -uiButtonR" // // bind MOUSE3 "+uiButtonKey1"
alias uiToMediQuick "alias uiButtonKey2 mQsButton1; alias uiButtonKey3 mQsButton2" // // bind MOUSE5 "uiButtonKey2"
alias uiToMiniSentry "alias +uiButtonKey1 miniKey1; alias -uiButtonKey1; alias uiButtonKey2 miniKey2; alias uiButtonKey3 miniKey3; alias -uiButtonAttack miniKeyAttack" // // bind MOUSE4 "uiButtonKey3"
// // //
// // //----------------------------------------------------------------------------------------------------------------------// //
////////////////////////////////////////////// // // // Redirection of movement keys
// //----------------------------------------------------------------------------------------------------------------------//
////////////////////////////////// // // // Prevent player from not moving when 2 opposing keys are de-pressed.
// Binds // // // alias +nullFwd "-back; +forward; alias nullCheckFwd +forward"
// // // alias +nullBack "-forward; +back; alias nullCheckBack +back"
echo Binding Redirects! // // // alias +nullLeft "-moveright; +moveleft; alias nullCheckLeft +moveleft"
// // // alias +nullRight "-moveleft; +moveright; alias nullCheckRight +moveright"
bind 1 "uiButton1" // // // alias -nullFwd "-forward; nullCheckBack; alias nullCheckFwd"
bind 2 "uiButton2" // // // alias -nullBack "-back; nullCheckFwd; alias nullCheckBack"
bind 3 "uiButton3" // // // alias -nullLeft "-moveleft; nullCheckRight; alias nullCheckLeft"
bind 4 "uiButton4" // // // alias -nullRight "-moveright; nullCheckLeft; alias nullCheckRight"
// // // alias nullCheckFwd; alias nullCheckBack; alias nullCheckLeft; alias nullCheckRight
bind r "+uiButtonR" // // // // Redirects for movement keys
// // // alias uiResetMovement "alias +uiButtonFwd +nullFwd; alias -uiButtonFwd -nullFwd; alias +uiButtonBack +nullBack; alias -uiButtonBack -nullBack; alias +uiButtonLeft +nullLeft; alias -uiButtonLeft -nullLeft; alias +uiButtonRight +nullRight; alias -uiButtonRight -nullRight"
bind MOUSE1 "+uiButtonAttack" // // // uiResetMovement
bind MOUSE3 "+uiButtonKey1" // // // // Bind keys to redirects
bind MOUSE5 "uiButtonKey2" // // // bind w "+uiButtonFwd"
bind MOUSE4 "uiButtonKey3" // // // bind a "+uiButtonLeft"
// // // bind s "+uiButtonBack"
echo Bound Redirects! // // // bind d "+uiButtonRight"
// // //
// // // //
////////////////////////////////// // //
// //
//--------------------------------------------------------------// // //--------------------------------------------------------------// //
// // // //
//------------------------------------------------------------------// //------------------------------------------------------------------//
@ -334,10 +296,10 @@ bind uparrow gPointerUp
bind downarrow gPointerDown bind downarrow gPointerDown
bind enter gPointerSelect bind enter gPointerSelect
//bind bindCallSet
echo finished crap bind job echo finished crap bind job
echo Aliasing Console Menu! echo Aliasing Console Menu!
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------// //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
// Menu Script // // Menu Script //

View File

@ -1,98 +1,27 @@
////////////////////////////////////////
//Julianacat's main autoexec configs for cathook!
//
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//Connect to the cathook ipc server allowing bots to operate
cat_ipc_connect
//Execing previous cfgs as well as load spam files //Execing previous cfgs as well as load spam files
exec cat_lastcfg exec cat_lastcfg
cat_killsay_file killsays_full.txt; cat_killsay_reload
cat_spam_file bee.txt; cat_spam_reload
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ // Bot directional commands
//Synchronized commands for bots //bind j "cat_fb_tool move" //Move to location then return, good for picking up resupply, metal or health from ground
//bind i "cat_fb_tool move; cat_fb_tool stay" //Move to location and stay there, usefull for leaving bots as a destraction while you do other things
// Pressing medic calls the bots to follow you, bots reply with medic as a responce
//bind e +ekey
//alias +ekey "voicemenu 0 0; cat_fb_tool follow; cat_fb_follow_me; cat_ipc_exec_all voicemenu 0 0; +rcond; impulse 201"
//alias -ekey "-rcond"
// Synchronized taunting is cool
//bind g "taunt; cat_ipc_exec_all taunt"
// Sync voting with bots
//bind f2 "vote option2; cat_ipc_exec_all vote option2"
//bind f1 "vote option1; cat_ipc_exec_all vote option1"
bind j "cat_fb_tool move" //Move to location then return, good for picking up resupply, metal or health from ground bind e "voicemenu 0 0"
bind i "cat_fb_tool move; cat_fb_tool stay" //Move to location and stay there, usefull for leaving bots as a destraction while you do other things bind g +taunt
alias +ekey "voicemenu 0 0; cat_fb_tool follow; cat_fb_follow_me; cat_ipc_exec_all voicemenu 0 0; +rcond; impulse 201"
alias -ekey "-rcond"
bind e +ekey //Pressing medic calls the bots to follow you, bots reply with medic as a responce
bind g "taunt; cat_ipc_exec_all taunt" //Synchronized taunting is cool
bind "rightarrow" "-copypasta; cat_ipc_exec_all -copypasta" //My bind alias that allows chatspam utilizing all bots
//bind l "cat_ipc_exec_all savres_t" //Bind a key to disable bots rendering saving on fps on low spec systems
//Allows bots to vote whatever you vote, you need to press multiple times
bind f2 "vote option2; cat_ipc_exec_all vote option2"
bind f1 "vote option1; cat_ipc_exec_all vote option1"
//
//////////////////////////////////////
//Bind a toggle for airstuck (airstuck isnt that great but it works well with bots)
//bindtoggle q cat_airstuck_toggle
//Bound whatever key to +speed for a quick speedhack for farming payload carts
bind f +speed
cat_spoof sv_cheats cat_spoof sv_cheats
alias +speed "q_sv_cheats 1 ; q_host_timescale 7" q_sv_cheats 1
alias -speed "q_host_timescale 1 ; q_sv_cheats 0 "
cat_spoof sv_allow_wait_command
alias +rcond "cowaitT"
alias -rcond "stopcoLoop"
alias startcoLoop "alias coredirect coloop; coloop"
alias stopcoLoop "alias coredirect"
alias coloop "cat_removecond;wait 9;coredirect"
//Wait tester, if wait is disabled then it would crash tf2 without this.
alias cowaitT "alias cowaitTest startcoLoop; alias wait cosetwaitest; wait ; cowaitTest"
alias cosetwaitest "alias cowaitTest cat_removecond"
q_sv_allow_wait_command 1 q_sv_allow_wait_command 1
//Network settings for accuracy with cathook
//cl_cmdrate 66
//cl_interp_ratio 1
//cl_interp 0
//cl_updaterate 66
//rate 100000
//cl_smooth 0
//cl_smoothtime 0.01
//cl_pred_optimize 0
//cat_set sv_client_min_interp_ratio -1
//cat_set cl_interp_ratio 0
//cat_set cl_extrapolate 0
cat_name [Cathook]Onee chan :3
cat_disconnect_reason VAC banned fro... Oh wait...
//Dead code utilizing airstuck for infinite healing medics, airstuck is now fixed but i keep the code for future pastes
//alias +exheal "cat_ipc_exec_all exhheal"
//alias -exheal "cat_ipc_exec_all exheal; wait 125; kill;wait 50; join_class spy;wait 25;join_class sniper"
//bind t +exheal
bind t catbot_snipers
alias catbot_sniper1 "alias catbot_snipers catbot_sniper2;cat_ipc_exec 1 join_class sniper"
alias catbot_sniper2 "alias catbot_snipers catbot_sniper3;cat_ipc_exec 2 join_class sniper"
alias catbot_sniper3 "alias catbot_snipers catbot_sniper4;cat_ipc_exec 3 join_class sniper"
alias catbot_sniper4 "alias catbot_snipers catbot_sniper5;cat_ipc_exec 4 join_class sniper"
alias catbot_sniper5 "alias catbot_snipers catbot_sniper6;cat_ipc_exec 5 join_class sniper"
alias catbot_sniper6 "alias catbot_snipers catbot_sniperR;cat_ipc_exec 6 join_class sniper"
alias catbot_sniperR "alias catbot_snipers catbot_sniper1"
catbot_sniperR
unbind q
cat_software_cursor_mode 3