Source 2013

From Valve Developer Community
Jump to: navigation, search
English (en)中文 (zh)
Edit

The Source 2013 Source 2013 engine branch (also called SteamPipe branch) is the final iteration of the Orange Box engine branch. It was introduced by Valve in 2013 to replace the archaic GCF file format with the VPK format introduced in the Left 4 Dead engine branch. Major shifts in content mounting occurred, and all Valve games using the Source 2009 and Source Multiplayer engine branches were upgraded to this branch. Half-Life: Source, Half-Life Deathmatch: Source, and Half-Life 2: Lost Coast was also upgraded to this engine branch from the Source 2006 engine branch. The 🖿custom folder was added to make modding easier and was added as a mounting path for each individual Source game.

While SteamPipe was praised for simplifying how the Source engine mounts content and including previously-unreleased Team Fortress 2 code, it also broke countless numbers of mods and worsened problems already present in the Source 2009 branch, plus causing more bugs in Half-Life: Source. It also does not have most of the features that the engine branches from the Left 4 Dead engine branch onwards had. However, the engine branch has been polished over time and is now the main branch in use by modern non-licensed engine mods.

Source 2013 Source 2013 is split into two sub-branches, titled Source 2013 Singleplayer Source 2013 Singleplayer and Source 2013 Multiplayer Source 2013 Multiplayer, which replaced the Source 2009 and Source Multiplayer branches, respectively. The two sub-branches are mostly interchangeable, but they use separate codebases, and the Multiplayer branch has some features which are not available in the Singleplayer branch.

Tip.pngTip:Despite the names, both branches can be used for singleplayer.
Due to the benefits provided by the Multiplayer branch's additional features (static prop lightmaps, BSP compression, and slightly newer code), the Singleplayer branch should only be used if using a base mod such as Mapbase, or if making a single-player mod that does not modify game code.

Features

New since the Source 2009 Source 2009 engine branch is:

VPK files and 🖿custom folder
First introduced on Left 4 Dead engine branch Left 4 Dead engine branch and onwards, it was later available on Source 2013 Source 2013, which replaced the old GCF format. This also adds support for reading any files from "custom" folder.
Linux Linux and other platform support
The engine can now run on Linux, Android (for Nvidia Shield) and other operating systems. However, support for these OS outside of official games may be spotty.
64-bit allows the game to access more than 4GB RAM and have slightly better performance. (only in Team Fortress 2Garry's Mod)
Static prop lightmaps (only in Source 2013 Multiplayer)(also in Garry's Mod)
Static props without bump maps can now use lightmaps (albeit with limitations).
Per-texel color tint masking for models
$blendtintbybasealpha is ported from the Left 4 Dead engine branch Left 4 Dead engine branch. Source 2013 Source 2013 includes an exclusive additional parameter, $blendtintcoloroverbase.
Swaying trees (only in Team Fortress 2Black MesaGarry's ModMapbase)
A material parameter that gives the effect of trees swaying in the wind.
BSP compression (only in Source 2013 Multiplayer)
BSP maps and packed files can be losslessly compressed on both server and client.
VScript (only in Team Fortress 2Garry's ModMapbase)
A powerful new scripting system primarily using Squirrel Squirrel (if Team Fortress 2Mapbase), Lua Lua (if Garry's Mod).

Availability

Gamecode for both the Source 2013 Multiplayer and Singleplayer branches is included in Valve's Source SDK 2013 repository.

Warning.pngWarning: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 Half-Life 2 and Portal (since the new Steam Deck update) respectively, nor the "upcoming" builds on Steam, along with the rest of Source 2013 games. Furthermore, the MP builds (on Steam) are more up to date than the SP builds.

Source 2013 Singleplayer

Third-Party

Source 2013 Multiplayer

Third-party

Third-party Source 2013 branches

The following games use neither Source 2013 Singleplayer nor Source 2013 Multiplayer, 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.

See also