Ja/Portal 2 with Alien Swarm Authoring Tools: Difference between revisions
< Ja
Jump to navigation
Jump to search
(Created page with '{{otherlang2 |en=Portal 2 with Alien Swarm Authoring Tools |ru=Portal 2 with Alien Swarm Authoring Tools:ru }} Portal 2用のSDKは現在リリースされていません。…') |
m (Using L template for links) |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{lang|Portal 2 with Alien Swarm Authoring Tools}} | ||
| | |||
}} | |||
{{L|Portal 2}}用のSDKは現在リリースされていません。 しかし、{{L|Alien Swarm SDK}}に含まれている{{L|Hammer|Valve Hammer Editor}}を使えば、Portal 2で利用出来るマップを編集、コンパイルすることができます。 | |||
{{Note|以下にあるパスの起点は全てSteamのメインフォルダになります。 (例えば C:\Program Files\Steam\)}} | |||
==チュートリアル== | ==チュートリアル== | ||
# | #{{L|Alien Swarm SDK}}をインストール。 | ||
# | #{{L|Alien Swarm SDK}}を起動。 | ||
#Portal 2用に設定を追加。 | #Portal 2用に設定を追加。 | ||
##''Edit Game Configurations''を選択、''Add''をクリック。 | ##''Edit Game Configurations''を選択、''Add''をクリック。 | ||
Line 36: | Line 34: | ||
###''Configuration''を選択。 | ###''Configuration''を選択。 | ||
###:Portal 2 | ###:Portal 2 | ||
###非公式のPortal 2 | ###非公式のPortal 2 {{L|FGD}}ファイルをインストール。 | ||
####''Remove'' '''swarm.fgd''' under ''Game Data files''. | ####''Remove'' '''swarm.fgd''' under ''Game Data files''. | ||
####'''portal2.fgd'''をダウンロード。 | ####'''portal2.fgd'''をダウンロード。 | ||
Line 59: | Line 57: | ||
###''OK''をクリック。 | ###''OK''をクリック。 | ||
##コンパイラオプションを変更。 | ##コンパイラオプションを変更。 | ||
###''Run map <nowiki> | ###''Run map <nowiki>{{L|advanced}}</nowiki>'' ダイアログを開く。 | ||
###:''File > Run map - Expert...'' | ###:''File > Run map - Expert...'' | ||
###$bsp_exe のパラメータを変更する。 | ###$bsp_exe のパラメータを変更する。 | ||
Line 72: | Line 70: | ||
[[Category:Portal 2 Level Design]] | [[Category:Portal 2 Level Design]] | ||
[[Category:Portal 2 Tutorials]] | [[Category:Portal 2 Tutorials]] | ||
[[Category:Japanese]] |
Latest revision as of 08:06, 11 July 2024
Portal 2 用のSDKは現在リリースされていません。 しかし、Alien Swarm SDK に含まれているValve Hammer Editor を使えば、Portal 2で利用出来るマップを編集、コンパイルすることができます。
チュートリアル
- Alien Swarm SDK をインストール。
- Alien Swarm SDK を起動。
- Portal 2用に設定を追加。
- Edit Game Configurationsを選択、Addをクリック。
- Name欄に設定名を入力。
- Portal 2
- Directory欄にPortal 2のgameinfo.txtのあるパスを入力。
- ...\steamapps\common\portal 2\portal2
- OKをクリック。
- gameinfo.txtを編集。
- テキストエディタでPortal 2のgameinfo.txtファイルを開く。
- ...\steamapps\common\portal 2\portal2\gameinfo.txt
- SearchPathsの部分が下記になるように行を追加。
SearchPaths
- {
- Game |gameinfo_path|.
- "Game" "platform"
}
- gameinfo.txtを保存して閉じる。
- テキストエディタでPortal 2のgameinfo.txtファイルを開く。
- SDKを再起動する。
- SDKのCurrent Game欄を選択。
- Portal 2
- Hammer World Editorを起動。
- Hammerの設定を変更。
- Game Configurationsを編集。
- Tools > Options - Game Configurationsを選択。
- Configurationを選択。
- Portal 2
- 非公式のPortal 2 FGD ファイルをインストール。
- Remove swarm.fgd under Game Data files.
- portal2.fgdをダウンロード。
- 非公式FGDファイルリストを参照。
- Move portal2.fgd to an appropriate directory.
- ...\steamapps\common\portal 2\portal2
- Add portal2.fgd
- ...\steamapps\common\portal 2\portal2\portal2.fgd
- Game Executable Directoryを変更。
- Game Directoryを変更。
- Hammer VMF Directoryを変更。
- Prefab Directoryを変更。
- Warning: If this directory does not exist, Hammer will silently crash on start.
- OKをクリック。
- Build Programsを編集。
- Tools > Options - Build Programsを選択。
- Configurationを選択。
- Portal 2
- Game executableを変更 (Alien SwarmではPortal 2のマップは実行できないため).
- $SteamUserDir\portal 2\portal2.exe
- Compiled Maps Directoryを変更。
- OKをクリック。
- コンパイラオプションを変更。
- Run map {{L|advanced}} ダイアログを開く。
- File > Run map - Expert...
- $bsp_exe のパラメータを変更する。
- "-alldetail"を削除。
- Closeをクリック。
- Run map {{L|advanced}} ダイアログを開く。
- Game Configurationsを編集。
- Hammerを再起動。