This article's documentation is for anything that uses the Source engine. Click here for more information.

Zh-tw/SDK Installation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Multipage removal)
 
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{otherlang2
{{LanguageBar|title = SDK 開發套件}}
| title=SDK 開發套件
{{Source topicon}}{{Subpage| [[SDK Docs]] }}
| az = SDK Installation:az
| de = SDK Installation:de
| cs = SDK Installation:cs
| es = SDK Installation:es
| fr = SDK Installation:fr
| it = SDK Installation:it
| ru = SDK Installation:ru
| tr = SDK Installation:tr
| ka = SDK_Installation:ka
| zh-cn = SDK Installation:zh-cn
| ko = SDK Installation:ko
}} {{toc-right}}


'''Source SDK是免費提供給所有Steam用戶的''' 這是被用於開發模組或[[Source 2006]][[Source 2007]][[Source 2009]]引擎分支的內容。
 
{{toc-right}}
 
'''Source SDK是免費提供給所有Steam用戶的''' 這是被用於開發模組或{{L|Source 2006}}{{L|Source 2007}}{{L|Source 2009}}引擎分支的內容。


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


* {{l4d}} [[Left 4 Dead Authoring Tools|惡靈勢力創作工具]]
* {{l4d}} {{L|Left 4 Dead Authoring Tools|惡靈勢力創作工具}}
* {{l4d2}} [[Left 4 Dead 2 Authoring Tools|惡靈勢力2創作工具]]
* {{l4d2}} {{L|Left 4 Dead 2 Authoring Tools|惡靈勢力2創作工具}}
* {{as}} [[Alien Swarm SDK]] (免費)
* {{as}} {{L|Alien Swarm SDK}}(免費)
* {{portal2}} [[Authoring Tools/SDK (Portal 2)|傳送門2創作工具]]
* {{portal2}} {{L|Authoring Tools/SDK (Portal 2)|傳送門2創作工具}}
* {{csgo}} [[Authoring_Tools/SDK_(CSGO)|絕對武力:全球攻勢創作工具]]
* {{csgo}} {{L|Authoring_Tools/SDK_(CSGO)|絕對武力:全球攻勢創作工具}}


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


”ow look in the bin folder. (E.g: <code>[steam]/steamapps/common/Team Fortress 2/bin</code>)  You should see several new batch files in the bin folder, which can be used to setup the proper environment and launch the tools:
”現在開啟bin文件。(例如: <code>[steam]/steamapps/common/Team Fortress 2/bin</code>)當工具在適當的環境中安裝並啟動,你應該會看到幾個新的批處理文件在bin中:


* hammer.bat
* hammer.bat
Line 45: Line 36:
* vtex.bat
* vtex.bat


Use these batch files to launch the tools.  The SDK launcher is no longer used.
SDK啟動器已不再被使用,所以請使用這些批處理文件來啟動工具。


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.
如果你有一些啟動的問題,請確保你沒有一個名為VProject設置的環境變數。 如果你有,這些工具會使用而非檢測正確的環境變數。


== 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.
如果你需要下載安裝請遵照以下指示。如果你需要的是創作工具(Authoring Tools),那它們可能並不適用。


See: [[Source SDK 2013]] for the latest instructions.
觀看:{{L|Source SDK 2013}}最新的說明


The old instructions are below:
舊的指示如下:


