Эта статья документации для всего, что использует платформу Source. Нажмите для получения дополнительной информации.

Orange Box (engine branch)

From Valve Developer Community
< Ru
Revision as of 15:36, 24 January 2025 by OktoBSD (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)Español (es)Русский (ru)中文 (zh)Translate (Translate)
В этой статье рассматривается the Orange Box (Source 2007) engine branch. Информацию о the documentation on Source SDK Base 2007, смотрите здесь Source SDK Base(en).

Source 2007Source 2009Source Multiplayer Ветвь движка Source 2007, также известная как The Orange Box engine branch, была выпущена 10 октября 2007 года с выходом The Orange Box The Orange Box (Half-Life 2: Episode Two, Portal и Team Fortress 2), сменив ветку движка Source 2006. Half-Life 2 и Half-Life 2: Episode One также были портированы на Source 2007 только на консолях (до 2010 года, когда ПК-порт Half-Life 2 и Half-Life 2: Episode One были позже портированы на ветку 2009 года).

Она поддерживалась параллельно с Версия платформы Left 4 Dead Версия платформы Left 4 Dead, в которой, примерно в это время, все первоисточники Source 2006 (кроме Half-Life: Source) и Source 2007 игры были обновлены до Source 2009 (для однопользовательских игр) и Source Multiplayer (для многопользовательских игр) вплоть до июля 2010 года, когда она была признана устаревшей после выпуска Alien Swarm engine branch Alien Swarm engine branch. Несмотря на это, в 2013 году были выпущены ветки Source 2013 Singleplayer и Source 2013 Multiplayer как более прямые обновления для этих игр.

Пытаясь остановить баннихоппинг(en), Valve обновила систему передвижения, ограничив скорость движения вперед, что привело к появлению ускоренного прыжка назад. В этой ветке также появилось несколько ошибок, заметных в Half-Life 2 (и его эпизодах), например, пушка транспортёра(en) больше не вращается и, таким образом, не может стрелять, если вы не стоите перед пушкой, что значительно облегчает битву в главе Песчаные ловушки(en).

