Getting NeoTF to work with other MODs
================================

Getting NeoTF to work with FoxBot
------------------------------------------------------

NOTE: You MUST install NeoTF and FoxBot WITH
Metamod for the Bots to use NeoTF features.
See Section 3.2 for Metamod information.


For a WON listenserver:
Use the FoxBot GUI installer and select the NeoTF option.
With this option, the FoxBoT will automatically set up
your files (liblist.gam, plugins.ini) to load the NeoTF dll.


For STEAM servers:
First install Metamod and FoxBot per (their) instructions.
Make sure FoxBot is loaded as a plugin by Metamod.

NOTE: Make SURE you are using the most current Metamod
version: 1.17.x ( i.e. with STEAM support ).

NOTE: Make sure you install FoxBot to the proper directory.
The FoxBot folder must be placed in the root game
directory which contains an HLDS launcher application.
For Dedicated servers this directory path looks like:
\SteamApps\YOURNAME@EMAIL\dedicated server
For Lan servers (listenserver) this directory path looks like:
\SteamApps\YOURNAME@EMAIL\team fortress classic

Add the following entry to your server's "autoexec.cfg"
file in your "tfc" folder:

For Windows servers use this entry:

localinfo mm_gamedll addons/NeoTF/dlls/ntf.dll

For Linux servers use this entry:

localinfo mm_gamedll addons/NeoTF/dlls/NeoTF_i486.so

This entry will tell Metamod to load NeoTF (and not normal TFC).

NOTE:
Remove any NeoTF entries in plugins.ini or metamod.ini file
or liblist.gam file, otherwise Metamod will end up trying to load
NeoTF twice, which will cause the following Half-Life error:
"Host_Error: SuckOutClassname: parse error"


Getting NeoTF to work with metamod
----------------------------------------

Metamod (http://www.metamod.org) provides plugin capability for addons.
Tools such as Adminmod (http://www.adminmod.org) use metamod.

Thanks to RedFox, NeoTF is now capable of running as a metamod plugin.


First install metamod/adminmod per instructions. Once complete
your liblist.gam should have the following lines:

gamedll dlls/metamod.dll
gamedll_linux dlls/metamod_i386.so

Your plugins.ini file (or metamod.ini for older MM versions)
should have a list of the metamod plugins you're using.
The order of these is important - make sure your server is working
with your metamod plugins before you try to run NeoTF.
Here's an example, yours will most likely vary from this:

linux dlls/csguard_mm_i386.so
linux dlls/admin_MM_i386.so

or

win32 dlls/admin.dll

Note that all the above should have been accomplished when you installed
metamod and it's associated plugins.

Now to get NeoTF to work, just add the NeoTF ntf.dll or NeoTF_i486.so
to your plugins.ini (or metamod.ini for older MM versions) file:

Windows:
win32 addons/NeoTF/dlls/ntf.dll

OR

Linux:
linux addons/NeoTF/dlls/NeoTF_i486.so

NOTE: Paths should use unix-style forward slashes ( / ) and not
backward slashes ( \ ), even on windows platforms.


Getting NeoTF to work with non-metamod libraries
------------------------------------------------------

Some addons (like HPB bot) aren't metamod plugins. If you want these
to work with NeoTF, you'll need to change the following file:

For Windows servers:

addons\NeoTF\ntf_config.txt

OR For Linux servers:

addons/NeoTF/ntf_configlinux.txt

These files contain a SINGLE LINE with the name
of the .dll or .so file you want NeoTF to load.

So if you want to use HPB bot, change the file as follows:

For Windows servers, the"ntf_config.txt"
file would contain this entry:

HPB_bot.dll

For Linux servers, the "ntf_configlinux.txt"
file would contain this entry:

HPB_bot_i486.so