This thread explains how to configure Slartibarty's Hammer + Compile Tools to work for Team Fortress 2. This guide assumes you have already used the stock TF2 Hammer before.
First of all, you need to have the tools installed if you haven't already (covered on the thread linked above. Also remember, it MUST be installed into the Source SDK Base 2013 Multiplayer/bin/ folder!)
You will also need to download the .zip file included with this thread.
Note: my FGD and the Ultimate Mapping Resource Pack/ABS FGD are merged and bundled with the download, therefore those do not need to be installed again.
Important: Source SDK Base 2013 Multiplayer and Team Fortress 2 must be installed on the same drive and root location! (e.g. both games should be installed under C:/Program Files (x86)/Steam/steamapps/common/...)
Next, boot up Slartibarty's Hammer at least once and pick any game if it prompts you to, and when its loaded, close Hammer. If Slartibarty's Hammer crashes or fails to open, you probably didn't install it correctly.
Now, open up the .zip file downloaded from this thread. Navigate to your Source SDK Base 2013 Multiplayer folder, and then drag the customConfig_tf2 folder into the Source SDK 2013 Multiplayer folder, like this:
Nearly done, now comes the difficult part.
Go to the Source SDK Base 2013 Multiplayer bin folder, and open up
GameConfig(.txt) in Notepad++ (stock Notepad also works, but Notepad++ is heavily recommended instead)
You will now need to copy paste the following block into the file.
Example: (make sure position is exactly like this!)
Now this single line has to be changed.
Note: if you know what you are doing, change the other directories below too to save yourself some time for the next sections. If you have no idea what you are doing, then keep following this tutorial.
The directory must match the location of the customConfig_tf2 folder you installed earlier. To find this directory easily, navigate to the Source SDK 2013 Multiplayer folder, then into the customConfig_tf2 folder, and then right click on the scripts folder and click Properties.
Highlight and copy the entire Location: line.
Copy paste this directory into the single line mentioned earlier.
Now you can boot up Slartibarty's Hammer. Select the Team Fortress 2 configuration when it starts, and when its finished loading, go to the Tools > Options at the top left. You now have to configure the directories in the Configurations and Build Configs tab.
Here is a list of what each one should point to. <dir name> is your root directory, you need to fill this in for each one yourself.
Now you are done. Restart Hammer, and it should be ready to go for mapping.
If you use CompilePal, I recommend getting this file as well.