How do i change the addon i'm mapping for?

Whenever i try to compile a map, i get this error:

The map file:
“(sbox path)/addons/addon1/maps/map.vmap”
is outside the directory required for game content:
“(sbox path)\addons\addon2”
The file must be saved under the game content directory before it can be built.

I want to make a map for addon1, not addon2, how can i do this?

1 Like

I’m sure there is an easier way to do it, but none that I’ve found. The only solution I’ve discovered is going into the s&box client and launching your addon on some generic map like construct and then returning to hammer. You don’t have to close/reopen hammer just tab back to it. That’s what I’ve been doing for my map since it has custom entities and likes to default to the sandbox gamemode when I start it up.

1 Like