ZombieMod is a fork of CS2Fixes which is a Metamod plugin with fixes and features aimed but not limited to zombie escape. Instead of reinventing the wheel I'm building on the shoulders of giants and offering the first ZombieMod for CS2 as a module of CS2Fixes. Currently under development - it works. You can run it and let me know of any bugs you find.
- Install Metamod
- Download the latest release package - both OS are bundled together.
- Extract the package contents into
game/csgoon your server - Configure the plugin cvars as desired in
cfg/cs2fixes/cs2fixes.cfg, many features are disabled by default - OPTIONAL: If you want to setup admins, rename
admins.cfg.exampletoadmins.cfgwhich can be found inaddons/cs2fixes/configsand follow the instructions within to add admins
You can find the documentation of the fixes and features here.
The guys at CS2Fixes have already done most of the hard work implementing a real, working CS2 mod with hooks and functions plus the various CS2 fixes included so if I were to make a second plugin people would need two, with a lot more overhead. This way, you can have everything at once. It'll keep the CS2Fixes part separate with an optional ZombieMod module to enable.
git clone https://github.com/JayCroghan/ZombieMod/ && cd ZombieMod
git submodule update --init --recursive
Requires Docker to be installed. Produces Linux builds only.
docker compose up
Copy the contents of dockerbuild/package/cs2/ to your server's game/csgo/ directory.
export MMSOURCE_DEV=/path/to/metamod
export HL2SDKCS2=/path/to/sdk/submodule
mkdir build && cd build
python3 ../configure.py --enable-optimize --sdks cs2
ambuildMake sure to run in "x64 Native Tools Command Prompt for VS". Doing an initial build here is also required to setup the protobuf headers for Visual Studio to reference.
set MMSOURCE_DEV=\path\to\metamod
set HL2SDKCS2=\path\to\sdk\submodule
mkdir build && cd build
py ../configure.py --enable-optimize --sdks cs2
ambuildCopy the contents of build/package/cs2/ to your server's game/csgo/ directory.
Install the latest MetaMod:Source for your OS from the Dev branch.
Then install the latest MultiAddonManager from the CS2Fixes team.
Configure MultiAddonManager cfg\multiaddonmanager\multiaddonmanager.cfg to add the ZombieReborn zombie pack which includes models and sounds so clients can download it by changing this line:
mm_extra_addons "3157463861"
We will be making our own once we are stable and happy but for now this works well.
Make sure this is the command line, insecure is important as we are using custom models and sounds:
-dedicated +maxplayers 32 +exec autoexec.cfg +sv_setsteamaccount <Your Account> -insecure +map de_dust2
Please add the below to your autoexec.cfg to prevent crashes:
sv_lan 0
bot_quota_mode fill
game_mode 0
sv_hibernate_when_empty 0
sv_hibernate_postgame_delay 9999999999999999
Then edit the zm_ cvars in cfg\cs2fixes\cs2fixes.cfg
The most important is zm_enable 1
Finally rename the files in addons\cs2fixes\configs\zm\ by removing the .example from the end and modifying them as you wish. This part is optional as it will work with default settings otherwise but the models will be normal CS2 models.