Changing hammer's compile location

Discussion in 'Mapping Questions & Discussion' started by Fewer, Oct 7, 2018.

  1. Fewer

    Fewer L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    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
     
  2. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    428
    Positive Ratings:
    409
    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)
     
    • Thanks Thanks x 1
    • Respectfully Disagree Respectfully Disagree x 1
  3. Fewer

    Fewer L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Thank you :)
     
  4. Fewer

    Fewer L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    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: Oct 7, 2018
  5. Werewolf

    Werewolf Probably not a real Werewolf

    Messages:
    872
    Positive Ratings:
    278
    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
    [​IMG]
     
  6. Fewer

    Fewer L1: Registered

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

    settings.png
     
  7. Werewolf

    Werewolf Probably not a real Werewolf

    Messages:
    872
    Positive Ratings:
    278
    Look at the tabs. I was on the 'Build Programs' tab to the far right, while you're still looking at the first tab, 'Game Configurations'.
     
    • Thanks Thanks x 1
  8. Fewer

    Fewer L1: Registered

    Messages:
    33
    Positive Ratings:
    9
    Oh. My b, thanks for the help :)