Changing hammer's compile location

Fewer

L1: Registered
Jan 14, 2018
33
2
Hi

Can anyone tell me how to change the location that hammer exports/compiles your maps to? For example, when I click 'run map' to compile, the default path it saves the compiled map to is Team Fortress 2/tf/maps, but I would rather have it save to Team Fortress 2/tf/custom/my_stuff/maps, in order to keep all of my things in the same place and separate from valve's maps.

Thanks everyone
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
In your Team Fortress 2/bin folder you should be able to find GameConfig.txt; find the line (under "Team Fortress 2", not "Half-Life 2) starting with "BSPDir" and replace the directory in quotes that follows it with the directory you want to have Hammer copy your .bsp files to (still in quotes)
 

Fewer

L1: Registered
Jan 14, 2018
33
2
In your Team Fortress 2/bin folder you should be able to find GameConfig.txt; find the line (under "Team Fortress 2", not "Half-Life 2) starting with "BSPDir" and replace the directory in quotes that follows it with the directory you want to have Hammer copy your .bsp files to (still in quotes)

Thank you :)
 

Fewer

L1: Registered
Jan 14, 2018
33
2
In your Team Fortress 2/bin folder you should be able to find GameConfig.txt; find the line (under "Team Fortress 2", not "Half-Life 2) starting with "BSPDir" and replace the directory in quotes that follows it with the directory you want to have Hammer copy your .bsp files to (still in quotes)

Hey it's me I'm back... that didn't work. I've changed the "BSPDir" line under Team Fortress 2 in the GameConfig, and it's still putting them in tf/maps. After scrolling through the compile log it doesn't seem to mention my alternate path anywhere.

Edit: I thought I may have been dumb and so I restarted hammer, expecting that to fix it, but even after restarting it's still compiling to tf/maps instead of tf/custom/my_stuff/maps. So yeah, I've tried turning it off and on again
 
Last edited:

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
The option for it is right in Hammers options. I have mine set to put compiled maps in the 'tf/download/maps' folder. Just change your to where you want, which in your case should be:
Code:
$SteamUserDir\Team Fortress 2\tf\custom\my_stuff\maps

bmTfibd.png
 

Fewer

L1: Registered
Jan 14, 2018
33
2
The option for it is right in Hammers options. I have mine set to put compiled maps in the 'tf/download/maps' folder. Just change your to where you want, which in your case should be:
Code:
$SteamUserDir\Team Fortress 2\tf\custom\my_stuff\maps

Thanks for the suggestion, but my settings window looks a little different - any chance you know where I'd put that line?

settings.png