[steam://run/211 Click here to install the Source SDK.] For future reference, or if that doesn't work:
[steam://run/211 點擊這裡以安裝Source SDK。]僅供參考,在未來它可能不適用:


# Open the Steam window.
# 開啟Steam視窗。
# Go to the '''Library'''.
# 前往'''資料庫'''
# Change the list to '''Tools'''.
# 改變選單至'''工具'''
# Find and double-click on the '''Source SDK''' item.
# 尋找並雙擊'''Source SDK'''項目。
# Read over the dialog box and click '''Download and Install''' / '''Next''' to continue
# 閱讀完對話框並點擊'''下載並安裝''' / '''下一步'''以繼續
# The Source SDK will then be downloaded to your computer via Steam.
# Source SDK接下來就會被安裝到你的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.
一旦Steam完成安裝之後你可以從工具選項中啟動SDK。你也可以點擊工具選項中的SDK右鍵,並在選單中選擇'''建立桌面捷徑'''


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.
第一次執行SDK會花費較長的時間來提取它所需下載安裝到磁碟裡的文件。這也可能發生在SDK進行更新時。


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 [[SDK Docs|Source SDK documentation]] is a good place to start.
如果你想了解一般情況下如何使用 Source 引擎創建內容,{{L|SDK Docs|Source SDK 文檔}}是個不錯的起點。


== Bugs and Issues ==
== 問題和錯誤 ==
* Read the [[Source SDK Release Notes]] for information about the latest SDK release.
* 閱讀{{L|Source SDK Release Notes|Source SDK發行說明}}來了解有關SDK的最新發佈消息。
* See the [[:Category:Source SDK FAQ|Source SDK FAQ]] for answers to general SDK questions.
* 參閱{{LCategory|Source SDK FAQ|Source SDK常見問題}}以了解SDK問題一般的答案。
* For level design and Hammer editor issues, see the [[:Category:Level Design FAQ|Level Design FAQ]].
* 對於關卡設計和Hammer編輯器的問題,請參閱{{LCategory|Level Design FAQ|關卡設計常見問題}}。


== See also ==
== 參見 ==
* [[Cleanly reinstalling Steam]]
* {{L|Cleanly reinstalling Steam|完整地重新安裝Steam}}


[[Category:Source SDK FAQ]]
[[Category:Source SDK FAQ]]
{{SDK-navbox}}
{{ACategory|Source SDK FAQ}}

Latest revision as of 10:30, 12 July 2024

English (en)Deutsch (de)Español (es)Français (fr)Hrvatski (hr)Italiano (it)한국어 (ko)Polski (pl)Português do Brasil (pt-br)Русский (ru)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)Translate (Translate)


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

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

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

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

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

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

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

”現在開啟bin文件。(例如: [steam]/steamapps/common/Team Fortress 2/bin)當工具在適當的環境中安裝並啟動,你應該會看到幾個新的批處理文件在bin中:

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

SDK啟動器已不再被使用,所以請使用這些批處理文件來啟動工具。

如果你有一些啟動的問題,請確保你沒有一個名為VProject設置的環境變數。 如果你有,這些工具會使用而非檢測正確的環境變數。

安裝與啟動

如果你需要下載安裝請遵照以下指示。如果你需要的是創作工具(Authoring Tools),那它們可能並不適用。

觀看:Source SDK 2013(en)最新的說明

舊的指示如下:

點擊這裡以安裝Source SDK。僅供參考,在未來它可能不適用:

  1. 開啟Steam視窗。
  2. 前往資料庫
  3. 改變選單至工具
  4. 尋找並雙擊Source SDK項目。
  5. 閱讀完對話框並點擊下載並安裝 / 下一步以繼續
  6. Source SDK接下來就會被安裝到你的Steam中。

運行

一旦Steam完成安裝之後你可以從工具選項中啟動SDK。你也可以點擊工具選項中的SDK右鍵,並在選單中選擇建立桌面捷徑

第一次執行SDK會花費較長的時間來提取它所需下載安裝到磁碟裡的文件。這也可能發生在SDK進行更新時。

之後你將能夠使用啟動器來選擇一個遊戲,並使用所提供的工具。不過,在你還沒進行全面性的更新之前可能會遇到問題。一旦你離開回到主頁面時,請確保你是使用啟動器來進入遊戲。

我該從何開始?

如果你想了解一般情況下如何使用 Source 引擎創建內容,Source SDK 文檔(en)是個不錯的起點。

問題和錯誤

參見