Zh/Source 2013: Difference between revisions

From Valve Developer Community
< Zh
Jump to navigation Jump to search
(暂保存)
 
No edit summary
Line 6: Line 6:
<br>
<br>
<br>
<br>
SteamPipe 因简化了源引擎挂载内容的方式并包含了之前未发布的{{tf2|4}}代码而备受赞誉,但它也破坏了无数的mod,并使起{{src09|3.1}}分支中已经存在的问题更加严重,此外还导致了{{hls|3.1}}出现了更多的[[Half-Life: Source Bugs|bug]]。它也没有{{l4dbranch|3.1}}分支的大部分功能。不过,随着时间的推移,引擎分支不断完善,现在已成为使用的主要分支。
SteamPipe 因简化了起源引擎挂载内容的方式并包含了之前未发布的{{tf2|4}}代码而备受赞誉,但它也破坏了无数的mod,并使{{src09|3.1}}分支中已经存在的问题更加严重,此外还导致了{{hls|3.1}}出现了更多的[[Half-Life: Source Bugs|bug]]。它也没有{{l4dbranch|3.1}}分支的大部分功能。不过,随着时间的推移,引擎分支不断完善,现在已成为使用的主要分支。
{{src13|4}} is split into two sub-branches, titled {{src13sp|4}} and {{src13mp|4}}, which replaced the {{src09|3.1}} and {{srcmp|3.1}} branches, respectively. The two sub-branches are mostly interchangeable, but they use separate codebases, and the Multiplayer branch has some [[#Features|features]] which are not available in the Singleplayer branch.
{{src13|4}} 分为两个子分支, {{src13sp|4}} {{src13mp|4}},它们分别取代了 {{src09|3.1}} {{srcmp|3.1}} 分支。这两个子分支基本上是可互换的,但它们使用单独的代码库,并且多人分支具有单人分支中不可用的一些[[#Features|功能]]
{{tip|Despite the names, '''both branches can be used for singleplayer'''.<br>Due to the benefits provided by the Multiplayer branch's additional features (static prop lightmaps and BSP compression), the Singleplayer branch should only be used if using a base mod such as {{mapbase|3.1}}, or if making a single-player mod that does not modify game code.}}
{{tip|尽管名称不同,'''但这两个分支都可以用于单人游戏'''<br>由于多人游戏分支的附加功能所带来的好处(静态道具 lightmaps BSP 压缩),只有在使用{{mapbase|3.1}}等基础mod或制作不修改游戏代码的单人mod时,才应使用单人分支。}}


== Features ==
== 功能 ==
New since the {{Src09|4}} engine branch is:
来自 {{Src09|4}} 引擎分支的新功能:
; [[VPK]] files and {{path|custom}} folder
; [[VPK]] files and {{path|custom}} folder
: First introduced on {{l4dbranch|4}} and onwards, it was later available on {{src13|4}}, which replaced the old [[GCF]] format. This also adds support for reading any files from "custom" folder.
: First introduced on {{l4dbranch|4}} and onwards, it was later available on {{src13|4}}, which replaced the old [[GCF]] format. This also adds support for reading any files from "custom" folder.
Line 22: Line 22:
; [[$treeSway|Swaying trees]] {{only|{{tf2}}{{bms}}{{gmod}}{{mapbase}}}}
; [[$treeSway|Swaying trees]] {{only|{{tf2}}{{bms}}{{gmod}}{{mapbase}}}}
: A material parameter that gives the effect of trees swaying in the wind.
: A material parameter that gives the effect of trees swaying in the wind.
; [[BSPZIP#Compression|BSP compression]] {{src13mp|only}}
; [[BSPZIP#Compression|BSP 压缩]] {{src13mp|only}}
: [[.bsp (Source)|BSP]] maps and packed files can be losslessly compressed on both server and client.
: [[.bsp (Source)|BSP]] maps and packed files can be losslessly compressed on both server and client.
; [[VScript]] {{only|{{tf2}}{{gmod}}{{mapbase}}}}
; [[VScript]] {{only|{{tf2}}{{gmod}}{{mapbase}}}}
: A powerful new scripting system primarily using [[Squirrel]] (if {{tf2}}{{mapbase}}), Lua (if {{gmod}}).
: A powerful new scripting system primarily using [[Squirrel]] (if {{tf2}}{{mapbase}}), Lua (if {{gmod}}).


== Availability ==
== 可用性 ==
Gamecode for both the Source 2013 Multiplayer and Singleplayer branches is included in Valve's [https://github.com/ValveSoftware/source-sdk-2013 Source SDK 2013 repository].
Source 2013 多人游戏和单人游戏分支的游戏代码都包含在 Valve [https://github.com/ValveSoftware/source-sdk-2013 Source SDK 2013 repository] 存储库。
{{ModernWarning|By default, some of the gamecode for the SDK 2013 are massively out of date, and does not contain many updates and bug fixes (such as [[Dropship]] gun fix) that was introduced in {{hl2|3.1}} and {{portal|3.1}} (since the new {{steamdeck|3.1}} update) respectively, nor the "'''upcoming'''" builds on Steam, along with the rest of {{src13|3.1}} games. Furthermore, the MP builds (on Steam) are more up to date than the SP builds.}}
{{ModernWarning|By default, some of the gamecode for the SDK 2013 are massively out of date, and does not contain many updates and bug fixes (such as [[Dropship]] gun fix) that was introduced in {{hl2|3.1}} and {{portal|3.1}} (since the new {{steamdeck|3.1}} update) respectively, nor the "'''upcoming'''" builds on Steam, along with the rest of {{src13|3.1}} games. Furthermore, the MP builds (on Steam) are more up to date than the SP builds.}}


Line 42: Line 42:
* {{portal|4}}
* {{portal|4}}


====Third-Party====
====第三方====
* {{mapbase|4}}
* {{mapbase|4}}
* {{hl2u|4}} (earlier version)
* {{hl2u|4}} (earlier version)
Line 56: Line 56:
* {{hl2dm|4}}
* {{hl2dm|4}}
* {{tf2|4}}
* {{tf2|4}}
====Third-party====
====第三方====
* {{bb2|4}}
* {{bb2|4}}
* {{fof|4}}
* {{fof|4}}
Line 64: Line 64:
* [[:Category:Source_2013_MP_engine_branch_games|More...]]
* [[:Category:Source_2013_MP_engine_branch_games|More...]]


===Third-party Source 2013 branches===
===第三方使用 Source 2013 分支===
The following games use neither {{src13sp}} nor {{src13mp}}, but rather use custom (heavily modified) branches forked earlier versions from both Source 2013 branches, with newer features added on. As such, they may or may not include all features from newer first-party versions of Source 2013, such as [[BSPZIP#Compression|LZMA-compressed BSPs]] or [[$lightmap|lightmapped MDLs]].
The following games use neither {{src13sp}} nor {{src13mp}}, but rather use custom (heavily modified) branches forked earlier versions from both Source 2013 branches, with newer features added on. As such, they may or may not include all features from newer first-party versions of Source 2013, such as [[BSPZIP#Compression|LZMA-compressed BSPs]] or [[$lightmap|lightmapped MDLs]].
* {{bms|4}} (branch also known as "Xengine")
* {{bms|4}} (branch also known as "Xengine")
* {{gmod|4}} (which also support some features from Alien Swarm, Portal 2 engine branch and onwards, such as partial VTF 7.5 support). Also have 64-bit executable.
* {{gmod|4}} (which also support some features from Alien Swarm, Portal 2 engine branch and onwards, such as partial VTF 7.5 support). Also have 64-bit executable.


== See also ==
== 另见 ==
* [[Source SDK 2013 community repos]]
* [[Source SDK 2013 community repos]]

Revision as of 08:26, 2 January 2024

English (en)中文 (zh)Translate (Translate)

起源2013 起源2013引擎分支(又称 SteamPipe 分支)是橙盒 引擎分支分支的最终迭代。它由 Valve 于 2013 年推出,旨在用求生之路 引擎分支引擎分支中引入的 VPK 格式取代过时的 GCF 文件格式。
内容发生了重大变化,所有使用 起源2009起源 多人分支分支的 Valve 游戏都升级到了该分支。半衰期:起源起源2006 起源2006引擎分支升级为该引擎分支。
🖿custom文件夹是为了让修改更容易,并作为每个起源游戏的安装路径而添加的。

SteamPipe 因简化了起源引擎挂载内容的方式并包含了之前未发布的军团要塞2 军团要塞2代码而备受赞誉,但它也破坏了无数的mod,并使起源2009分支中已经存在的问题更加严重,此外还导致了半衰期:起源出现了更多的bug。它也没有求生之路 引擎分支分支的大部分功能。不过,随着时间的推移,引擎分支不断完善,现在已成为使用的主要分支。 起源2013 起源2013 分为两个子分支, 起源2013 单人分支 起源2013 单人分支起源2013 多人分支 起源2013 多人分支,它们分别取代了 起源2009起源 多人分支 分支。这两个子分支基本上是可互换的,但它们使用单独的代码库,并且多人分支具有单人分支中不可用的一些功能

Tip.png提示:尽管名称不同,但这两个分支都可以用于单人游戏
由于多人游戏分支的附加功能所带来的好处(静态道具 lightmaps 和 BSP 压缩),只有在使用Mapbase等基础mod或制作不修改游戏代码的单人mod时,才应使用单人分支。

功能

来自 起源2009 起源2009 引擎分支的新功能:

VPK files and 🖿custom folder
First introduced on 求生之路 引擎分支 求生之路 引擎分支 and onwards, it was later available on 起源2013 起源2013, which replaced the old GCF format. This also adds support for reading any files from "custom" folder.
Linux Linux support
The engine can now run on Linux. However, Linux support outside of official games may be spotty.
Static prop lightmaps (存在于 起源2013 多人分支 之中)(也存在于 Garry's Mod 之中)
Static props without bump maps can now use lightmaps.
Per-texel color tint masking for models
$blendtintbybasealpha is ported from the 求生之路 引擎分支 求生之路 引擎分支. 起源2013 起源2013 includes an exclusive additional parameter, $blendtintcoloroverbase.
Swaying trees (存在于 军团要塞2黑山Garry's ModMapbase 之中)
A material parameter that gives the effect of trees swaying in the wind.
BSP 压缩 (存在于 起源2013 多人分支 之中)
BSP maps and packed files can be losslessly compressed on both server and client.
VScript (存在于 军团要塞2Garry's ModMapbase 之中)
A powerful new scripting system primarily using Squirrel (if 军团要塞2Mapbase), Lua (if Garry's Mod).

可用性

Source 2013 多人游戏和单人游戏分支的游戏代码都包含在 Valve 的 Source SDK 2013 repository 存储库。 Template:ModernWarning

Source 2013 Singleplayer

Deprecates 起源2009 起源2009

第三方

Source 2013 Multiplayer

Deprecates 起源 多人分支 起源 多人分支

第三方

第三方使用 Source 2013 分支

The following games use neither 起源2013 单人分支 nor 起源2013 多人分支, but rather use custom (heavily modified) branches forked earlier versions from both Source 2013 branches, with newer features added on. As such, they may or may not include all features from newer first-party versions of Source 2013, such as LZMA-compressed BSPs or lightmapped MDLs.

  • 黑山 黑山 (branch also known as "Xengine")
  • Garry's Mod Garry's Mod (which also support some features from Alien Swarm, Portal 2 engine branch and onwards, such as partial VTF 7.5 support). Also have 64-bit executable.

另见