jump.tf Forums
Welcome B)

My controls change ingame after testing a map that has been opened with Hammer.

BoogieManTF2

  • Newbie
  • *
    • Posts: 21
    • Frags: +0/-0
    • View Profile
So whenever I compile my map and run it through Hammer, everything's fine.

But when I close Hammer and open TF2 through the Steam client, my controls are all messed up, I think they get set back to default. Anyone who can help here?


scotch

  • Administrator
  • Proficient
  • *****
    • Posts: 335
    • Frags: +0/-0
    • View Profile
Try putting your differing controls in your autoexec.cfg file, which runs every time you launch tf2.


BoogieManTF2

  • Newbie
  • *
    • Posts: 21
    • Frags: +0/-0
    • View Profile
Try putting your differing controls in your autoexec.cfg file, which runs every time you launch tf2.
Any idea how does work? I have an autoexec file but it's not one I made myself. Plus it's weird that it just started happening, I didn't have the problem before.


pants

  • Proficient
  • ****
    • Posts: 458
    • Frags: +0/-0
    • View Profile
Are you running hammer from a different game (portal,hl2? or something), are you just opening the .exe or through steam? Sounds weird.

In your autoexec you can just add any custom keybinding you have towards the end (e.g. if you used chris' config or something similar).

e.g. stuff like:
bind w "+forward;"

its pretty easy to find the code/language for common actions in tf2 (jump, crouch, shoot etc.) by googling


scotch

  • Administrator
  • Proficient
  • *****
    • Posts: 335
    • Frags: +0/-0
    • View Profile
Easy way to do it is to set up your keybindings in game and then copy whatever you just changed from your config.cfg into your autoexec (normally binds are placed at the top), which will prevent any settings being overridden.