Source/zh

From Valve Developer Community
Jump to: navigation, search
反恐精英:起源 CS:S的截图,其运行于起源引擎
反恐精英:全球攻势 CS:GO的截图,其运行于CS:GO 引擎分支
Apex Legends Apex Legends的宣传图,其运行于泰坦陨落 引擎分支

起源 起源(Source)是 Valve 基于金源开发的一款3D游戏引擎,因其在图形、物理和AI方面的进步而闻名,这使得游戏在当时非常逼真,同时还可在性能较差的旧硬件上扩展。起源Valve第三方公司与社区模组开发者们所使用,被用于开发了超过百款游戏。现在,第一方使用的起源2已基本代替了起源,但模组作者与一些第三方公司仍在使用起源,且其仍获得定期维护与安全更新。

澄清: 并非所有起源游戏都有VAC Valve Anti-Cheat,比如Apex Legends Apex Legends
澄清: 以下功能列表可能不适用于某些起源引擎分支

渲染

Note.png注意:某些第三方游戏也可以通过使用 D3D 11 及更高版本支持着色器模型 5.0 及更高版本,如泰坦陨落 引擎分支地层起源
  • 抗锯齿支持
    • 起源引擎是 Valve 首个支持抗锯齿的引擎,而金源引擎在2013年才添加MSAA(4x)
    • 大多数起源游戏均支持MSAA(除了黑山 黑山(自XEN更新后)、Apex Legends Apex Legends等),最高支持8倍MSAA(起源2004则是6倍MSAA),老显卡(如 Maxwell 之前的 Nvidia 显卡)还支持CSAA
    • CS:GO 引擎分支还支持FXAA,由于其是一种后处理效果,这使其可以被非官方地添加到旧起源游戏中(甚至是其他游戏、引擎、软件中)
    • 只有少部分起源游戏(如Apex Legends Apex Legends)支持TAA
  • 模型和世界的凹凸贴图法线贴图
  • HLSL制作着色器
  • 立方体与环境的映射
    • 立方体映射也支持各向异性过滤 (in all games since 反恐精英:全球攻势)
  • 模型所用的 Phong 光照
    • 世界画笔也支持 Phong (in all games since 反恐精英:全球攻势)(also in Mapbase)
  • 动态光源、顶点照明和灯光贴图,包括闪烁、脉冲等多种灯光类型
  • HDR (in all games since 起源2006) 与 SDR/LDR (not in 求生之路2及之后) 照明
  • 具有折射、实时世界反射和菲涅尔效果的水
  • 可散发精灵模型的高级粒子系统
  • 渲染到纹理的阴影可在每个场景中生成大量角色 (in all games since 求生之路) (also in MapbaseXengine)
  • 用于能见度阻挡的遮罩实体
  • 室内/室外环境
    • 可实时变换的地形
    • 3D天空盒可扩展地平线,并为远处的物体添加视差效果
    • 动态渲染的植物 (草、树等)
  • 细分表面、漫反射和镜面凹凸贴图
  • 实时辐射度光照
  • 来自天空盒的实时级联阴影贴图 (in all games since 反恐精英:全球攻势) (also in 异形丛生 延迟Xengine)
  • 粒子、光束、体积烟雾、火花、血液、雾和雨等环境效果
  • 扩展
  • 基于物理的渲染 (only in 地层起源Tf-16px.png半衰期2 RTXHunt Down the FreemanPortal with RTXPortal 2: Desolation)
  • 视差闭塞贴图 (only in Xengine地层起源)
  • DirectX 支持
    • DX6 (only in 起源2004)(not in 起源2006及之后)
    • DX7 (only in 起源2004起源2006)(not in 起源2007及之后)
    • DX8-DX9 硬件支持(DX6-DX9 with modifications and fixed-function shaders)
    • 部分第三方引擎分支支持 DX11 及更高版本
