Catalog News Guides Community For contributors
Everything for CS 1.6 / CSS / CS:GO servers - Plugins | Builds | Models | Maps » Counter-Strike » Ready-made builds » Server core » Metamod-P [1.21p38]

Metamod-P [1.21p38]

21.06.2019, 20:06SokratViews: 4 220Comments: 0
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:
  • 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:
  1. Create the directory  addons in your mod directory (in our case, this is cstrike)
  2. Create the directory  metamod in the newly created directory  addons
  3. Copy the files  metamod_i386.so or  metamod.dll и config.ini from the archive to the directory  addons/metamod/
  4. 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 Windows
      gamedll "addonsmetamoddllsmetamod.dll"
      For Linux
      gamedll_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.dll
For Linux
linux addons/amxmodx/dlls/amxmodx_mm_i386.so




Comments (0)

Add comment

Leave a comment

New content by email

Subscription with email confirmation. No more than one email per day. Unsubscribe via the link in any email.

Join the community

Register · Reset password