This is a modified version of metamod along with a group of metamod plugins mainly to provide server-side feature expansions for Sven Co-op.
This metamod is based on Bots-United's metamod-p
-
Any third-party plugins such as amxmodx are still compatible with this modified version of metamod.
-
You are welcome to request for any new hooks or server-side features which is not implemented by Sven Co-op team yet.
-
Compatibility with other games (e.g. Counter-Strike) is not guaranteed as it's designed only for Sven Co-op.
-
An older version of glibc (iirc it's 2.24, which is literally the glibc that linux build of Sven Co-op is using) is forced to be used in the makefile. The compiled binaries (
.so
) are portable now. No need to recompile them when running on an up-to-date linux distribution. -
A fallback solution was added to mitigate a problem that
GiveFnptrsToDll
could not be found in plugin dll (This used to happen when plugin was compiled by a newer version of Visual Studio like VS2022). see also Bots-United/metamod-p#24 -
A couple of new APIs were added to mutil API set.
- This is required by map
Fall Guys in Sven Co-op
This plugin provides ability of registering third-party hooks or methods in Sven Co-op's AngelScript engine.
- This is required by map
Fall Guys in Sven Co-op
This plugin provides ability of using libcurl to send HTTP request in angelscript. mainly for server ops and developers to use in their own angelscript plugin.
- This is not required if you just gonna play
Fall Guys in Sven Co-op
This plugin provides ability of retreiving cvars from client. mainly for server ops and developers to use in their own angelscript plugin.
- This is not required if you just gonna play
Fall Guys in Sven Co-op
This plugin provides ability of hooking UserMsg. mainly for server ops and developers to use in their own angelscript plugin.
- This is not required if you just gonna play
Fall Guys in Sven Co-op
-
Download latest build (-windows or -linux depending on your OS) from GitHub Release, then unzip it.
-
Copy everything from the previously unarchived
build
directory into\steamapps\common\Sven Co-op\svencoop
-
(Warning: neither
svencoop_addon
norsvencoop_downloads
is supported)* -
The directory hierarchy should be something like this :
-- Sven Co-op (Sven Co-op Dedicated Server)
---- svencoop
------ addons
-------- metamod
---------- dlls
------------ asqcvar.dll (asqcvar.so)
------------ ascurl.dll (ascurl.so)
------------ asusermsg.dll (asusermsg.so)
------------ asext.dll (asext.so)
------------ fallguys.dll (fallguys.so)
---------- plugins.ini
---- svencoop_addons
---- svencoop_downloads
---- svencoop.exe (or svends.exe / svends_run.sh / svencoop.sh)
-
If you had installed metamod and metamod-plugins (which was loaded by metamod) from other sources such as Bots-United's metamod-p or jkivilin's metamod-p, you will have to add those metamod-plugins back to
plugins.ini
which might be overwritten in step (1). -
You should either
- Use
-dll addons/metamod/dlls/metamod.dll
(Windows) or-dll addons/metamod/dlls/metamod.so
(linux) as launch parameter to launch the game (launch the dedicated server)
or
- Edit
Sven Co-op/svencoop/liblist.gam
and change
gamedll "dlls/server.dll"
gamedll_linux "dlls/server.so"
to
gamedll "addons/metamod/dlls/metamod.dll"
gamedll_linux "addons/metamod/dlls/metamod.so"
The edited liblist.gam
should be something like this
-
addons
must be installed into/Sven Co-op/svencoop
, neither/Sven Co-op/svencoop_addons
nor/Sven Co-op/svencoop_download
-
All plugins from this repository are not binary-compatible with
metamod-p
from other sources. You should always use metamod from metamod-fallguys to load those plugins. -
Other third-party plugins ( e.g amxmodx ) are still binary-compatible with metamod-fallguys. You don't have to re-compile them. Just put them in the
plugins.ini
.
-
git clone --recursive https://github.com/hzqst/metamod-fallguys
, thencd metamod-fallguys/scripts/
-
Run
build-win32-all.bat
-
Be patient,
metamod.dll
,asext.dll
,ascurl.dll
,asqcvar.dll
andfallguys.dll
will be generated atbuild/addons/metamod/dlls
if no error(s) occours.
-
GNU C++ Build environment. Install with
sudo apt-get install make build-essential gcc gcc-multilib g++-multilib
if missing. -
CMake. Install with
sudo apt-get install cmake
if missing. -
Git client. Install with
sudo apt-get install git
if missing.
-
git clone --recursive https://github.com/hzqst/metamod-fallguys
, thencd metamod-fallguys/scripts/
-
sudo chmod +777 *.sh
to make all .sh executable, then./build-all-linux.sh
-
Be patient,
metamod.so
,asext.so
andfallguys.so
will be generated atbuild/addons/metamod/dlls
if no error(s) occours.