Hmmm
This commit is contained in:
parent
0f497a9945
commit
92018b3880
@ -27,35 +27,29 @@
|
||||
// Todo List //
|
||||
//===============//
|
||||
|
||||
// 1. Get menu selection of chatspam working
|
||||
// 2. Impliment ui redirects of movement keys
|
||||
// 3. Use movement keys to create a simple anti-aim system
|
||||
// 4. Impliment ui redirects of jump key
|
||||
// 5. Configure bhop to use the redirects
|
||||
// 6. Add bhop to the misc menu list
|
||||
// 7. Add lots of info through hudConsole to many parts of the script
|
||||
// 8. Strip hudConsole to only its essential parts
|
||||
// 9. Move Binds to a central area for easy changing
|
||||
// 10. Test and fix scripts for bugs
|
||||
// 11. Correct any broken eye candy syntax
|
||||
// 12. Prepare for :b:ig release and release
|
||||
// !!DONE!! Get menu selection of chatspam working
|
||||
// Fix minisentry script
|
||||
// Impliment ui redirects of movement keys
|
||||
// Use movement keys to create a simple anti-aim system
|
||||
// Impliment ui redirects of jump key
|
||||
// Configure bhop to use the redirects
|
||||
// Add bhop to the misc menu list
|
||||
// Add lots of info through hudConsole to many parts of the script
|
||||
// Strip hudConsole to only its essential parts
|
||||
// Move Binds to a central area for easy changing
|
||||
// Test and fix scripts for bugs
|
||||
// Correct any broken eye candy syntax
|
||||
// Prepare for :b:ig release and release
|
||||
|
||||
echo Autoexecuting!
|
||||
|
||||
|
||||
// We execute the graphics config here so that it doesnt conflict with our scripts.
|
||||
echo Execute Graphical Config!
|
||||
exec gfx // I use feliks graphical config but you may use your own.
|
||||
echo Execute Graphical Config Complete!
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
// Commands For Scripts //
|
||||
//
|
||||
// Allow Wait Command //
|
||||
sv_allow_wait_command 1 //
|
||||
//
|
||||
// //
|
||||
//////////////////////////////////////////////////
|
||||
|
||||
|
||||
echo Loading Scripts!
|
||||
|
||||
echo Aliasing hudConsoleApi!
|
||||
@ -222,47 +216,6 @@ alias hudOnali60 "disAllCon;enHudCon;alias hudOffali60 disHudCon" //
|
||||
// //
|
||||
//--------------------------------------------------------------------------------------------------------------------------------------------------------------//
|
||||
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. // // //
|
||||
//======================================================// // //
|
||||
// //
|
||||
////////////////////////////////////////////// // //-----------------------------------------------------------------------------------------------------------------
|
||||
// Redirection handling // //
|
||||
// //----------------------------------------------------------------------------------------------------------------------
|
||||
// Reset redirects to default //
|
||||
|
||||
alias uiResetVax "alias uiButton1 slot1; alias uiButton2 slot2; alias uiButton3 slot3; alias uiButton4 slot4; alias +uiButtonR +reload; alias -uiButtonR -reload"
|
||||
alias uiResetKeys "alias +uiButtonKey1 +attack3; alias -uiButtonKey1 -attack3; alias uiButtonKey2; alias uiButtonKey3; alias +uiButtonAttack +attack; alias -uiButtonAttack -attack" //
|
||||
// prevent crashes from not having aliases // // // //
|
||||
uiResetVax // // //
|
||||
//////////////////////////////////////////////
|
||||
// Redirection of slot keys + reload //
|
||||
//
|
||||
// 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 uiToVax "alias uiButton1 vaxKey1; alias uiButton2 vaxKey2; alias uiButton3 vaxKey3; alias uiButton4 vaxKey4; alias +uiButtonR vaxKeyR; alias -uiButtonR"
|
||||
uiResetVax
|
||||
// Bind keys to redirects
|
||||
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
|
||||
// // //
|
||||
// Give scripts control of keys // // //
|
||||
alias uiToVax "alias uiButton1 vaxKey1; alias uiButton2 vaxKey2; alias uiButton3 vaxKey3; alias uiButton4 vaxKey4; alias +uiButtonR vaxKeyR; alias -uiButtonR" // //
|
||||
alias uiToMediQuick "alias uiButtonKey2 mQsButton1; alias uiButtonKey3 mQsButton2" // //
|
||||
alias uiToMiniSentry "alias +uiButtonKey1 miniKey1; alias -uiButtonKey1; alias uiButtonKey2 miniKey2; alias uiButtonKey3 miniKey3; alias -uiButtonAttack miniKeyAttack" // //
|
||||
// // //
|
||||
// // //----------------------------------------------------------------------------------------------------------------------// //
|
||||
////////////////////////////////////////////// // //
|
||||
// //----------------------------------------------------------------------------------------------------------------------//
|
||||
////////////////////////////////// // //
|
||||
// Binds // // //
|
||||
// // //
|
||||
echo Binding Redirects! // // //
|
||||
// // //
|
||||
bind 1 "uiButton1" // // //
|
||||
bind 2 "uiButton2" // // //
|
||||
bind 3 "uiButton3" // // //
|
||||
bind 4 "uiButton4" // // //
|
||||
// // //
|
||||
bind r "+uiButtonR" // // //
|
||||
// // //
|
||||
bind MOUSE1 "+uiButtonAttack" // // //
|
||||
bind MOUSE3 "+uiButtonKey1" // // //
|
||||
bind MOUSE5 "uiButtonKey2" // // //
|
||||
bind MOUSE4 "uiButtonKey3" // // //
|
||||
// // //
|
||||
echo Bound Redirects! // // //
|
||||
// // //
|
||||
// // // //
|
||||
////////////////////////////////// // //
|
||||
// //
|
||||
// Bind keys to redirects
|
||||
bind MOUSE1 "+uiButtonAttack"
|
||||
bind MOUSE3 "+uiButtonKey1"
|
||||
bind MOUSE5 "uiButtonKey2"
|
||||
bind MOUSE4 "uiButtonKey3"
|
||||
|
||||
|
||||
// Redirection of movement keys
|
||||
|
||||
// Prevent player from not moving when 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
|
||||
// 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"
|
||||
uiResetMovement
|
||||
// Bind keys to redirects
|
||||
bind w "+uiButtonFwd"
|
||||
bind a "+uiButtonLeft"
|
||||
bind s "+uiButtonBack"
|
||||
bind d "+uiButtonRight"
|
||||
|
||||
//--------------------------------------------------------------// //
|
||||
// //
|
||||
//------------------------------------------------------------------//
|
||||
@ -334,10 +296,10 @@ bind uparrow gPointerUp
|
||||
bind downarrow gPointerDown
|
||||
bind enter gPointerSelect
|
||||
|
||||
//bind bindCallSet
|
||||
|
||||
echo finished crap bind job
|
||||
|
||||
|
||||
|
||||
echo Aliasing Console Menu!
|
||||
//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------//
|
||||
// Menu Script //
|
||||
|
@ -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
|
||||
exec cat_lastcfg
|
||||
cat_killsay_file killsays_full.txt; cat_killsay_reload
|
||||
cat_spam_file bee.txt; cat_spam_reload
|
||||
|
||||
//\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
|
||||
//Synchronized commands for bots
|
||||
// Bot directional commands
|
||||
//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 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
|
||||
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 e "voicemenu 0 0"
|
||||
bind g +taunt
|
||||
|
||||
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
|
||||
alias +speed "q_sv_cheats 1 ; q_host_timescale 7"
|
||||
alias -speed "q_host_timescale 1 ; q_sv_cheats 0 "
|
||||
q_sv_cheats 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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"
|
||||
cat_spoof sv_allow_wait_command
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user