

ETBlight & Omnibots:

You have to replace your 8.1 omnibot .dll/.so for bots to properly function.
This is due to the new "Scientist" player-class.
If you do not do this, then bots will act really strange. Amongst other things, they will attack all stationary MGs in sight,
regardless of it being in use or not.





Install:


Linux
-----

1) Create a directory named 'etblight' next to the 'etmain' directory in either
   the Enemy Territory installation directory or the ~/.etwolf/ directory of
   the user that runs etded.x86. By default the game installation directory
   is located at /usr/local/games/enemy-territory/.

2) Copy the qagame.mp.i386.so file from the etblight_x.x_server_setup.zip distribution to
   the 'etblight' directory created in step one.

3) Linux specific
   you will need the liblua5.1.so file located in the Enemy Territory
   installation directory where etded.x86 or et.x86 is located.
   Warning: The server will not start up if it is not included.

   Important: Currently etblight's (etpub 0.9.1) qagame supports Lua 5.1.4. 


   3.1) Download the LuaBinaries for Linux from
        http://luabinaries.luaforge.net/download.html (in most cases
		lua5_1_4_Linux26g4_lib.tar.gz).

   ETBlight: For your convenience, I included the liblua5.1.so file in the zip, so you can just copy it from there.


   3.2) Unzip the downloaded archive and copy the liblua5.1.so file to your
        Enemy Territory installation directory, beside etded.x86 or et.x86.

   3.3) Make sure to have the correct permissions set to liblua5.1.so
        (chmod a=r,u+w liblua5.1.so).


   Hint: If you haven't access to the Enemy Territory installation
         directory, e.g. a rented server, you have to ask your admin
		 to copy the necessary files for you.

4) To use the country flags feature, you will need the GeoIP.dat database file
   located in the 'etblight' directory from step one.

   4.1) Download the compressed GeoIP database file GeoIP.dat.gz from
        http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/.

   4.2) Decompress it and copy it into the 'etblight' directory from step one.

5) Ensure that etded or et is called with the additional command line
   arguments '+set fs_game etblight' (in addition to the ones you already use!).


Windows
-------

1) Create a directory named 'etblight' next to the 'etmain' directory in the
   Enemy Territory installation directory. By default the game installation
   directory is located at 'C:\Program Files\Wolfenstein - Enemy Territory'.

2) Copy the win32/qagame_mp_x86.dll file from the etblight distribution to
   the 'etblight' directory created in step one.

   (etblight 0.8x does not support Lua for windows yet, so you should skip all windows/Lua related steps)
3) If you have decided to use the etblight distribution with Lua API support
   you'll need the lua5.1.dll file located in the Enemy Territory installation
   directory where ETDED.exe or ET.exe is located.
   

   Important: Currently etblight's qagame supports Lua 5.1.4.

   3.1) Download the LuaBinaries for Windows from
        http://luabinaries.luaforge.net/download.html (in most cases
		lua5_1_4_Win32_dll8_lib.zip).

   3.2) Unzip the downloaded archive and copy the lua5.1.dll file to your
        Enemy Territory installation directory, beside ETDED.exe or ET.exe.

   Hint: If you haven't access to the Enemy Territory installation
         directory, e.g. a rented server, you have to ask your admin
		 to copy the necessary files for you.

4) To use the country flags feature, you will need the GeoIP.dat database file
   located in the 'etblight' directory from step one.

   4.1) Download the compressed GeoIP database file GeoIP.dat.gz from
        http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/.

   4.2) Decompress it and copy it into the 'etblight' directory from step one.

5) Ensure that ETDED.exe or ET.exe is called with the additional command line
   arguments '+set fs_game etblight' (in addition to the ones you already use!).







Startup commands:

+set fs_game
This tells the game to use the files in the folder you specify.
For example "+set fs_game etblight" will make the game use files in the etblight folder if such a folder is present. If it cannot find the folder,
then it will default to the etmain folder instead and you will have an "etmain" server instead of an "etblight" server.
Trivia: Some GSP hosts seem to have trouble comprehending this behavior.

+exec blightconfig.cfg
Run server configuration.
This line must be included.

+set dedicated
"+set dedicated 2" tells the game to run a public dedicated server. 

+set net_ip
This must be the IP you are running the server from.
Example: "+set net_ip 123.123.123.123"

+set sv_pure 1
Makes sure that everybody is playing with the same files. Recommended.

+set sv_punkbuster 0
Get rid of punkbuster. Outdated crap-software that will make sure no one can connect to your server. Raus!


This is what my startup commands look like, using the included cfgs (Remember to change IP to your own):
+set fs_game etblight +set dedicated 2 +set net_ip 123.123.123.123 +set net_port 27960 +set sv_pure 1 +set sv_punkbuster 0 +exec blightconfig.cfg 


Optional startup commands:

+set sv_maxclients
Use +set sv_maxclients to control maximum amount of player-slots for the server. 
For example "+set sv_maxclients 24" will make room for 24 players.

+set hunkmegs
Use +set hunkmegs to control RAM-allowance. Be careful not to set it too high for your specs. 
For example "+set hunkmegs 128" will assign 128mb ram to this server. Maximum RAM that ET can use is 192...or so I've heard.




For further help, visit www.splashdamage.com/forums