В мае - июне 2010 года все игры от первого лица Source 2006 и Source 2007 для ПК (кроме' Half-Life: Source, Half-Life Deathmatch: Source и Half-Life 2: Lost Coast) были обновлены до Source 2009, что добавило поддержку macOS, а также ввело достижения для PC/Mac версий Half-Life 2 и Half-Life 2: Episode One. По желанию, достижения также поддерживаются в сторонних модах.

The Orange Box создана на основе оригинальной ветки Half-Life 2 и требует установки ее содержимого для работы.

Versions

There are six Orange Box branches. The first three are referred to in the SDK Launcher as Source 2007 Source 2007, Source 2009 Source 2009, and Source Multiplayer Source Multiplayer. The 2009 and MP branches do not have a different feature set, but they are incompatible with 2007 due to various under-the-hood changes (which include a different SteamID(en) scheme and Mac OS X compatibility). Both Source 2009 and MP branches also lacks the SDK Base. The other three are collectively referred to as Source 2013 Source 2013, consisting of Source 2013 Singleplayer Source 2013 Singleplayer, Source 2013 Multiplayer Source 2013 Multiplayer, and the Ветвь Team Fortress 2 Ветвь Team Fortress 2. Source 2013 makes several more significant changes, and has its own page(en).

Engine versions:

  • Source 2007 branch - build 3258 up to 4044 (Protocol 11-14)
  • Source 2009/MP branch - build 3861 up to 5135 (Protocol 15-16)

Features

New since the Source 2006 Source 2006 engine branch are:

Source 2007 2007

Threading(en)
Logic, rendering and audio have been threaded for performance gains in multi-core environments.
Soft particles(en)
An all-new, artist-driven particle system, replacing the old hard-coded particle system.
Shadow mapping(en)
Special dynamic lights such as the player's flashlight can now cast high-quality dynamic shadows.
Improved High Dynamic Range rendering(en)
Remade HDR tonemapping that better fits outdoor scenes.[1]
Motion blur
Cheap and simple camera motion blur.[1]
Hardware Morph (HWM) flexes(en) and Wrinkle maps(en)
A new, powerful facial animation system, with support for textures that add fine wrinkling detail to the face during flex animation.
Conditional statements(en)
New conditional statements for use in materials(en) to optimize them for lower-end machines.
Phongwarp textures and other Phong improvements(en)
Source's phong shading, introduced in Source 2006 Source 2006, has been upgraded with additional features such as reflection tinting, albedo tinting, phongwarp textures, and more.
Self-shadowing bump maps(en)
A special, cheaper kind of bump map for brush shaders with baked in ambient occlusion to give the illusion of a self-shadowing surface.
Automatic displacement texturing(en)
Mitigates texture stretching across displacement surfaces.
Alpha to coverage(en)
Applies anti-aliasing to transparent textures. MSAA must be enabled for this to work.
Alpha to distance(en)
Vector-like edges on raster images.
Flowing emissive textures for models(en)
Advanced flowing emission for VertexLitGeneric, notably used on the Vortigaunts in Half-Life 2: Episode Two Half-Life 2: Episode Two
Fresnel for specular reflections(en) and self-illumination(en) on models
On VertexLitGeneric, $envmap and $selfillum have new parameters to enable shading with the Fresnel effect.
Cinematic Physics(en)
Baked physics animations that are rendered offline and brought into the engine for playback with minimal performance cost.
Нужно сделать: This isn't really new; GoldSrc did it in Condition Zero удалённые сцены Condition Zero удалённые сцены
Improved prop_static(en) lighting
Static props without normal maps or phong can now be lit by VRAD per-vertex, instead of at runtime based upon their origin(en) or $illumposition(en).
Bink video(en)
A video codec used in game intros, such as the Valve intro during the game startup. It replaces the old video playback system which uses the AVI(en) file format.
Maplist Thumbnails(en)
A console-oriented server browser(en) UI.
Support for Xbox 360 Xbox 360 and PlayStation 3 PlayStation 3 console
Most of the game files (BSP(en), VTF(en), etc.) on both consoles (both have PowerPC architecture) are stored in big-endian.
The PlayStation 3 version was ported by EA (Electronic Arts) due to the complexity of the hardware at the time. This result in the game running worse than the Xbox 360 counterpart.
Xbox 360 (or XInput-compatible) controller support on PC
Native support for the Xbox 360 (or any XInput-compatible) controller on PC has been added.

Additionally, the tools have been upgraded:

Visclusters(en)
A new entity to be placed in large open areas with unbroken visibility, reducing compile times.
Texture shadows(en)
Static props can with transparent or translucent textures can now cast shadows based upon their alpha channel.
DMX(en) model format
Deprecates SMD(en)

Source 2009Source Multiplayer 2009/MP

macOS Mac OS X support
Supported since 2010 engine update. The engine can now run on Mac. However, Mac support outside of official games may be spotty.
Furthermore, newer version of macOS since 10.15 (Catalina) no longer support all 32-bit apps and games in general (which also includes every single Source engine games that are complied for 32-bit only).
QuickTime video (MOV) (только в macOS)
Replaces BINK video and only used on macOS macOS systems. Some games may also support Bink video on macOS macOS.
Particle system adjustments
Particles can now render blobs(en) and models(en).
Not available in subsequent branches (removed in Source 2013 Source 2013, and not ported upstream to Alien Swarm engine branch Alien Swarm engine branch).
Disable phys_bone_followers
phys_bone_followers can now be disabled on dynamic props for performance gains and lower entity counts.

Source 2013 2013

Source 2013 Source 2013 (both SP and MP) has its own page.

Removed features

Source 2007 2007

Features that have been removed or deprecated in Source 2007 Source 2007 are:

DirectX(en) 7.0 (dxlevel 70) compatibility level
Support for DirectX 7.x(en) GPUs has been dropped.
env_terrainmorph(en)
env_terrainmorph dynamically morphs displacements by pulling vertices along a normal, similar to the Paint Geometry tool in Hammer.

Availability

Most games using this branch (except Console version of those games) were upgraded to the Source 2013 Singleplayer Source 2013 Singleplayer or Source 2013 Multiplayer Source 2013 Multiplayer branches when those released. Nevertheless, gamecode for the 2007 branch is included in the now-deprecated Source SDK app.

Source 2007

Valve

Third-Party

Source 2009

Third-Party

  • 2009 Zeno Clash Zeno Clash
  • 2011 Postal III Postal III
    • Added PhysX physics engine for certain cloth models. Also contains a modified MDL format, certain features from Версия платформы Left 4 Dead (VPK(en) v1), unique scripting language (Postal3Script), a system for using env_sprites for trees and hair, as well as a unique implementation of Nextbots. A former developer described it as such[1]:
"We messed it up from the start. In the later stages we were trying to upgrade to the latest source version [Source 2009] with some luck – that was part of the multiplayer effort. But we messed a lot to a source engine core, we messed with client/server architecture. It is a miracle the game was working at all."

Source MP

Third-Party

None.

System Requirements

These system requirements applies to Source SDK Base 2007(en) (and some Source 2007/2009/MP game) only. Some other games may have their own system requirements.

Windows Minimum Specs :

  • OS: Windows XP, Vista, 7 or later
  • CPU: 1.7 GHz and/or Dual-core
  • RAM: 1GB RAM
  • GPU: NVIDIA GeForce 6xxx series, ATI Radeon X1600, Intel HD Graphics 3000 (with 128MB VRAM)
  • Direct3D 9.0 compatible video card (with atleast DirectX 8.0 compatibility level or higher)
  • NOTE: As Steam dropped support for previous version of Windows, and this branch requires Steam (unlike Source 2013), all Source 2007/2009/MP branch games will require Windows 7/8/10 or later.

Mac OS Minimum Specs:

  • OS X 10.5.8, 10.6.3 (up to 10.14.6)
  • CPU: 2.0 GHz and/or Dual-core
  • RAM: 1 GB
  • GPU: NVIDIA GeForce 8xxx series, ATI Radeon X1600, Intel HD Graphics 3000
    OpenGL 2.1 compatible
  • Audio: OpenAL compatible

References

  1. Valve GDC 2008: Post Processing in The Orange Box
  2. Interview with a Trashmasters dev who wished to remain anonymous