Warning.png警告:起源2007起不再支持DX7及更早版本的材质(除了Portal with RTX Portal with RTX
求生之路 引擎分支及之后版本仅支持DX9材质

macOSLinux 版本里用 OpenGL (in all games since 起源2009)替换了起源的DirectX

Note.png注意:起源引擎允许多达8个LOD模型,虽然它不具备开箱即用的自动多细节层次(Level of Details)功能。但支持手动LoD。
Warning.png警告:反恐精英:全球攻势 CS:GO不支持多细节层次。$lod 将被忽略,但模型仍可正常工作。尽量避免在反恐精英:全球攻势 CS:GO中使用此命令。

材质系统

  • 与传统的纹理不同,起源定义了多组材质,这些材质指定了物体的材质以及该物体所使用的纹理。材料指定了物体破碎时的断裂方式、物体破碎或拖过其他表面时的声音,以及物体的质量和浮力。该系统比其他纯纹理系统更加灵活
  • 材料可以与物体或NPC互动,例如车辆在泥泞的道路或冰面上滑行或失去牵引力

多人网络代码

  • 经过全球数百万玩家的时间和游戏测试
  • 支持局域网与互联网联机游戏
  • 插值碰撞/命中检测的预测分析
  • 针对高延迟、高丢包的 56kpbs 连接进行优化

人物模型

  • 细致真实的人物模型
  • 逼真的眼睛
    • 玩家/对象之焦点,而不仅仅是平行视图
    • 适当的眼睛凸出度,实现逼真的眼睛反射
  • 模拟肌肉组织,提供出色的情感、言语和肢体语言
  • 各种语言自有演讲,角色可以自然地用多种语言说话
  • 动画骨骼系统
  • 分层动画系统可将多个片段合成复杂的动画

物理

  • 使用 Havok 物理引擎
  • 更灵敏的世界,更逼真的互动
  • 声音和图形遵循物理原理
  • AI角色可以与物理模拟对象交互
  • 绳索/电缆、机器、约束系统,布娃娃
  • 可由关卡设计控制
  • 运动学动画骨骼跟随器
  • 自定义程序物理控制器
  • 车辆
    • 具有打滑效果
    • 每个车轮上都有弹簧悬架
    • 加减速和转弯时的真实倾斜
    • 单独可调参数,如马力、档位、最大速度、换档速度、轮胎材料、轮胎摩擦、弹簧张力/阻尼等
    • 多人游戏中,一辆车上可承载多个玩家
    • 气垫船支持快速移动的模拟

AI

  • I/O系统允许关卡设计师调控AI
  • 精密的导航系统,角色可以奔跑、跳跃、飞行、蹲下、上下楼梯、爬梯子甚至是钻入地下
  • AI具有视觉、听觉和嗅觉
  • AI关系可以让AI自行判断队友以及敌人或其它实体的状态
  • 战斗AI允许AI小队成员协同作战,知道何时前进与后退,会相互配合、躲避等等

音效系统

  • 7.1、5.1环绕声,4扬声器环绕声
{{bug|当运行于 Windows Vista 及更新系统上时,由于游戏引擎使用 DirectSound 和旧版本的 Miles Sound System,尽管选择了7.1,但游戏可能只输出5.1环绕声,或者如果没有自定义的dsound.dll(如 Creative Alchemy、DSOAL 或 IndirectSound),7.1音频可能无法正常工作。(Titanfall 2 Titanfall 2Apex Legends Apex Legends等部分第三方游戏不受影响)
Note.png注意:某些起源游戏可能需要在控制台中启用7.1环绕声(如异形丛生 异形丛生传送门2 传送门2反恐精英:全球攻势 反恐精英:全球攻势
  • 高质量的三维空间音频
  • 定制软件DSP
  • 基于环境的自动DSP
  • 微软 ADPCM 压缩WAV文件
  • 16位 44.1 KHz(CD品质),具有所有功能的立体声数据
Warning.png警告:默认不支持 48 KHz 音频(DVD品质)
  • MP3解压缩(需要 Miles 许可)
  • 支持任何波形的音频流 [澄清]
  • 实时波形文件拼接 [澄清]
  • 预编译多普勒效应编码波形
  • 预编译距离变量编码波形
  • 开发者解说系统

UI

  • 服务器浏览器——显示所有在线的游戏服务器,玩家可以选择要参与的服务器。玩家还可对服务器列表进行过滤和排序,以加快服务器的显示和选择速度
  • VGUI—— Valve 的自定义GUI界面仿造多数 Windows 控件,使用起源引擎渲染,可在游戏内和游戏外显示统一的UI。特点如下:
    • 游戏内动态HUD显示
    • 许多小部件/控件(如 按钮、树状视图、html 控件 等)
    • 允许可视化自定义主题
    • Themes/custom visualization allowed
    • 独立于平台
    • 本地化文本(符合 Unicode 标准)
  • 全景(in all games since 反恐精英:全球攻势))——Valve 于2018年推出的全新自定义GUI,使用 .XML 和 JavaScript 文件,开发人员可以创建动态、简洁的用户界面和菜单,甚至是高质量的游戏内难以处理的面板。

编程

  • 所有代码均使用 Visual Studio .NET 2003 及更高版本的 C/C++ 编写。轻松快速地从现有基类派生出新实体
  • 内部上下文敏感性能监控系统
  • 引擎内置图形性能测量工具
  • 模块化代码设计(通过 DLL)允许更换核心组件,便于升级或更换代码
  • VScript 脚本系统允许使用外部编码语言(如 Squirrel 和 Lua)在地图中创建更复杂的系统 (in all games since 求生之路2) (also in 军团要塞2Mapbase)

工具

  • HLFaceposer HLFaceposer(面部姿态编辑器 )
    • 用于制作语音和情绪的面部表情工具
  • Hammer Valve Hammer Editor(锤子地图编辑器 )
    • 所见即所得的世界编辑器
Note.png注意:Hammer3D视图不支持光照预览
    • 创建地图的地形刷
    • 地形编辑器
    • 可放置精细的世界模型和AI NPC
    • 为 NPC 设置导航点/路径
    • 放置触发器、剪切画笔、逻辑实体等
    • 允许开发者在实体之间连接I/O,以控制游戏中的AI
  • HLMV Half-Life Model Viewer(Half-Life 模型查看器 )
    • 完整的模型预览
    • 允许任意方向旋转模型
    • 设置射击命中框(hit box)
    • 查看物理约束体
    • 查看法线
    • 随时切换线框、着色和纹理三种视图模式
  • Studiomdl(MDL工作站)
    • 模型编译器
  • VBSP, VRAD, VVIS, VMPI
    • 地图编译工具(bsp、照明和可见度)
    • VMPI——分布式编译工具,允许将各个级别的编译分散到多个电脑上,从而大大缩短编译时间
  • Exporters(导出)
    • XSI,可以在 3Ds Max 和 Maya 中导出.smd格式的模型

相关作品

由 Valve 制作

Third-Party

由第三方公司和mod团队制作的游戏、工具和mod

已发布

2004-2009
Year Title Developer(s) Publisher(s) Engine branch
(currently)
Platforms Notes
2004 Vampire The Masquerade - Bloodlines Vampire The Masquerade - Bloodlines Troika Games Activision 起源2004 起源2004 个人电脑: Windows First third-party game to use Source engine. Runs on the earlier, beta version of Source 2004, commonly refers to Source 2003 or Half-Life 2 Beta engine.
2004 JBMod JBMod TEAM JBMOD TEAM JBMOD 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows, Linux Earliest mod to be created, shortly after the release of Source SDK. It is also the spiritual predecessor to Garry's Mod Garry's Mod.
2005 Synergy Synergy Synergy Team Synergy Team 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows, Mac, Linux A co-op mod that allows you to play the entire 半衰期2 campaign in Multiplayer.
2005 Dystopia Dystopia Puny Human Puny Human 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows, Linux
2006 SiN Episodes SiN Episodes Ritual Ritual 起源2004 起源2004 个人电脑: Windows Last game by Ritual Entertainment, having only one out of nine episodes released, prior to the acquisition by MumboJumbo. No new episodes were created after the acquisition.
2006 The Ship: Murder Party The Ship: Murder Party (MP)
The Ship: Single Player The Ship: Single Player
Outerlight Ltd. Blazing Griffin 起源2006 起源2006 个人电脑: Windows
2006 Dark Messiah of Might and Magic Dark Messiah of Might and Magic Arkane Studios, Ubisoft Annecy (Xbox 360) Ubisoft 起源2006 起源2006 个人电脑: Windows
Consoles: Xbox 360
First third-party Source engine game to be released on consoles, specifically, the Xbox 360 Xbox 360.
2006 Garry's Mod Garry's Mod Facepunch Studios Valve 起源2013 起源2013 (heavily modified) 个人电脑: Windows, Mac, Linux Originally released in 2004 as GMod 1.0 (sometimes refers as Beta release), this is a third-party game (formerly, a Source SDK mod) that was published by Valve (first-party) with the release of GMod 10 and later versions. Unlike previous versions (GMod 9 or earlier), it is not free and requires purchase. When the GMod 13 was released in 2012, it initially ran on Source 2009, which was later upgraded to Source 2013. After GMod 13, the game, and it's Source 2013 branch transitioned to Wikipedia icon Software as a service-like model which meant that GMod will be frequently updated every month, and Facepunch begin to heavily modify the engine by adding experimental support for 异形丛生 引擎分支 异形丛生 引擎分支 and 传送门 2 引擎分支 传送门 2 引擎分支 or later features, such as VTF 7.5 and 64-bit support, and combining code from both 2013's SP and MP branch[证实].
2007 (Mod)
2008 (Steam)
Fortress Forever Fortress Forever Fortress Forever Development Team, Trepid Studios Fortress Forever 起源2006 起源2006 个人电脑: Windows
2007 Age of Chivalry Age of Chivalry Team Chivalry Team Chivalry 起源2007 起源2007 个人电脑: Windows
2007 (Mod)
2008 (Steam)
Zombie Panic! Source Zombie Panic! Source Zombie Panic! Team Zombie Panic! Team 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows, Linux
2007 INSURGENCY: Modern Infantry Combat INSURGENCY: Modern Infantry Combat Insurgency Development Team New World Interactive 起源2007 起源2007 个人电脑: Windows
2008 D.I.P.R.I.P. D.I.P.R.I.P. EXOR Studios EXOR Studios 起源2007 起源2007 个人电脑: Windows
2009 Zeno Clash Zeno Clash ACE Team Iceberg Interactive, Tripwire Interactive 起源2009 起源2009 个人电脑: Windows
Consoles: Xbox 360
Year Title Developer(s) Publisher(s) Engine branch
(currently)
Platforms Notes
2010-2019
Year Title Developer(s) Publisher(s) Engine branch
(currently)
Platforms Notes
2010 Bloody Good Time Bloody Good Time Outerlight Ltd. Ubisoft 起源 多人分支 起源 多人分支 个人电脑: Windows
Consoles: Xbox 360
2010 (Website)
2012 (Steam)
Vindictus Vindictus devCAT NEXON Korea Corp. & NEXON America Inc. 起源2009 起源2009 (heavily modified) 个人电脑: Windows Heavily modified, and uses proprietary file format to store game files. Also support DirectX 11.
2010 Blue Portals Blue Portals Reepblue Reepblue 起源2013 起源2013 个人电脑: Windows
2011 Dino D-Day Dino D-Day 800 North and Digital Ranch 800 North and Digital Ranch 传送门 2 引擎分支 传送门 2 引擎分支 个人电脑: Windows Originally 求生之路 引擎分支 求生之路 引擎分支 when it was released, later upgraded to 传送门 2 引擎分支 传送门 2 引擎分支.
2011 E.Y.E: Divine Cybermancy E.Y.E: Divine Cybermancy Streum On Studio Streum On Studio 起源2007 起源2007 个人电脑: Windows
2011 Nuclear Dawn Nuclear Dawn GameConnect, InterWave Studios Iceberg Interactive 求生之路 引擎分支 求生之路 引擎分支 个人电脑: Windows
2011 No More Room in Hell No More Room in Hell No More Room in Hell Team Lever Games 起源2013 起源2013 个人电脑: Windows
2011 Postal III Postal III Trashmasters Akella 起源2009 起源2009 个人电脑: Windows This game is infamous for being the worst commercially released Source engine game at all time, leading to Akella eventually becoming bankrupt. Originally delisted on Steam in Dec 2022 due to ActControl DRM server issues, which was later resolved after the remains of Akella gave RWS limited access to the game store page, and, RWS, with Zoom Platform together patch the game with bug and crash fixes by injecting the (🖿p3.dll file into the game, plus making it DRM-Free.
2012 (Steam) Dear Esther Dear Esther The Chinese Room, Robert Briscoe The Chinese Room, Secret Mode 起源2007 起源2007 (Mod)
起源2009 起源2009 (Steam)
个人电脑: Windows The 2011/2012 version of the game, which runs on 起源2009 起源2009 is no longer sold on Steam, being replaced by Landmark Edition remaster that runs on Unity engine. However the original 2009 mod of this game is [still available on ModDB].
2012 Revelations 2012 Revelations 2012 Dark Artz Entertainment Dark Artz Entertainment 求生之路 引擎分支 求生之路 引擎分支 个人电脑: Windows
2012 Hybrid 5th Cell Xbox Game Studios (formerly Microsoft Studios) Unknown Consoles: Xbox 360 Console-exclusive title.
2013 (delisted) Tactical Intervention Tactical Intervention FIX Korea, Co.LTD, FIX Games, Co. LTD FIX Games, Co. LTD 传送门 2 引擎分支 传送门 2 引擎分支[证实] 个人电脑: Windows No longer available.
2013 史丹利的语言 史丹利的语言 Galactic Cafe Galactic Cafe 传送门 2 引擎分支 传送门 2 引擎分支 个人电脑: Windows, Mac, Linux This modified branch was later used in 新手指南 新手指南. A sequel, expanded and re-imagination of 史丹利的语言 was later released in 2022 as The Stanley Parable: Ultra Deluxe, which runs on Unity engine.
2013 Counter-Strike Online 2 Nexon Nexon 起源2009 起源2009 or 起源2013 起源2013 (heavily modified)[证实] 个人电脑: Windows Currently unknown whether it uses Source 2009 or 2013. Like 反恐精英 Online, it's also used propertiary file format to store it's game files.
2014 (delisted) Consortium Interdimensional Games Interdimensional Games 传送门 2 引擎分支 传送门 2 引擎分支 个人电脑: Windows Delisted in favor of the upcoming remaster running on Unreal Engine 4.
2014 Blade Symphony Puny Human Puny Human 传送门 2 引擎分支 传送门 2 引擎分支 (confirm) 个人电脑: Windows Originally released as a Early Access game in 2013.
2014 Insurgency Insurgency New World Interactive New World Interactive CS:GO 引擎分支 CS:GO 引擎分支 (earlier version) 个人电脑: Windows
2014 Titanfall Titanfall Respawn Entertainment Electronic Arts Tf-16px.png 泰坦陨落 引擎分支 个人电脑: Windows
Consoles: Xbox 360, Xbox One
Likely delisted on PC (Origin/EA Play and Steam) due to low player count and constant server issues due to being DDoS attacked, plus the game also have multiple security vulnerabilities. Existing owner can still play the game. The engine was heavily modified from 传送门 2 引擎分支 传送门 2 引擎分支.
Also first Source engine game to be released on eighth-gen console.
2014 Contagion Contagion Monochrome, Inc Monochrome, Inc 求生之路 引擎分支 求生之路 引擎分支 个人电脑: Windows Spiritual successor to Zombie Panic! Source Zombie Panic! Source.
2014 (Steam) NEOTOKYO° NEOTOKYO° STUDIO RADI-8 STUDIO RADI-8 起源2006 起源2006 个人电脑: Windows Originally released in 2009 as a SourceMod that requires Source SDK 2006 to be installed, later released on Steam in 2014, which is completely standalone.
2014 (Steam) Fistful of Frags Fistful of Frags Hoobalugalar_X Raptor Byte 起源2013 起源2013 个人电脑: Windows, Mac, Linux Originally released as a mod in 2007 on ModDB.
2014 Lambda Wars Lambda Wars Vortal Storm Vortal Storm 异形丛生 引擎分支 异形丛生 引擎分支 个人电脑: Windows
2014 Team Fortress 2 Classic Team Fortress 2 Classic Eminoma Team Eminoma Team 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows First 军团要塞2 军团要塞2 起源 起源 mod to be released.
2015 Portal Stories: Mel Portal Stories: Mel Prism Game Studios Ltd. Prism Game Studios Ltd. 传送门 2 引擎分支 传送门 2 引擎分支 (earlier version) 个人电脑: Windows, Mac, Linux Requires 传送门2 传送门2 to be installed to play.
2015 (Steam) Codename Cure Hoobalugalar_X Raptor Byte 起源2013 起源2013 个人电脑: Windows, Mac, Linux Originally released as a mod in 2013 on ModDB.
2015 Double Action Double Action Factory Double Action Factory 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows, Linux
2015 新手指南 新手指南 Everything Unlimited Ltd. Everything Unlimited Ltd. 传送门 2 引擎分支 传送门 2 引擎分支 个人电脑: Windows, Mac, Linux Based off modified version of 史丹利的语言 史丹利的语言 engine, which itself was also modified from 传送门 2 引擎分支 传送门 2 引擎分支.
2016 Wilson Chronicles Frere d'Arme Frere d'Arme 起源2013 起源2013 个人电脑: Windows
2016 基建危机 基建危机 Loiste Interactive Loiste Interactive 传送门 2 引擎分支 传送门 2 引擎分支 个人电脑: Windows
2016 Titanfall 2 Titanfall 2 Respawn Entertainment Electronic Arts Tf-16px.png 泰坦陨落 引擎分支 个人电脑: Windows
Consoles: Xbox One, PlayStation 4
A sequel to Titanfall. First Titanfall game to have a singleplayer campaign.
2016 Day of Infamy Day of Infamy New World Interactive New World Interactive CS:GO 引擎分支 CS:GO 引擎分支 (earlier version) 个人电脑: Windows, Mac, Linux
2017 Alien Swarm: Reactive Drop Alien Swarm: Reactive Drop Reactive Drop Team Reactive Drop Team 异形丛生 引擎分支 异形丛生 引擎分支 个人电脑: Windows
2017 Entropy : Zero Entropy : Zero Breadman Breadman 起源2013 单人分支 起源2013 单人分支 个人电脑: Windows
2018 Hunt Down the Freeman Hunt Down the Freeman Royal Rudius Entertainment Royal Rudius Entertainment 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows In later updates, the game was transfered from Source 2013 SP to MP codebase. Engine is now heavily modified over time, adding feature such as: Parallax Corrected Cubemaps, PBR textures, WebM (replaces Bink), FMOD for audio, and much more...
This game was largely criticized by players due to numerous reasons like bugs, poor design, developers of this game's were not being paid.
2019 Apex Legends Apex Legends Respawn Entertainment Electronic Arts Tf-16px.png 泰坦陨落 引擎分支 个人电脑: Windows Heavily modified, like previous Titanfall games. Replaced HBAO+ ambient occlusion and MSAA anti-aliasing to SSAO and TAA respectively, aswell as the only Source game that supports DirectX 12 (incl. Direct3D 12) natively.
2019 Open Fortress Open Fortress Open Fortress Development Team Open Fortress Development Team 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows The fourth 军团要塞2 军团要塞2 起源 起源 mod to be released, with TF2Vintage having been released in 2017, and Team Deathmatch Classic being launched in 2018.
2019 Pre-Fortress 2 Pre-Fortress 2 Pre-Fortress 2 Team Pre-Fortress 2 Team 起源2013 多人分支 起源2013 多人分支 个人电脑: Windows The fifth 军团要塞2 军团要塞2 起源 起源 mod to be released.
Year Title Developer(s) Publisher(s) Engine branch
(currently)
Platforms Notes
2020至今

未发布

本部分为未发布的第三方游戏和工具,这些游戏和工具正在开发中,尚未公开发布,或处于 Beta/EA 阶段

更多第三方起源游戏

参见

扩展

Blank image.png待完善: 这些指南的相关性和时效性如何?在适当的地方保留最新手册的链接,而不是全部。为此请使用Special:LinkSearch