When I'm watching almost any high level player play comp, they have a bind that instantly resupplies their health and ammo without removing existing sentries, or ubers.
It's something simple, and a short line of code that I can't remember. Thanks
When I'm watching almost any high level player play comp, they have a bind that instantly resupplies their health and ammo without removing existing sentries, or ubers.
It's something simple, and a short line of code that I can't remember. Thanks
I use load_itempreset 0, I think you can also use the change class command and it has the same effect but I'm not sure. Also worth noting that doing this to keep your uber and backspawn is banned in esea.
its probaly
bind "mouse1" "+attack; impluse 101; spec_next"
bind "key" "sv_cheats 1; impulse 101"
could be made better but that'll work fine for you
e: ninja'd a lot with different info, sorry if this is the wrong thing
saambind "F1" "load_itempreset 0"
This ^
Note that what this command does is load your A loadout preset, the first one in your class loadout screen, so if you were like the B loadout preset, it'll spawn you with the A one.
bind uparrow "load_itempreset 2"
bind downarrow "load_itempreset 0"
bind rightarrow "load_itempreset 3"
bind leftarrow "load_itempreset 1"
The binds will respawn you if you're currently in spawn (giving you full health/ammo and refreshing crit heals). You can also use them to quickly switch loadouts (uber/kritz as medic, for example).
I tried that but all it says is that the command is not valid. It says bind <key> [command] : attach a command to a key everytime i put load itempreset in console
TyrovicI tried that but all it says is that the command is not valid. It says bind <key> [command] : attach a command to a key everytime i put load itempreset in console
What exactly did you put in the console?
It should be:
bind "key" "load_itempreset 0"
Don't forget the "" and replace key with the name of whatever key you want (should be something relatively easy to reach that you don't use for anything else yet).
I know this is a necro but I was searching up how to setup the bind and followed this thread and it still didn't work for me. Turns out you also need to enable "respawn on loadout change" in the advanced/special settings. Hopefully this helps somebody else if they are just setting it up for the first time.
Sorry to bump this again, but I have to shill this:
https://github.com/jooonior/tf2-loadouts-script
It requires a bit more configuration than just a single bind, but it makes it to where it's one resup bind that works for all classes and remembers your current loadout.