Metamod-P [1.21p38]
About this content
The main goal of the Metamod project is to extend the capabilities of an HLDS server, add new functionality, or modify existing functionality using plugins. Positioned between the mod library (hereafter simply DLL) and the DLL of a plugin connected to Metamod, it intercepts function calls between them, with the ability to pass them to other plugins. This way, you can connect an unlimited number of plugins and extend the capabilities of the engine. Simply put, Metamod injects the plugin DLL’s functions into the mod. Plugins can add or change the functionality of the mod or the engine itself—for example, adding new commands and cvars for the server or client.
Metamod-P is a special version of Metamod by Finnish coder Jussi Kivilinna. Differences from the original version:
Connecting plugins in Metamod
For Windows
Metamod-P is a special version of Metamod by Finnish coder Jussi Kivilinna. Differences from the original version:
- The built-in list of entities in the library was replaced with a dynamic one. Entity information is taken directly from the mod. This Metamod can be connected to and used with any mod.
- Automatic detection and loading of server libraries.
Better CPU resource usage.Installation:
- Create the directory addons in your mod directory (in our case, this is cstrike)
- Create the directory metamod in the newly created directory addons
- Copy the files metamod_i386.so or metamod.dll и config.ini from the archive to the directory addons/metamod/
- Connect Metamod to the server in liblist.gam
- Open liblist.gam in a text editor and look for the lines gamedll_linux
- Delete them and enter a single line, according to your OS
For Windowsgamedll "addonsmetamoddllsmetamod.dll"
For Linuxgamedll_linux "addons/metamod/metamod_i386.so"
- Save liblist.gam
Connecting plugins in Metamod
File syntax for plugins.ini:
<платформа> <путь к DLL плагина> <описание (опционально)>Create the file plugins.ini in the directory addons/metamod/
Connection example:
For Windows
win32 addonsamxmodxdllsamxmodx_mm.dllFor Linux
linux addons/amxmodx/dlls/amxmodx_mm_i386.so
Comments (0)