Skip to content

KZGlobalTeam/cs2kz-metamod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP, not ready for release

Requirements

Installation:

  • Download the latest version in the release section and extract them to your server's csgo/ directory.

Compilation

  • Remember to recursively clone the plugin, and symlink needs to be enabled as well! (this isn't the default on windows)

    git clone -c core.symlinks=true --recursive https://github.com/KZGlobalTeam/cs2kz-metamod.git
    
  • Latest AMBuild needs to be installed for compilation.

  • For each platform:

Windows (ambuild/msvc):

mkdir build
cd build
python3 ../configure.py 
ambuild

For windows debugging with VS, build the project then add the following command at the end:

python3 ../configure.py --gen=vs --vs-version 17

Linux (ambuild/clang):

mkdir build
cd build
python3 ../configure.py 
ambuild

Linux (Docker w/ Valve SDK Image):

mkdir build
docker build -t cs2kz-linux-builder .
docker run --rm -v ./build:/app/build cs2kz-linux-builder

Note: does not work with gcc!

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

Footnotes

  1. if your server is global, this plugin is required