This article relates to the game "Team Fortress 2". Click here for more information.
这篇条目有关 Source引擎。如需详情,点击这里。

Team Fortress 2 engine branch

From Valve Developer Community
< Zh
Revision as of 22:19, 22 February 2025 by 115steam (talk | contribs)
Jump to navigation Jump to search
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)

English (en)Русский (ru)中文 (zh)Translate (Translate)
Broom icon.png
This article or section needs to be updated to include current information regarding the subject because:
All first party 起源2013 多人分支 games run on this branch now. Update all other pages to mention 军团要塞2分支 instead of 起源2013 多人分支, and add new features to this page (if there are any). If something says (存在于 起源2013 多人分支 之中), say (存在于自 起源2013 多人分支 以来) instead.
Remember to check for any notes left by the tagger at this article's talk page.

The 军团要塞2分支 军团要塞2分支 (also referred as Source 2013 Multiplayer v2, or TF2 branch for short) is a newer version of 起源2013 多人分支 起源2013 多人分支, developed from updates to 军团要塞2 军团要塞2. 半衰期2:死亡竞赛 was also upgraded to this branch after the 20th Anniversary update. All remaining 起源2013 多人分支 games (反恐精英:起源, 半衰期死亡竞赛:起源, 胜利之日:起源 and 起源2013 多人分支 SDK) were upgraded to this branch on 18 February 2025.

The branch also adds new features, including one from 半衰期2 20th Anniversary Update, 求生之路 引擎分支 and later branches.

Source mods and tools that are built on 起源2013 多人分支 (also referred as 起源2013 多人分支 Legacy) will not work on this branch, due to incompatible ABI(s).

Features

New since the 起源2013 多人分支 起源2013 多人分支 branch is:

Wikipedia icon 64-bit binaries (也存在于 Garry's Mod 之中)
Allows the game to access more than 4GB RAM and have slightly better performance. Additionally, tools such as Hammer, map compilers (VBSP, VVIS, VRAD), etc... also have 64-bit binaries.
Note.png注意:64-bit is not available on Mac.
VScript(en) (也存在于 Mapbase 地狱已满 求生之路 引擎分支 传送门 2 引擎分支 CS:GO 引擎分支 之中)
A powerful new scripting system primarily using Squirrel Squirrel. Third-party games may have different VScript implementation.
WebM(en) video playback (也存在于 Hunt Down the Freeman Garry's Mod 反恐精英:全球攻势 地层起源 之中)
Used for game intros or cutscenes in some games. Replaces Bink(en) video. WebM allows smaller file sizes without significant degradation in video quality.
Vulkan(en) renderer (也存在于 半衰期2 传送门 求生之路2 传送门 2 引擎分支 CS:GO 引擎分支 地层起源 Xengine 之中)
A low-overhead, cross-platform graphics API, successor to OpenGL(en).
First introduced in 2022 with the release of Steam Deck update for 半衰期2 and 传送门, and later added to 军团要塞2 during the 64-bit update. Portal with RTX also uses Vulkan as part of the RTX Remix runtime. Using DXVK, a library used to translate Direct3D calls to Vulkan. This is disabled by default, but can be enabled in supported games by passing -vulkan into the game's launch options.
VGUI(en) High Wikipedia icon DPI support (也存在于 半衰期2 20th 之中)
VGUI elements are now properly scalable on higher resolutions such as 4K (3840x2160).
Steam Networking
Allows self-hosting using Steam Datagram Relay, meaning users can easily create joinable servers without port forwarding.
Wikipedia icon Bicubic lightmap filtering (也存在于 半衰期2 20th 半衰期:起源 之中)
Introduced in 2024, bicubic filtering is used on lightmap(en)s when r_lightmap_bicubic is enabled, smoothing out aliasing caused by the lower resolution of lightmaps. It can be also enabled by setting the Shader detail to "Very High".
Radial fog(en) (也存在于 Mapbase 求生之路 引擎分支 异形丛生 引擎分支 传送门 2 引擎分支CS:GO 引擎分支 地层起源 半衰期2 20th 之中)
Unlike planar-based fog, radial fog does not strengthen or weaken the apparent amount of fog in a particular spot when you rotate the camera.
You can either use radial fog or planar-based fog by changing env_fog_controller "Use Radial Fog (fogRadial)" KeyValues.
Texture streaming (也存在于 CS:GO 引擎分支泰坦陨落 引擎分支 之中)
Reduces system RAM and graphics card VRAM usage by streaming textures as needed instead of loading them all when loading the map.
Swaying trees(en) (也存在于 Garry's Mod Mapbase 求生之路 引擎分支 异形丛生 引擎分支 传送门 2 引擎分支 CS:GO 引擎分支 地层起源 Xengine 之中)
Introduced in Jungle Inferno update. A material parameter that gives the effect of trees swaying in the wind.
Removal of Miles Sound System middleware
Uses open-source minimp3 minimp3 for MP3(en) playback instead. Files related to Miles Sound System will remain on the game's 🖿bin folder, but left unused.
Updated shader compilation tools
Now by default SCell555's shader compiler is included in the SDK.
Numerous security fixes
See GitHub post.

Availability

Source code (game, tools) for this branch is available on GitHub.

Valve

Note.png注意:Mods built on 起源2013 多人分支 Source SDK Base 2013 - Multiplayer prior to the upgrade to the 军团要塞2分支 may not work properly if the mod is launched with updated SDK Base 2013 MP, so if you want to use legacy version of Source SDK Base 2013 - Multiplayer to play older mods (or use older tools), follow the instructions:
  1. Open Steam, go to Source SDK 2013 Multiplayer, right click Properties
  2. A window will open. Go to "Betas", select previous2021 beta branch.
  3. Steam will automatically re-download the files. Once it's done, run Source SDK Base 2013 MP as normal, or use it's tools.