Skip to content

L-P/criticaldynamics

Repository files navigation

Critical Dynamics for Half-Life

Critical Dynamics is a modification of the Half-Life game and its GoldSrc engine.
Is is a short single-player campaign designed to be as vanilla as possible while still profiting from 25 years of Moore-abiding hardware.

It served as a personal testbed for learning the TrenchBroom editor and experimenting with WASM.

The Half-Life 25th anniversary version is required to play this mod.

Building on Linux

  1. Clone this repository (requires LFS support) and $ git submodule update --init
  2. Build or install SDHLT and put its binaries in your $PATH
    (Any VHLT fork should work but you'll have to edit bin/buildmap)
  3. Build or install Goldutil and put it in your $PATH
  4. $ sudo apt install tup jq gdb build-essential
  5. Install clang ≥ 18, this is necessary to build and link for WASM
  6. $ make
  7. If you cloned the repository inside your steamapps/common/Half-Life directory you should now be able to run bin/run to launch the game inside GDB or without a debugger attached through Steam.

Building on Windows/Mac

  1. Install a Debian-based distribution
  2. See the Building on linux section

Acknowledgments

  • The Whole Half-Life community for being an inclusive and welcoming bunch and its Wiki for being the best GoldSrc resource around
  • TrenchBroom for being a relief to work with when you've had the displeasure to work with Worldcraft/Hammer and their derivatives
  • Klemss for playtesting
  • Not Valve, where's the promised 25th anniversary SDK Valve? Huh? Just open-source the engine and be done with it. I'm not asking for HL3 here.

Development OST