# GoldSrc

**GoldSrc**（又称 **GoldSource**，旧称[半条命](https://www.edgepedia.org/zh/half-life-video-game)引擎）是维尔福（Valve）于1996年制作的一款3D电子游戏引擎，它是在id Software的[雷神之锤](https://www.edgepedia.org/zh/quake-video-game)（Quake）引擎基础上大幅修改而成，并于1998年11月随《半条命》（*Half-Life*）首次发行。<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup><sup> • </sup><sup>[2](https://www.theringer.com/2018/11/29/video-games/half-life-20th-anniversary-valve-fps-black-mesa-xen)</sup> 在2004年《半条命2》推出其继任者[Source](https://www.edgepedia.org/zh/source-game-engine)引擎之前，维尔福的游戏一直由该引擎驱动。<sup>[3](https://steamdb.info/tech/Engine/GoldSource/?max_release=2025-12-31&min_release=2025-01-01)</sup>

| 关键事实 | 详情 |
|---|---|
| 开发者 | 维尔福；引擎创建于1996年，1998年11月19日随《半条命》首次发布<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup><sup> • </sup><sup>[4](https://www.theseus.fi/bitstream/handle/10024/507593/Peltola_Mikko.pdf)</sup> |
| 基础 | 大幅修改的QuakeWorld代码库，其本身是雷神之锤引擎的发展版本；基于雷神之锤1，而非雷神之锤II<sup>[5](https://liquipedia.net/counterstrike/Goldsource)</sup><sup> • </sup><sup>[6](https://www.indiedb.com/engines/goldsource/news/clearing-up-confusions-about-valves-engines)</sup> |
| 名称由来 | Source引擎开发期间代码库发生分叉；用于正式发行游戏的金母版分支称为GoldSrc，实验性分支则成为Source<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup> |
| 主要游戏 | 半条命及其资料片、反恐精英、反恐精英1.6、胜利之日、军团要塞经典版、死亡竞赛经典版、反恐精英：零点行动<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup><sup> • </sup><sup>[3](https://steamdb.info/tech/Engine/GoldSource/?max_release=2025-12-31&min_release=2025-01-01)</sup> |
| 游戏代码 | 编译为C++动态链接库（DLL）处理游戏逻辑，取代了雷神之锤的QuakeC解释器<sup>[4](https://www.theseus.fi/bitstream/handle/10024/507593/Peltola_Mikko.pdf)</sup> |
| 继任者 | Source引擎，自《半条命2》（2004年）起使用<sup>[3](https://steamdb.info/tech/Engine/GoldSource/?max_release=2025-12-31&min_release=2025-01-01)</sup> |
| 开放性 | 引擎为专有软件；维尔福公开游戏代码仓库，但不公开引擎本身<sup>[7](https://github.com/ValveSoftware/halflife)</sup> |

## 起源

在《半条命》开发初期，维尔福从id Software获得了现有雷神之锤引擎的授权，并将其作为基础。维尔福对其进行大量修改与增补后的成果，便被称为GoldSrc（或“Goldsource”）。<sup>[2](https://www.theringer.com/2018/11/29/video-games/half-life-20th-anniversary-valve-fps-black-mesa-xen)</sup> 与普遍看法相反，GoldSrc并非雷神之锤引擎的简单复制，而且它基于雷神之锤1引擎而非雷神之锤II；维尔福自己的开发者表示，在与[雷神之锤II](https://www.edgepedia.org/zh/quake-ii)功能重叠之处，例如游戏代码DLL和彩色光照，维尔福是独立开发了自己的解决方案。<sup>[8](https://www.engineeringniche.com/article/the-challenges-of-porting-half-life-to-modern-consoles-an-engineering-perspective/)</sup><sup> • </sup><sup>[6](https://www.indiedb.com/engines/goldsource/news/clearing-up-confusions-about-valves-engines)</sup>

该引擎还融合了雷神之锤II、QuakeWorld以及维尔福持有授权的其他引擎版本的片段。<sup>[4](https://www.theseus.fi/bitstream/handle/10024/507593/Peltola_Mikko.pdf)</sup> 与雷神之锤的一处结构性差异在于游戏玩法代码：雷神之锤使用QuakeC解释器，而GoldSrc使用以DLL形式编译的C++代码，这一做法与雷神之锤II相似。<sup>[4](https://www.theseus.fi/bitstream/handle/10024/507593/Peltola_Mikko.pdf)</sup>

这一名称可追溯至Source引擎的开发时期。当维尔福临近《半条命》发售时，已有一些项目正在进行，而这些项目不能冒险将代码合入待发售版本，于是代码库发生了分叉。用于游戏正式发布的金母版分支被称为GoldSrc，而实验性分支，即单纯的“src”，后来演变成了Source。<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup> 在此之前，该引擎没有自己的名称，只被称为半条命引擎。<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup>

## 游戏与模组制作

GoldSrc驱动了当时一些最受评论界赞誉的游戏，包括《半条命》、《反恐精英》、《胜利之日》等。<sup>[6](https://www.indiedb.com/engines/goldsource/news/clearing-up-confusions-about-valves-engines)</sup> 该引擎的游戏列表还包括《军团要塞经典版》——雷神之锤模组军团要塞的GoldSrc重制版——以及《死亡竞赛经典版》。<sup>[1](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)</sup> 维尔福让模组制作变得前所未有的容易，围绕GoldSrc游戏形成的社区可与围绕雷神之锤的社区相媲美。<sup>[2](https://www.theringer.com/2018/11/29/video-games/half-life-20th-anniversary-valve-fps-black-mesa-xen)</sup>

**移动物理**沿袭自雷神之锤。《半条命》拥有与雷神之锤相同的空中横移（在空中转身以无摩擦地转向移动）机制，只是在玩法手感上有细微差异，这一特性后来定义了[反恐精英](https://www.edgepedia.org/zh/counter-strike)的竞技玩法，并延续至今仍在基于GoldSrc的游戏中存在。<sup>[4](https://www.theseus.fi/bitstream/handle/10024/507593/Peltola_Mikko.pdf)</sup> 雷神之锤风格的移动与瞄准也是现代粉丝项目的卖点，例如《光环：GoldSrc》模组，它在半条命引擎中重现了《光环：战斗进化》的玩法，包含自由混战模式、对抗半条命敌人的合作枪林弹雨模式、手柄支持以及Linux支持。<sup>[9](https://www.windowscentral.com/gaming/halo-and-half-life-combine-in-wild-new-mod-bringing-two-of-my-favorite-games-together-in-one)</sup>

**引擎行为**决定了游戏能做什么。GoldSrc中的对象与雷神之锤中的一样，每帧按照它们在关卡编辑器中创建的顺序以固定顺序更新，这是模组开发者不得不设法应对的细节。<sup>[10](https://phq.muddasheep.com/phq_articles.cgi?show=96)</sup> 像GoldSrc这样的老引擎还带有硬编码的限制，例如地图的最大尺寸。<sup>[11](https://www.pcgamer.com/games/fps/i-was-excited-for-this-quake-port-of-half-life-until-i-discovered-the-creators-wild-ai-conspiracy-theories/)</sup>

## 技术特征

尽管建立在1996年的技术之上，GoldSrc支持超出其基础的效果。一篇技术评测描述了维尔福如何在引擎内使用类着色器技术——该评测将其定性为大幅修改的QuakeWorld引擎——来创造水面反射、折射玻璃、动态光照及其他效果；最接近的竞争对手雷神之锤III的早期技术直到1999年12月才发布，而《半条命》的资料片早在半年前就已扩展了该引擎所能呈现的效果种类。<sup>[12](https://www.engineeringniche.com/article/a-technical-review-of-half-lifes-use-of-shader-programming-for-visual-effects/)</sup> 该引擎与其QuakeWorld前身的主要差异在于它如何处理光照存储以及游戏如何加载纹理。<sup>[5](https://liquipedia.net/counterstrike/Goldsource)</sup>

维尔福的《半条命》设计师马克·莱德劳（Marc Laidlaw）描述了从雷神之锤引擎起步的优势：维尔福可以直接投入游戏制作，而不必先花数年构建引擎技术，而且其许多关卡设计师都是经验丰富的雷神之锤模组制作者，了解引擎的缺点与长处。他也指出了代价：由于引擎相对原始版本被改动了太多次，设计师们一直在追赶，等待新功能下达，直到引擎完工才能高效工作。<sup>[13](https://www.gamesradar.com/games/fps/there-was-an-arrogant-assumption-that-players-of-shooters-didnt-want-and-wouldnt-care-about-a-story-we-just-didnt-believe-this-go-behind-the-scenes-of-half-life-with-legendary-valve-designer-marc-laidlaw/)</sup> 维尔福曾计划将实时物理整合进《半条命》的解谜中，但在开发后期因任务规模太大以及梦工厂互动公司的《 trespasser 》反响不佳而却步。<sup>[13](https://www.gamesradar.com/games/fps/there-was-an-arrogant-assumption-that-players-of-shooters-didnt-want-and-wouldnt-care-about-a-story-we-just-didnt-believe-this-go-behind-the-scenes-of-half-life-with-legendary-valve-designer-marc-laidlaw/)</sup>

## 继任者与后续历史

GoldSrc在维尔福游戏中的使用一直持续到2004年《半条命2》在Source引擎上发售。<sup>[3](https://steamdb.info/tech/Engine/GoldSource/?max_release=2025-12-31&min_release=2025-01-01)</sup> 尽管如此，该引擎仍在持续获得更新。2023年11月的《半条命》25周年更新改变了HUD缩放和菜单呈现方式，并最初破坏了许多GoldSrc模组的兼容性，包括反恐精英，后者依赖旧的Steam功能，与更新后的Steam DLL不兼容；维尔福建议玩家在模组支持改善期间安装《半条命》的“steam_legacy”测试版，后续补丁恢复了大多数原版GoldSrc模组的正常工作。<sup>[14](https://steamdb.info/patchnotes/15695166/)</sup> 2024年10月的进一步更新修复了通过邀请和Steam好友列表加入游戏、模组的本地化加载，以及主弹药耗尽时仍有次要弹药的武器无法取出的问题。<sup>[15](https://steamcommunity.com/app/70/announcements/)</sup> 活跃的开发仍在不断暴露问题，维尔福公共追踪器上的未解决错误报告涵盖竞技反恐精英服务器上的命中框同步以及实体渲染模式等领域。<sup>[7](https://github.com/ValveSoftware/halflife)</sup>

维尔福之外也存在**重新实现**。Xash3D是一个与GoldSrc兼容的开源引擎，已被移植到Android、[树莓派](https://www.edgepedia.org/zh/raspberry-pi)和[Meta Quest](https://www.edgepedia.org/zh/meta-quest)上，并支撑了《半条命》向不寻常平台的移植，包括一个在2007年诺基亚N95手机上以30帧每秒运行的版本。<sup>[16](https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-fps-on-a-2007-nokia-n95)</sup> 另一个项目OGS旨在不使用逆向工程代码，对GoldSrc引擎进行干净、忠实的重新实现。<sup>[17](https://github.com/headcrab-junkyard/OGS)</sup>

## References

1. [GoldSrc, Valve Developer Community](https://developer.valvesoftware.com/w/index.php?redirect=no&title=GoldSrc)
2. ['Half-Life' Turns 20: The Enduring Legacy of Valve's Revolutionary First-Person Shooter, The Ringer](https://www.theringer.com/2018/11/29/video-games/half-life-20th-anniversary-valve-fps-black-mesa-xen)
3. [Games using GoldSource Engine on Steam, SteamDB](https://steamdb.info/tech/Engine/GoldSource/?max_release=2025-12-31&min_release=2025-01-01)
4. [Mikko Peltola, History of the engines, Theseus](https://www.theseus.fi/bitstream/handle/10024/507593/Peltola_Mikko.pdf)
5. [Goldsource, Liquipedia Counter-Strike Wiki](https://liquipedia.net/counterstrike/Goldsource)
6. [Clearing up confusions about Valve's engines, IndieDB](https://www.indiedb.com/engines/goldsource/news/clearing-up-confusions-about-valves-engines)
7. [ValveSoftware/halflife, GitHub](https://github.com/ValveSoftware/halflife)
8. [The Challenges of Porting Half-life to Modern Consoles, Engineering Niche](https://www.engineeringniche.com/article/the-challenges-of-porting-half-life-to-modern-consoles-an-engineering-perspective/)
9. [Halo and Half-Life combine in wild new mod, Windows Central](https://www.windowscentral.com/gaming/halo-and-half-life-combine-in-wild-new-mod-bringing-two-of-my-favorite-games-together-in-one)
10. [Laurie Cheers interview, PHQ](https://phq.muddasheep.com/phq_articles.cgi?show=96)
11. [I was excited for this Quake port of Half-Life, PC Gamer](https://www.pcgamer.com/games/fps/i-was-excited-for-this-quake-port-of-half-life-until-i-discovered-the-creators-wild-ai-conspiracy-theories/)
12. [A Technical Review of Half-life's Use of Shader Programming, Engineering Niche](https://www.engineeringniche.com/article/a-technical-review-of-half-lifes-use-of-shader-programming-for-visual-effects/)
13. [Go behind the scenes of Half-Life with Marc Laidlaw, GamesRadar+](https://www.gamesradar.com/games/fps/there-was-an-arrogant-assumption-that-players-of-shooters-didnt-want-and-wouldnt-care-about-a-story-we-just-didnt-believe-this-go-behind-the-scenes-of-half-life-with-legendary-valve-designer-marc-laidlaw/)
14. [Half-Life update for 11/19/23, SteamDB patch notes](https://steamdb.info/patchnotes/15695166/)
15. [Half-Life announcements, Steam Community](https://steamcommunity.com/app/70/announcements/)
16. [Developer gets Half-Life running at 30 FPS on a Nokia N95, Tom's Hardware](https://www.tomshardware.com/video-games/handheld-gaming/developer-gets-half-life-running-at-30-fps-on-a-2007-nokia-n95)
17. [headcrab-junkyard/OGS, GitHub](https://github.com/headcrab-junkyard/OGS)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 21, 2026 · Edited: Sep 30, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 体育、游戏与休闲 › 电子游戏与数字游戏 › 游戏产业 › Development and technology › Game engines and middleware

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/goldsrc

English original: https://www.edgepedia.org/goldsrc
