Portal 2 with Alien Swarm Authoring Tools: Difference between revisions
Jump to navigation
Jump to search
Note:The directories listed below are shortened for brevity. Each directory is assumed to be in your default Steam directory (e.g. C:\Program Files\Steam).
Note:Remember that default Swarm configuration uses vbsp to change all brushes into func_details, so tie the sealing parts to func_brush and name it structure_seal, or delete -alldetail from $bsp_exe.
m (→Tutorial) |
No edit summary |
||
Line 7: | Line 7: | ||
The [[Portal 2 Authoring Tools]] has released, however it is currently in beta. For those who would rather use the [[Alien Swarm SDK]] work-around, the instructions are listed below. | The [[Portal 2 Authoring Tools]] has released, however it is currently in beta. For those who would rather use the [[Alien Swarm SDK]] work-around, the instructions are listed below. | ||
{{note|The directories listed below are shortened for brevity. Each directory is assumed to be in your default Steam directory (e.g. C:\Program Files\Steam)}} | {{note|The directories listed below are shortened for brevity. Each directory is assumed to be in your default Steam directory (e.g. ''C:\Program Files\Steam'').}} | ||
== | == Adding Portal 2 to SDK == | ||
#Download, install, and run [[Alien Swarm SDK]]. | #Download, install, and run [[Alien Swarm SDK]]. | ||
#Double click ''Edit Game Configurations'' | #Double click ''Edit Game Configurations''. | ||
##Under '''Current Game Configuration'', click ''Add'' | ##Under '''Current Game Configuration'', click ''Add''. | ||
##Under ''Name'' in the ''Edit Configuration'' window, type '''Portal 2''' | ##Under ''Name'' in the ''Edit Configuration'' window, type '''Portal 2''' | ||
##Under ''Directory'', type ...\steamapps\common\portal 2\portal2 | ##Under ''Directory'', type ''...\steamapps\common\portal 2\portal2''. | ||
##Click OK | ##Click OK. | ||
# | |||
## | == Configuring Hammer == | ||
## | #Search for 4 files in ''...\steamapps\common\portal 2\bin'' - '''base.fgd''', '''halflife2.fgd''', '''portal.fgd''', '''portal2.fgd'''. | ||
##Rename '''base.fgd''' to something like '''portal2base.fgd'''. | |||
##Copy all files to ''...\steamapps\common\alien swarm\bin''. | |||
## | ##Open '''halflife2.fgd''' and '''portal2.fgd''' and change ''@include "base.fgd"'' to ''@include "portal2base.fgd"''. | ||
## | #Run Hammer. | ||
## | ##Click on ''Tools'' and ''Options''. | ||
# | ##Remove '''swarm.fgd''' and add '''portal2.fgd'''. | ||
# | ##Change ''Game Executable Directory'' to '''$SteamUserDir\portal 2'''. | ||
##Go to ''Build Programs'' tab and change ''Game Executable'' to '''$SteamUserDir\portal 2\portal2.exe'''. | |||
{{note|Remember that default Swarm configuration uses vbsp to change all brushes into func_details, so tie the sealing parts to func_brush and name it ''structure_seal'', or delete -alldetail from $bsp_exe.}} | |||
[[Category:Portal 2 Level Design]] | [[Category:Portal 2 Level Design]] | ||
[[Category:Portal 2 Tutorials]] | [[Category:Portal 2 Tutorials]] |
Revision as of 09:51, 6 March 2012
The Portal 2 Authoring Tools has released, however it is currently in beta. For those who would rather use the Alien Swarm SDK work-around, the instructions are listed below.

Adding Portal 2 to SDK
- Download, install, and run Alien Swarm SDK.
- Double click Edit Game Configurations.
- Under 'Current Game Configuration, click Add.
- Under Name in the Edit Configuration window, type Portal 2
- Under Directory, type ...\steamapps\common\portal 2\portal2.
- Click OK.
Configuring Hammer
- Search for 4 files in ...\steamapps\common\portal 2\bin - base.fgd, halflife2.fgd, portal.fgd, portal2.fgd.
- Rename base.fgd to something like portal2base.fgd.
- Copy all files to ...\steamapps\common\alien swarm\bin.
- Open halflife2.fgd and portal2.fgd and change @include "base.fgd" to @include "portal2base.fgd".
- Run Hammer.
- Click on Tools and Options.
- Remove swarm.fgd and add portal2.fgd.
- Change Game Executable Directory to $SteamUserDir\portal 2.
- Go to Build Programs tab and change Game Executable to $SteamUserDir\portal 2\portal2.exe.
