Setting Up Amx
devicenull
Join Date: 2003-04-30 Member: 15967Members, NS2 Playtester, Squad Five Blue
<div class="IPBDescription">A Tutorial</div>
Okay, first you need to extract everything to your ns\addons directory (I'm assuming you have metamod set up)
Edit your metamod plugins.ini file to include these lines:
[CODE]; AMX Mod
win32 addons\amx\dlls\amx_mm.dll
linux addons/amx/dlls/amx_mm_i386.so
; More script functions for AMX Mod
win32 addons\amx\dlls\fun_ms.dll
linux addons/amx/dlls/fun_ms_i386.so[/QUOTE]
Save that, go to addons\amx
Open admin.cfg Edit all the settings, but don't put any access here
Open amx.cfg Edit all the settings
Open up configs.ini You can probably safely clear this file of all the lines that are not comments - These are not good commands to play with, they alter the servers config file - Just put a ; infront of every line that doesn't have one
Open conmotd.txt This is a console motd, you don't really see this with steam, but edit it anyway
Open cvars.ini These are all the cvars admins have access to with AMX_cvar (I think, I just use rcon for this), you could ignore this, or precede everything with a ; again
Open menu.cfg Edit all the CS maps to NS maps, you can add or remove any "amx_amenu" lines
Go <a href='http://www.modns.org/forums/index.php?showtopic=117' target='_blank'>here</a>, get the file.. put the dll and so files in your addons\ directory, the rest goes into amx\plugins
Open plugins.ini in amx\plugins
add this: addons/mm_ns2amx.dll for windows, or addons/mm_ns2amx.so for linux
comment out the csstats lines, put a ; infront
Open users.ini - This is where all the users will go, in the format thats there, you can figure that out, its pretty easy
Go into your amx\plugins directory
Open plugins.ini
Comment out all these lines
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
;restmenu.amx ; restrict weapons menu
;stats.amx ; stats on death or round end (CSStats Module required!)
;stats_logging.amx ; weapons stats logging (CSStats Module required!)
;miscstats.amx ; bunch of events announcement for Counter-Strike
;pausecfg.amx ; allows to pause and unpause some plugins
;statscfg.amx ; allows to manage stats plugins via menu and commands<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Those are all pretty much related to CS, and aren't needed for NS
Save any open files, and give the server a try <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Okay, first you need to extract everything to your ns\addons directory (I'm assuming you have metamod set up)
Edit your metamod plugins.ini file to include these lines:
[CODE]; AMX Mod
win32 addons\amx\dlls\amx_mm.dll
linux addons/amx/dlls/amx_mm_i386.so
; More script functions for AMX Mod
win32 addons\amx\dlls\fun_ms.dll
linux addons/amx/dlls/fun_ms_i386.so[/QUOTE]
Save that, go to addons\amx
Open admin.cfg Edit all the settings, but don't put any access here
Open amx.cfg Edit all the settings
Open up configs.ini You can probably safely clear this file of all the lines that are not comments - These are not good commands to play with, they alter the servers config file - Just put a ; infront of every line that doesn't have one
Open conmotd.txt This is a console motd, you don't really see this with steam, but edit it anyway
Open cvars.ini These are all the cvars admins have access to with AMX_cvar (I think, I just use rcon for this), you could ignore this, or precede everything with a ; again
Open menu.cfg Edit all the CS maps to NS maps, you can add or remove any "amx_amenu" lines
Go <a href='http://www.modns.org/forums/index.php?showtopic=117' target='_blank'>here</a>, get the file.. put the dll and so files in your addons\ directory, the rest goes into amx\plugins
Open plugins.ini in amx\plugins
add this: addons/mm_ns2amx.dll for windows, or addons/mm_ns2amx.so for linux
comment out the csstats lines, put a ; infront
Open users.ini - This is where all the users will go, in the format thats there, you can figure that out, its pretty easy
Go into your amx\plugins directory
Open plugins.ini
Comment out all these lines
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
;restmenu.amx ; restrict weapons menu
;stats.amx ; stats on death or round end (CSStats Module required!)
;stats_logging.amx ; weapons stats logging (CSStats Module required!)
;miscstats.amx ; bunch of events announcement for Counter-Strike
;pausecfg.amx ; allows to pause and unpause some plugins
;statscfg.amx ; allows to manage stats plugins via menu and commands<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Those are all pretty much related to CS, and aren't needed for NS
Save any open files, and give the server a try <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Comments