Please or Register to create posts and topics.

Merging Two Puzzlemaker maps

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/

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!

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.