Merging Two Puzzlemaker maps

Avatar
Bisqwit
93 Posts
Posted Feb 20, 2014

I created a program that can combine and merge two Puzzlemaker maps, making them into one map.

Just thought it might be useful for someone else too.

https://gist.github.com/bisqwit/9121711

Here's how you use it:

Step 1. Edit the settings in the top of the PHP program.
Step 2: Run it, using the PHP commandline interpreter, like so: php merger.php

You will need:
- The PHP commandline interpreter.
- The map files (p2c) from portal2/puzzles/yournumbercode/

Advertisement
Registered users don’t see ads! Register now!
Avatar
sicklebrick
876 Posts
Posted Feb 20, 2014
Replied 54 minutes later
Heh, cool!
At first I was thinking "Why's he done that.. just merge the .VMFs" but that's a neat idea to keep overall build times low while testing sections in the puzzlemaker!
Avatar
Bisqwit
93 Posts
Posted Feb 20, 2014
Replied 2 hours later
I did it because my preferred way of creating the maps is to do it in the puzzlemaker. If I require extra components, I create them in Hammer and use them in the puzzlemaker. It's rather easy once you get the hang of it, though not without limitations of course.