Creating a Portal 2 Coop Map

From Valve Developer Community
Revision as of 09:25, 21 May 2011 by Zompist (talk | contribs) (need something! this is based on getting a coop map working... i'm sure more info can be added)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Here are the basic steps needed to create a coop map:

  • Create a func_instance. Set its VMF file to one of the coop spawn rooms, such as instances/coop/coop_spawn_room.vmf. These VMF files already contain an info_player_spawn, so don't create another one.
  • Create another func_instance, this one set to one of the level end rooms, such as instances/coop/coop_endlevel_room.vmf.
  • Build your map in between these rooms. (You can move them, of course.) The embedded VMF files have an obvious exit which should lead into your map. You may need to enclose the rooms in order to prevent leaks.
  • Make sure you save the map with the prefix mp_coop_.

That's it!