Swarm TileGen

From Valve Developer Community
Jump to: navigation, search

TileGen is an experimental tile-based level generator. You can build a library of rooms and then specify rules describing how those rooms should be connected to build the level. You can quickly test your level or take the result into Hammer for more refinement and packaging into a campaign.

Starting TileGen

  1. Make sure you have Alien Swarm and the Alien Swarm SDK installed on Steam. You can find the Alien Swarm SDK in Steam under the "Library - Tools" section.
  2. Load up Alien Swarm.
  3. Open the developer console by pressing the tilde (~) key. You may need to go into Options -> Keyboard/Mouse and tick "Enable Developer console" for this to work.
  4. At the console type: sv_cheats 1
  5. At the console type: asw_tilegen

The TileGen window should open. In the top-left you can see the currently selected theme. Below that are all the room templates belonging to that theme. The main window contains a grid showing your current map layout.

Example Mission

Alien Swarm includes an example TileGen mission (a set of rules) and some room templates. To generate this example mission:

  1. Open TileGen using the steps described above.
  2. Click on the "Missions" tab.
  3. A list of missions will appear on the right. Click on the "example_200" mission.
  4. Click the "Generate Layout" button.
  5. TileGen will switch to the Layout tab and the mission will be generated.
  6. To see the layout, scroll to the middle bottom part of the layout grid.
  7. To test your TileGen map, Choose File -> Export VMF and Play Map.

Tilegenlayout.jpg

More information