Zh-tw/SDK Installation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{otherlang2
{{otherlang2
| title=SDK 開發套件
| title=SDK 開發套件
| en = SDK Installation
| az = SDK Installation:az
| az = SDK Installation:az
| de = SDK Installation:de
| de = SDK Installation:de

Revision as of 00:28, 1 October 2015

Template:Otherlang2

Source SDK是免費提供給所有Steam用戶的 這是被用於開發模組或Source 2006Source 2007Source 2009引擎分支的內容。

近期的每個Valve遊戲都有自己的SDK或創作工具(Authoring Tools):

("創作工具(Authoring Too)"代表的是並不提供源代碼。)

目前各個遊戲的創作工具都皆為測試版

我們在改變的過程如何分佈創作工具給這些遊戲:

  • 絕地要塞2
  • 絕對武力:次世代
  • 勝利之日:次世代
  • 戰慄時空:死亡競賽

以前這些工具被分佈在同一個套件中("Source SDK"應用程式),它位於遊戲文件完全不同的地方。我們正走向一個更像L4D和CS:GO的模式。遊戲目前默認都附帶了SDK工具,所以你要這些工具只需運行遊戲並更新至最新版本。請注意該工具僅適用於Windows。

”ow look in the bin folder. (E.g: [steam]/steamapps/common/Team Fortress 2/bin) You should see several new batch files in the bin folder, which can be used to setup the proper environment and launch the tools:

  • hammer.bat
  • faceposer.bat
  • hlmv.bat
  • stdudiomdl.bat
  • vtex.bat

Use these batch files to launch the tools. The SDK launcher is no longer used.

If you have issues getting these to launch, make sure you don't have an environment variable named VProject set. If you do, the tools will use this instead of detecting the correct environment variable.

Installation of source code and launcher

The following instructions are appropriate if you need to download Source code. If you only need the authoring tools, they probably do not apply to you.

See: Source SDK 2013 for the latest instructions.

The old instructions are below:

Click here to install the Source SDK. For future reference, or if that doesn't work:

  1. Open the Steam window.
  2. Go to the Library.
  3. Change the list to Tools.
  4. Find and double-click on the Source SDK item.
  5. Read over the dialog box and click Download and Install / Next to continue
  6. The Source SDK will then be downloaded to your computer via Steam.

Running

Once Steam has finished downloading you can launch the SDK from the Tools tab. You can also create a desktop shortcut by right-clicking on the SDK in the Tools tab and clicking Create desktop shortcut from the context menu that appears.

When you first run the SDK it will spend a long time extracting its downloaded archive to loose files on your disk. This will not happen again until the SDK is next updated.

After that, you will be able to select a game and run any of the tools provided by the launcher. However, you will run into problems unless the game you want to work with is fully up to date. You can make sure it is by launching the game and quitting once you get to the main menu.

Where do I go from here?

If you want to learn about how to create content for the Source Engine in general, the main page of the Source SDK documentation is a good place to start.

Bugs and Issues

See also