VMF Save Folder

Avatar
portal2companioncube
108 Posts
Posted Jul 16, 2012
I want to open my map in Hammer to make some changes you can't do in PTI, but I can't find where it saved it! Does anybody know where it saves the vmf for your maps?
Advertisement
Registered users don't see ads! Register now!
Avatar
BenVlodgi
633 Posts
Posted Jul 16, 2012
Replied 38 minutes later
well your files are saved as p2c files which hammer cant open
your last used puzzle is someplace named preview.vmf
but what you should do it export your map
open the developer console with your puzzle loaded and type puzzlemaker_export <name>
what ever you put for name will be the name of the vmf exported to your portal 2 sdk maps folder
Avatar
FelixGriffin
2,680 Posts
Posted Jul 16, 2012
Replied 2 hours later
Also, when you export it, you should get something with a long string of numbers for a name in /sdk_content/maps/. That's the source file, with slightly different lighting.
Avatar
portal2companioncube
108 Posts
Posted Jul 17, 2012
Replied 13 hours later
How do you import it back into the editor after modifying it?
Avatar
ChickenMobile
2,460 Posts
Posted Jul 17, 2012
Replied 24 minutes later

portal2companioncube wrote:
How do you import it back into the editor after modifying it?

You can't. You will have to use the located in portal 2/bin to publish to the workshop.

Advertisement
Registered users don't see ads! Register now!
Avatar
Carl
13 Posts
Posted Jul 26, 2012
Replied 8 days later

portal2companioncube wrote:
How do you import it back into the editor after modifying it?

By putting all your changes into instances, and editing editoritems.txt (and perhaps your .p2c file) to include those instances.

But you may prefer to just publish your hammer map using p2map_publish.exe instead, like everyone except me does.