Automatically generates walls for the layout of a map made with Valve Hammer Editor. (Images included below)
This program takes a VMF file as Input (where the VMF has a floor layout made of Brushes)
The program will create a new VMF file as Output, this file will contain the automatically Generated walls as well as the original layout. (the new walls will be in their own Visgroup and can be hidden easily)
- Create a VMF file with a layout, all floors must be the same thickness (16 units) and snapped to the grid
- Drag and Drop the VMF file onto the AutoWallGen.exe
- For best results, press 'n' when prompted for custom parameters, then press Enter
- A new VMF file will be created with the Automatically Generated Walls, it should be in the same folder as AutoWallGen.exe
The Input layout must follow a few simple rules for the walls to be made correctly:
- All floors must be Snapped to the Grid, and share the same thickness of 16 units on the Vertical Z axis.
- All floors must be a minimum of 64 by 64 units in the X and Y axis for best results.
- Floors must be aligned "flush" with each other (no gap) for intersection walls to be removed.
- If there is a gap between 2 floors, then there will be a wall there
- If you want a Path between the floors, the floors must be Flush with no gap
- All side faces of each floor brush MUST be Vertical, aka the face is perpendicular to the XY Plane in Hammer.
- Ramps are allowed - but the sides must still be vertical, See image: https://i.imgur.com/UFeyF9e.png
A sample VMF file is provided which will give you an idea of how the layout should be setup. You can see how it looks in the images below.