The Game Modding Community - Since 2001

[Scripting] Reset.cfg and you

A Tutorial for Team Fortress 2

What a reset.cfg file is and why you need one

Hello! Welcome to this guide. So, I assume you came here for 1/3 reasons…

  1. I suggested you look at it
  2. Your subbed to me here
  3. You want to figure out what a reset.cfg file is

Either one or all of them, i'm going to explain:

  1. What a reset.cfg file is
  2. Why they're useful
  3. And why you need one

Alright! With that being said, let's get into the fun parts!

What is a reset.cfg file?

In the simplest terms: A reset.cfg file is meant to reset specific scripts or binds

Basically: you created a script that ONLY works on scout, then switch to demo. That script is still active, and triggering it might cause something to go wrong.

So: this seems trivial! But is it? The below section says otherwise

Why is a reset.cfg file useful?

Here’s why:

You just made a sick bind to switch to your pistol and fire it as long as you’re holding the M2 button. And it looks like this:

Alias “+FNPistol” “slot2; wait 1; +attack”
Alias “-FNPistol” “-attack; wait 1; slot 1”
Wait 1
Bind “MOUSE2” “+FNPistol”

It works wonders! It’s really fun to use as scout or engi.

But what happens when you go medic? You have built uber and are ready to pop. You and your patient go into the middle of a firefight and you “pop”. But instead, you “switch” weapons, re-heal the heavy, and switch to your syringe gun / crossbow.

You just lost a full uber, and or a game

This is why reset.cfg files are REALLY important! They stop a lot of grief and pain.

But why do I need one?

Well, you have come this far to figure out how to script (or install them). And some might run into each other and screw up the scripts you do and don't want. So, if the above isn't reason enough… Most, if not all scripters either have a reset.cfg file or a feedback to their autoexec.cfg file.

Ok, But how do they work? Let me show you:

Picture the above situation. You made that beautiful bind and want to use it without needing to main scout or engi. How? Put this into every specific class folder:

exec reset.cfg

And in reset.cfg:

bind “MOUSE2” “+attack2”

Now, we go into the game as a scout or engi and use this script. We eventually go medic and build uber. We go to pop, and it works! We didn't make a fool of ourselves and won a game!

If you don't have a reset.cfg file, then i HIGHLY recommend making one

In the end, all you do for a reset.cfg file is undo any other script you may have made in a different class folder


None found


Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:


Key Author
Mr.Panface Joined 4mo ago
Panfaced Faux Flag Affiliation: Panfaced Faux
255 points Ranked 16179th
Everything Here
Special Thanks
Newborn Scripters
Actual Inspiration


Mr.Panface avatar
Mr.Panface Joined 4mo ago
Panfaced Faux Flag Affiliation: Panfaced Faux
255 points Ranked 16179th

Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!



Difficulty Level
Intermediate Difficulty




  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+


  • 0 Posts
  • 23d Submitted


  • Not yet rated
Sign up to access this!

Yo, buddy. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login tracking pixel