Loadout specific settings and a resup bind that knows which loadout you're on.
Resup bind (aka b4nny bind) lets you resupply while in spawn without needing to touch the fridge/cabinet. Unlike switching classes, it preserves all of your buildings, stickies and ubers (but not stored crits, heads or banner charges).
Download the VPK from
the latest release
and save it into your tf/custom
folder
Add exec loadouts/init
to your autoexec.cfg
Add loadouts.<class>
at the end of each of your
<class>.cfg
Replace <class>
with actual class names: scout
, soldier
, pyro
, demoman
,
heavyweapons
, engineer
, medic
, sniper
, spy
Bind your keys
loadouts.A
, loadouts.B
, loadouts.C
, loadouts.D
for switching loadouts
loadouts.resup
to resupply
Do this in your autoexec.cfg
or wherever you have your binds.
If you need help with key names see List of key names on TF2 Wiki.
When changing to loadout X, the script calls corresponding loadout.cfg.X
alias.
You can set these aliases to execute arbitrary commands when changing lodouts.
If you want to set these per class in your <class>.cfg
, you need to
do so before the loadouts.<class>
line.
If you want to set them globally, do so in your autoexec.cfg
after
the exec loadouts/init
line.
Don't forget to reset these aliases (and affected settings) for other classes, otherwise their values will carry over.
That's normal. Happens with all resupply binds. You should press it (or spam it) right before you enter spawn.
loadouts.<class>
have to be at the end?It doesn't. But anything that comes after it overrides
the loadouts.cfg.X
settings. If you are sure you're not breaking
anything, you can put it anywhere you like.
Yup.
Check the issues tab,
someone might have already asked. If not, feel free to open a new issue.
Another option is
TFTV.
I don't get notified when you comment there, but someone else might
help you.