KTL 2 
Kill the Llama Server Setup Documentation
5/21/97 dougm@ictv.com

The most current files should be available from:
http://www.fsgames.com/ktl/

There are now both quake and quakeworld servers available for
Kill the Llama.  The quakeworld is currently in beta, and 
owes many, many thanks to:

yun@ictv.com  (Yun Fong-Loh)
and
chrislit@uclink4.berkeley.edu (Chris Little)

KTL also owes many thanks to 
mike@ictv.com (Mike Scandizzo) for all the artwork
and
dougm@ictv.com (Doug McCreary) for all the sounds
as well as the entire Loki's Minions clan, for countless
fun hours of beta testing!
http://www.fsgames.com/clan/

Server setup:

  1) Create a quake/llama/ directory.
  2) Put pak0.pak from KTL2 there.  http://www.fsgames.com/ktl/
     to obtain the pakfile.
  3) from the archive which you got this readme from, get the
     server.cfg and put it into /quake/llama/
  4) If you are using quakeworld, go to QW, below, if you
     are using regular quake, go to REG below.

-----------------------------------------------------------------------
REG:
  C:\quake\WINQUAKE.EXE -dedicated 16 -game llama +exec server.cfg
  
  Presumably, you would want to put the above into a shortcut.  If
you are using one of the other servers, substitute your server
executable for winquake.  The important part is the command line
options.

QW:
  qwsv +setmaster 192.246.40.12:27000 +gamedir llama

  Again, whatever executable you are using, the main thing is 
to make sure the command line is right, so that you have qwsv
using the llama gamedir.  In this case, qwsv should automatically
execute server.cfg, so you shouldn't need a +exec server.cfg
but be prepared to add it should something go wrong.
-----------------------------------------------------------------------

  5) KTL is somewhat configurable.  Configuration options are
     managed through the teamplay and deathmatch variables.
     
     Deathmatch: standard modes 1,2,3 are supported.
     Teamplay: a set of bit flags, like in ctf:
        TEAM_COLORS_LOCKED	= 16; //bit flag, leaving 8,4,2,1 open for expansion
	TEAM_FRAG_PENALTY	= 32; //is there a penalty for killing a teammate
	TEAM_PROTECT		= 64; //can you hurt your team
	ITEM_DROPS_ALLOWED	= 512; //leave 128,256 for more teamplay features
	RUNE_ENABLED		= 1024; //are the runes on or off
	LLAMA_ENABLED		= 2048; //llama game on or off
     
     Don't take these too seriously.  They're not guaranteed to work 100%
     yet, so please let me (dougm@ictv.com) know of situations where they
     don't work, if you choose to try to not use them.  I'd basically 
     recommend the standard teamplay setting, which currently is:
     teamplay 3696
     which works quite well.  I also recommend deathmatch 3.

Here is a sample server.cfg:
--start--
hostname Generic_KTL2
sys_ticrate 0.09
net_messagetimeout 60
sv_aim 1
noexit 1
pausable 0
deathmatch 3
teamplay 3696?KTL
timelimit 20
fraglimit 120
maxclients 24
gamedir llama
map start
--end--
This should (in theory) work for either quake or quakeworld ... the 
stuff which doesn't apply to each game should just get ignored.
This is my current config, except for the 'generic' part.

  6) Edit ll_team.qc, and modify the welcome message at the very bottom.
     Edit llheader.qc and modify the admin parameters, if you want
     admin support for the regular quake version.
  7) Recompile the server progs.dat.  Note that 6-7 are optional, only
     required to get a non-embarassing MOTD and admin support.
  8) Run the server.
  9) Report problems with this documentation, or with the servers, to
     dougm@ictv.com

Thank you!

