Saturday, September 20, 2008

Installing Plugins for AMX MOD X and Compiling AMX MOD X Source files

Installation and Compiling AMX MOD X Plugins

Plugins like Counter Strike Death Match, GunGame, Warcraft, Clan Match, Pychostats are to be installed in the amx folders to get the plugin running this is done in the following way...

Most Played Plugins:
  1. Counter Strike Death Match
  2. GunGame
  3. Warcraft3 Frozen Throne
  4. Warcraft3 Ultimate
Folders:
>Valve
>>czero
>>cstrike
>>>addons
>>>>amxmodx
>>>>>>configs
plugins.ini
modules.ini
>>>>>>plugins
*.amxx files (actual usage)
>>>>>>scripting
*.sma files (source files)
>>>>>>compiled
*.amxx files (output files)

These are the folders you get when you install AMX MOD X in your Counter Strike server. The tree should appear like this.

Now, if you want to install any plugin, you need to to get the package first. Any normal installation includes running an executable file to install the required package. But in the case of the counter strike addons it is not simple. Of course it is simple to install these packages. The package generally contains a source file and a compiled file. The source file is .sma file, and te compiled file is .amxx file.

The home of all the source files is SCRIPTING folder under the AMX MOD X folder of ADDONS of CSTRIKE. That is C:\Program Files\Valve\Cstrike\Addons\Amxmodx\Scripting\*.sma files

Compiling:

  1. In the SCRIPTING folder, there is an executable file called "compile.exe" and a folder called "Compiled".
  2. Put the *.sma files in the scripting folder.
  3. Run the compile.exe file
  4. Go to Compiled folder
  5. Get the *.amxx files

Installing:

  1. Put the *.amxx files in Plugins folder under amxmodx folder.
  2. The filename of the plugin should be added to "plugins.ini" in configs folder of amxmodx folder. For example "csdm_main.amxx" is to be added to the "plugins.ini" file to start deathmatch, where the plugin exists in the plugins folder.
  3. Add each line for each plugin in plugins.ini file in configs folder of amxmodx.
  4. The plugins.ini file is the connection between plugins and amxmodx.
  5. to remove the plugin, there is no need to remove the complete filename, just add ";" in front of the file name in "plugins.ini" folder.
  6. Looks like this ";csdm_main.amxx"

This is how you add plugins to AMX MOD X.

For example, try compiling the death match plugin source and run Counter Strike death match in your server. Try installing GunGame on your server by compiling the source which you get in a package. To get the Counter Strike-Death Match, and GunGame complete help see my blog pages. Use the search.

No comments:

Post a Comment