Skip to content

JayCroghan/ZombieMod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZombieMod

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.

Installation

  • Install Metamod
  • Download the latest release package - both OS are bundled together.
  • Extract the package contents into game/csgo on 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.example to admins.cfg which can be found in addons/cs2fixes/configs and follow the instructions within to add admins

Fixes and Features

You can find the documentation of the fixes and features here.

Why add it to CS2Fixes and not a standalone plugin?

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.

Compilation

git clone https://github.com/JayCroghan/ZombieMod/ && cd ZombieMod
git submodule update --init --recursive

Docker (easiest)

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.

Manual

Requirements

Linux

export MMSOURCE_DEV=/path/to/metamod
export HL2SDKCS2=/path/to/sdk/submodule

mkdir build && cd build
python3 ../configure.py --enable-optimize --sdks cs2
ambuild

Windows

Make 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
ambuild

Copy the contents of build/package/cs2/ to your server's game/csgo/ directory.

Running Your server

Pre-requisites

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.

Running ZombieMod

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.

About

A Metamod plugin that brings ZombieMod back to CS2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 95.7%
  • Python 3.5%
  • Other 0.8%