Team Fortress 2
Toggle eureka teleport help
solarlight's eureka effect script is weird, so i tried altering the shift toggle so that instead of holding it all i needed to do was just press it, but im having trouble with it. can anyone help me?

solarlight's script [gamebanana.com]
< >
Showing 1-8 of 8 comments
GhastlyGhostJr Feb 3, 2018 @ 9:41pm 
What part isnt working?
Maybe try Uncle Danes script for it:
////////////////////////////////////////////// // Uncle Dane's Quick-Switch Loadout Script // ////////////////////////////////////////////// bind "KP_END" "load_itempreset 0" bind "KP_DOWNARROW" "load_itempreset 1" bind "KP_PGDN" "load_itempreset 2" bind "KP_LEFTARROW" "load_itempreset 3" /////////////////////////////////////// ///////////////////////////////////////////////////// // SolarLight's Eureka Effect Fast Teleport Script // ///////////////////////////////////////////////////// bind b +teleport alias +teleport slot3 alias -teleport Teleport_To_Spawn alias Teleport_To_Spawn "eureka_teleport" alias Teleport_To_Exit "eureka_teleport 1" bind shift +toggleTeleport alias +toggleTeleport "alias -teleport Teleport_To_Exit" alias -toggleTeleport "alias -teleport Teleport_To_Spawn" ///////////////////////////////////////////////////////// ////////////////////////// //Sentry Quickbuild Bind// ////////////////////////// bind "MOUSE3" "destroy 2 0; build 2 0" ////////////////////////////////////// ///////////////////////////// //Dispenser Quickbuild Bind// ///////////////////////////// bind "4" "destroy 0 0; build 0 0" ///////////////////////////////// /////////////////////////////////////// //Teleporter Entrance Quickbuild Bind// /////////////////////////////////////// bind "5" "destroy 1 0; build 1 0" ///////////////////////////////// /////////////////////////////////// //Teleporter Exit Quickbuild Bind// /////////////////////////////////// bind "6" "destroy 1 1; build 1 1" /////////////////////////////////
Last edited by GhastlyGhostJr; Feb 3, 2018 @ 9:42pm
salt water sand Feb 3, 2018 @ 9:46pm 
Originally posted by GhastlyGhostJr:
What part isnt working?
Maybe try Uncle Danes script for it:
////////////////////////////////////////////// // Uncle Dane's Quick-Switch Loadout Script // ////////////////////////////////////////////// bind "KP_END" "load_itempreset 0" bind "KP_DOWNARROW" "load_itempreset 1" bind "KP_PGDN" "load_itempreset 2" bind "KP_LEFTARROW" "load_itempreset 3" /////////////////////////////////////// ///////////////////////////////////////////////////// // SolarLight's Eureka Effect Fast Teleport Script // ///////////////////////////////////////////////////// bind b +teleport alias +teleport slot3 alias -teleport Teleport_To_Spawn alias Teleport_To_Spawn "eureka_teleport" alias Teleport_To_Exit "eureka_teleport 1" bind shift +toggleTeleport alias +toggleTeleport "alias -teleport Teleport_To_Exit" alias -toggleTeleport "alias -teleport Teleport_To_Spawn" ///////////////////////////////////////////////////////// ////////////////////////// //Sentry Quickbuild Bind// ////////////////////////// bind "MOUSE3" "destroy 2 0; build 2 0" ////////////////////////////////////// ///////////////////////////// //Dispenser Quickbuild Bind// ///////////////////////////// bind "4" "destroy 0 0; build 0 0" ///////////////////////////////// /////////////////////////////////////// //Teleporter Entrance Quickbuild Bind// /////////////////////////////////////// bind "5" "destroy 1 0; build 1 0" ///////////////////////////////// /////////////////////////////////// //Teleporter Exit Quickbuild Bind// /////////////////////////////////// bind "6" "destroy 1 1; build 1 1" /////////////////////////////////

it is working, i did try it. im just trying to figure out how to toggle the teleport. currently, in order to teleport to the exit teleporter, you have to hold shift, and press b. instead, what i want is you press shift, and you go to your exit teleporter. when you press shift then b again, it teleports me to spawn. im basically turning shift into a togglable button
Last edited by salt water sand; Feb 3, 2018 @ 9:47pm
salt water sand Feb 3, 2018 @ 10:29pm 
oh s*** i got it

this is basically solarlight's code but i made it togglable, cuz i can
yeah

/////////////////////////////////////////////////////
// SolarLight's Fast Eureka Effect Teleport Script w/Toggle by ❮ϟ𝟑 //
/////////////////////////////////////////////////////
bind b +teleport
alias +teleport slot3
alias -teleport Teleport_To_Spawn

alias Teleport_To_Spawn "eureka_teleport 0"
alias Teleport_To_Exit "eureka_teleport 1"

alias toggleon "bind b Teleport_To_Exit; bind ctrl toggleoff"
alias toggleoff "bind b Teleport_To_Spawn; bind ctrl toggleon"
bind ctrl toggleon
/////////////////////////////////////////////////////////
salt water sand Feb 3, 2018 @ 10:37pm 
i would also like to link this dicussion because i basically copied it. so yeah

https://steamcommunity.com/app/440/discussions/0/537402115088044387/
EllboyAJ Feb 4, 2018 @ 8:46am 
i have to retype mine in a line at a time to get it to work
i also put it in autoexec.cfg but it still isnt auto starting any help?
salt water sand Feb 4, 2018 @ 10:36am 
Originally posted by Ellboy:
i have to retype mine in a line at a time to get it to work
i also put it in autoexec.cfg but it still isnt auto starting any help?

did you do exec autoexec in console?
also, just copy the script into notepad++ or any coding program, save it as a cfg, then move it into Steam\steamapps\common\Team Fortress 2\tf\cfg
Last edited by salt water sand; Feb 4, 2018 @ 10:39am
salt water sand Feb 4, 2018 @ 10:44am 
Originally posted by Ellboy:
i have to retype mine in a line at a time to get it to work
i also put it in autoexec.cfg but it still isnt auto starting any help?

if you want more info on scripts, heres the wiki on it
https://wiki.teamfortress.com/wiki/Scripting

and here's the shorthand version
https://www.gamefaqs.com/boards/437678-team-fortress-2/56828849

also any binds that you typed out replaces any binds in the keyboard binds under options.
ex: spy's last diguise default button is b, but the "eureka effect teleport back to spawn" button is b, so the script overrides it and replaces it

sorry if its kinda confusing
Last edited by salt water sand; Feb 4, 2018 @ 12:40pm
Bun Shapiro Sep 8, 2021 @ 10:58am 
I got you guys heres a script i made after much frustration with NO toggle just press shift or whatever bind to go to tele exit


/////////////////////////////////////////////////////
// The Nutcrack's Eureka Effect Fast Teleport Script (no toggle)//
/////////////////////////////////////////////////////
bind h +telespawn
alias +telespawn slot3
alias -telespawn "eureka_teleport"

bind shift +teleexit
alias +teleexit slot3
alias -teleexit "eureka_teleport 1"
/////////////////////////////////////////////////////////
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Feb 3, 2018 @ 9:09pm
Posts: 8