Zh-tw/SDK Installation: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (添加標題)
No edit summary
Line 1: Line 1:
{{otherlang2|
{{otherlang2
title=SDK 開發套件|
| title=SDK 開發套件
de=SDK_Installation:de|
| az = SDK Installation:az
cs=SDK_Installation:cs|
| de = SDK Installation:de
es=SDK_Installation:es|
| cs = SDK Installation:cs
fr=SDK_Installation:fr|
| es = SDK Installation:es
it=SDK_Installation:it|
| fr = SDK Installation:fr
ru=SDK_Installation:ru|
| it = SDK Installation:it
tr=SDK_Installation:tr|
| ru = SDK Installation:ru
ka=SDK_Installation:ka|
| tr = SDK Installation:tr
zh-cn=SDK_Installation:zh-cn|
| ka = SDK_Installation:ka
en=SDK_Installation}}{{toc-right}}
| zh-cn = SDK Installation:zh-cn
<h1>下載與安裝Source SDK</h1>
| ko = SDK Installation:ko
== 如何得到 Source SDK ==
}} {{toc-right}}


* 只要使用者有買任何一種跟Source引擎有關的Valve遊戲([http://www.steampowered.com/v/index.php?area=search&category=16 清單]),即可免費得到SDK。
'''Source SDK是免費提供給所有Steam用戶的''' 這是被用於開發模組或[[Source 2006]]、[[Source 2007]]和[[Source 2009]]引擎分支的內容。


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


* 以下為下載步驟:
* {{l4d}} [[Left 4 Dead Authoring Tools|惡靈勢力創作工具]]
# 開啟Steam視窗。
* {{l4d2}} [[Left 4 Dead 2 Authoring Tools|惡靈勢力2創作工具]]
# 按一下'''工具'''標籤切換到工具介面。
* {{as}} [[Alien Swarm SDK]] (免費)
# 點兩下'''Source SDK'''。
* {{portal2}} [[Authoring Tools/SDK (Portal 2)|傳送門2創作工具]]
# 此時Source SDK會開始下載到你的電腦裡。
* {{csgo}} [[Authoring_Tools/SDK_(CSGO)|絕對武力:全球攻勢創作工具]]


* 一旦下載完後,您能夠用同樣下載的方式來開啟它(從'''工具'''介面裡)。
("創作工具(Authoring Too)ls"代表的是並不提供源代碼。)


* 您能夠建立一個捷徑到桌面上,藉由在'''Source SDK'''按滑鼠右鍵並選擇'''建立桌面捷徑'''。
== 目前各個遊戲的創作工具都皆為測試版 ==


{{note:zh-tw|為了使SDK能夠正確的運作,任何您想要編輯的遊戲必須確保有最新的更新。您能夠藉由在進入Source SDK前先進入遊戲的方式來確保遊戲是最新的(只需要進入主選單在離開即可)。}}
我們在改變的過程如何分佈創作工具給這些遊戲:We're in the process of changing how the authoring tools are distributed for the following games:


== 接著該做什麼? ==
* 絕地要塞2
* 絕對武力:次世代
* 勝利之日:次世代
* 戰慄時空:死亡競賽


* [[:Category:Traditional_Chinese|這裡]]是個開始的好地方。
Previously these tools were distributed together in a single package (the "Source SDK" application), which resided in a totally different folder from the games.  We're moving towards a model more similar to L4D and CS:GO.  The SDK tools are currently shipped with the game by default, so all you need to do to get the tools is launch the game to sync it to the latest build. Please note that the tools are only avalaible for 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:
 
* 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:
 
[steam://run/211 Click here to install the Source SDK.] For future reference, or if that doesn't work:
 
# Open the Steam window.
# Go to the '''Library'''.
# Change the list to '''Tools'''.
# Find and double-click on the '''Source SDK''' item.
# 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.
 
== 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 [[SDK Docs|Source SDK documentation]] is a good place to start.


== Bugs and Issues ==
== Bugs and Issues ==
* [[Source SDK Release Notes|Source SDK 發行資訊]]可以得到SDK最新的發行資訊。
* Read the [[Source SDK Release Notes]] for information about the latest SDK release.
* [[:Category:Source SDK FAQ|Source SDK 常見問題]]回答SDK常見的問題。
* See the [[:Category:Source SDK FAQ|Source SDK FAQ]] for answers to general SDK questions.
* 對於關卡設計與Hammer關卡編輯器的問題可以來[[:Category:Level Design FAQ|這裡]]
* For level design and Hammer editor issues, see the [[:Category:Level Design FAQ|Level Design FAQ]].


== See also ==
* [[Cleanly reinstalling Steam]]


[[Category:Source SDK FAQ:zh-tw]]
[[Category:Source SDK FAQ]]

Revision as of 00:14, 1 October 2015

Template:Otherlang2

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

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

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

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

我們在改變的過程如何分佈創作工具給這些遊戲:We're in the process of changing how the authoring tools are distributed for the following games:

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

Previously these tools were distributed together in a single package (the "Source SDK" application), which resided in a totally different folder from the games. We're moving towards a model more similar to L4D and CS:GO. The SDK tools are currently shipped with the game by default, so all you need to do to get the tools is launch the game to sync it to the latest build. Please note that the tools are only avalaible for 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