The Complete Guide For CS 1.6 AMX Server *Part 2* Difficulty: Advanced |
| Category: CS > Server Administration | Author(s): Aceman, Amxmodx Inc, Wiki |

*Part 2*
This tutorial is so long it has to be split up in different parts
| The Complete Guide For Setting up an Amxmodx Server Part 2. |
|---|
What you will need:
- CS 1.6 (The Game).
- A server (Dedicated, Listen, or a purchased Server).
- Intelligence and patience.
*Most of this material here was from tha AMX Mod X Site.*
Credits: Wiki & AMX Mod X Inc.
Revised and Re-written in a different way by Aceman.
This tutorial explains the following:
- Map Cycle
- Map Config
- Map Specific plugin
- Editing Menus
- Installing and Removing Modules
|
| Map Cycle |
|---|
|
If you use the mapsmenu plugin, you can either use "maps.ini" or
"mapcycle.txt" to manage map rotations.Delete "maps.ini" to use mapcycle.txt, otherwise, simply add a list of map names to maps.ini like so:
==Map Config Files==
For each map, you can also add a configuration file that will execute
when the map loads. This is useful to set certain settings for
3rd party maps, say, removing the freeze time on fy_iceworld. |
| Map Config |
|---|
|
For each map, you can also add a configuration file that will execute when the map loads. This is useful to set certain settings for 3rd party maps, say, removing the freeze time on fy_iceworld.
To do this, simply create a folder in amxmodx/configs called "maps" and place a .cfg file named after the map with the settings in it, for example, you might have amxmodx/configs/maps/fy_iceworld.cfg:
mp_startmoney 16000
mp_freezetime 0
mp_timelimit 20 |
[TITLE]Guide to AMX[/TITLE]
| Map Specific Plugins |
|---|
|
Each map can have a specific plugins.ini file for which
it will load on map change. This plugins file will be
loaded in addition to the standard plugins.ini file.
The file is to be located at amxmodx/configs/maps/plugins-mapname.ini For example, for de_dust you would create the file amxmodx/configs/maps/plugins-de_dust.ini
In addition, a plugin can be tagged as "disabled" which will prevent this plugin from being loaded. You accomplish this the same way you tag a plugin as debug mode, by entering the word disabled after the plugin name in the file, which will prevent it from being loaded for that map.
For example, if you wanted the map de_dust to disable the plugin ham.amxx and enable the plugin pickle.amxx you would put this in amxmodx/configs/maps/plugins-de_dust.ini:
ham.amxx disabled
pickle.amxx |
| Commands |
|---|
|
| addons\amxmodx\configs\cmds.ini |
|---|
|
| Format: "Name" "Command" "Flags" "Access Level" |
|---|
|
Client Commands
Command is the format for
the console command
you can use %userid% to
insert the user's id.
Flags are one of the following:
| | Options: |
|---|
|
|
| A | Execute from admin console. | |
| B | Execute from admin console. | |
| C | Execute on selected player | |
| D | Display menu again once done. | |
| Example: |
|---|
|
Example: "Pause" "amx_pause" "bd" "u" |
|
|
|
| CVARs |
|---|
|
| addons\amxmodx\configs\cvars.ini |
|---|
|
| "CVAR" "Values" ... "Access Level" |
|---|
|
Client Commands
Command is the format for
the console command
you can use %userid% to
insert the user's id.
Flags are one of the following:
| | Options: |
|---|
|
CVAR - the CVAR's name
Values - list of space delimited, quotation enclosed values
| Example: |
|---|
|
Example: "mp_autoteambalance" "0" "1" "@" "u" |
|
|
|
| Speech |
|---|
|
| addons\amxmodx\configs\speech.ini |
|---|
|
| Format: "Name" "Command" "Flags" "Access Level" |
|---|
|
Client Commands
Name is the name that will appear on the menu.
Command is the format for the console command - you can use %userid% to insert the user's id.
Flags are one of the following:
| | Options: |
|---|
|
|
| A | Execute from admin console. | |
| B | Execute from admin console. | |
| C | Execute on selected player | |
| D | Display menu again once done. | |
| Example: |
|---|
|
Example: "Hello!" "spk \'vox/hello\'" "cd" "u" "u" |
|
|
|
| Modules |
|---|
|
| Modules add additional functionality for plugins to use. |
| Installing Modules |
|---|
|
- Figure out what operating system your server is: Windows, Linux, or Linux using AMD64 (64bit).
- If the module is 3rd party, download the module corresponding to your OS. It will end in .dll for Windows, _i386.so for Linux, or _amd64.so for AMD64.
- Place the file in addons/amxmodx/modules/ and follow any additional instructions.
- If the module is already in addons/amxmodx/configs/modules.ini, remove the ';' next to its name to enable it.
- Otherwise, add the module's name to modules.ini. AMX Mod X supports generic notation, for example:
mysql_amxx
... will automatically detect the correct module to use.
- To see if the module is working, you can type amxx modules in your server console.
|
| Default Modules |
|---|
| fun_amxx | General functions for changing game values. | |
| engine_amxx | More advanced functions for getting and setting values in the HL engine. | |
| fakemeta_amxx | Expert/advanced functions for manipulating, hooking, and calling functions in the HL engine. | |
| *sql_amxx | SQL/Database scripting functions. | |
| geoip_amxx | Functions for finding countries by IP address. | |
| array_amxx | Functions for somewhat-dynamic arrays. | |
| sockets_amxx | Functions for socket (TCP/UDP) control and manipulation. | |
| regex_amxx | Functions for regular expression support. | |
| Removing Modules |
|---|
|
- Remove the entry from addons\amxmodx\configs\modules.ini by deleting it or prepending a semi-colon to comment it out.
- Delete any associated files if you don't need them.
|
*Stay Tunned For Part 3*
Part 3 Coming Soon...
|
| Added: 1 year ago | Tags: amxmodx, amx, mod, guide, server, amx admin, part 2 |
 Add Feedback Provide constructive feedback. What is "constructive"?You cannot post yet!Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop. To post in this submission register or login. |
 You cannot assess yet!Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure. To vote on this submission register or login. This Tutorial in a nutshell... Detailed & Informative 1 x Detailed 1 x Informative 1 x Well Written 1 x Helpful You cannot stamp yet!Stamps let you apply characteristics to submissions to help others understand them. To stamp this submission register or login.
 |
Dynamic Customs Inc. Efficiency through simplicity. |
| Membership: On Request |
| Primary Skills: Coding/Scripting, Compiling, Concept Art, Graphic Design, Mapping, Modelling, Sound Effects & Music, Texturing, Web Development, Video Production, UV Mapping |
| Inception: 2 years ago |
Want more? Find related tuts. |