UNR ClanWar Quake2 Mod by [UNR]Finn V1.146 					June 29th 1998


This mod adds full teamplay rules to simplify matches between two teams. It automates 
the process of starting, timing and finishing matches. The team score is correct even
if individuals drop mid-way during a match and scores are also saved between levels.
On CTF levels CTF rules are used with a grapple and the slightly weaker CTF powershield
while on non CTF levels, the grapple is disabled as default, team skins aren't forced
and the powersheild acts as DM. Matches can also be customised as players can start 
with server configurable weapons/ammo/health and armour and weapons can be also disabled
for matches.

It should be placed in the CTF directory, or in UKCCL directory if it is to be used as a 
replacement for ukccl mod.

As Vwep is included, you need the vwep pak in addition.

For CTF the ctf pak is needed, while for DM the the UKCCL Client pak can be used imsteah 

There are 2 versions of the DLL, one optomised for pentiums and one for P-Pro's and 
P2. By default you are using the pentium version. if your have a P-Pro or P2 then copy
the one from the ppro directory over then pentium ver.

If you want to find out more about my clan, Unreal, check out 
http://clans.quake2.co.uk/unreal/ 

This was done 100% in Borland C++. If anyone is feeling kind, then a donation of Watcom
C++ would allow be to produce a better optomised version :-). 

I thought i better stick in one of those standard disclaimers here. I have treid my best
to make sure that this is virus free and i certainly have added no malicious code. But
you know the score, if by any chance it does do damage to your computer/kill your cat/run 
off with your wife i cannot be held responsible. 

New Commands:

All commands can only be entered from the server console or using the RCON command.


Command: "Sv ScoreReset"

Resets the scores of all players and both teams.


Command "Sv MatchStart [Delay]"

This simply counts down delay then restarts the current map with a ScoreReset and switches
safety off. 

Command "Sv Clear [Variable]"

Due to a limitation of RCON it is impossible to clear a variable once it it set using the RCON
command. This command simply clears a server console variable. eg Sv Clear password

Command "Sv Default"

Sets all Weapon/Ammo/Health/Armour settings to default then restarts server to update map.

Command "Sv maplist"

Displays a list of all available maps and a brief description of each. This command isn't 
available to client admins as the amount of data to print overflows them.

New Server variables:

Varable "Sv_admin_password [password]"

This sets the admin password, allowing clients with the correct admin password to set up
games without full RCON access. By default it is clear disabling admins.

Varable "Sv_Vwep [1|0]"

With the addition of Vwep i have added a way to disable it, so that the regular models 
display. When Sv_Vwep is set to 1 then vwep models display, when set to zero, regular 
(shotgun) model displays.


Variable: "Sv_Safety [1|0]>"

For those annoying times when admins are trying to organise something and the players 
just wont quit firing, I have created the safety variable. When set to 1, it simply stops
anyone firing just like a safety catch on a real gun would. Also prevents players picking
up items.

Variable: "Sv_freeze [1|0]>"

For those really annoying players who still manage to annoy even when they cant fire this
simply stops anyone moving, can be used as a sort of pause but as it doesn't stop time 
Quad's, 666 etc will still run out.


Variable "motd[1 to 10]"

I have added a Message of the Day setup, to set the text displayable on the Motd, there are to
variables, Motd1, Motd2... Motd10. Each of these contains a string that is center printed in 
the Motd window. If not set to anything else there is a default Motd. To simplify setting the
MOTD by RCON, all underscore ('_') characters are converted to spaces.

Variable "ShowStatus [1|0]"

When this is set, a message is displayed on the MotD informing new clients if a match is on or 
not. This uses motd9 and motd10 to give information.

Variable "team1 [team1name]"

This sets the name of Team 1. Default is RED

Variable "team2 [team2name]"

This sets the name of Team 2. Default is BLUE

Variable "weap_[weapon] [value]"

[weapon] can be either grapple, blaster, shotgun, supershorgun, machinegun, chaingun, 
grenadelauncher, rocketlauncher, hyperblaster, railgun or bfg.

If [value] is negative then that weapon will not be allowed on the level. if zero then
it will be allowed in level but player wont start with that weapon and if positive then
players will start with that weapon. Since the blaster or grapple are not found in the
level if they are not given to start with they are effectively disabled. Note: if grapple
is set to zero it will be banned even on CTF levels.

Variable "ammo_[ammotype] [quantity]"

[ammotype] can be shells, bullets, cells, slugs, grenades or rockets.

Quantity sets the amout of that ammo type players start with.

Variable "max_[ammotype] [quantity]"

Sets the maximum amount of that ammo players can carry. (Ammo back and bandoliers give
multiples of these figures)   

Variable "initial_health [quantity]"

Sets how much health players start with

Variable "max_health [quantity]"

Sets maximum health players can achieve from health packs.

Variable "initial_armour [quantity]"

Sets how much armour players start with

New Client commands:

Command: "admin_pword [password]"

Sets the client admin password.

Command "admin [command]"

If the clients admin password is correct then this executes the command. Command can be any of the
Sv commands except Sv Clear without the SV part (eg "rcon sv default" would become "admin default") 
or one of the following: map, status, kick or set.
Note: admin set cannot be used to change rcon_password or the game variables. Also all Admin commands
are logged to the server log with the clients name and ip.  

Command: "TimeLeft"

Displays current time left in current match

Command: "Settings"

Displays current weapon/ammo/health/armour settings


History (History only started with v1.11) 


V1.146
	Fixed: Changing to a CTF map, then a DM map enabled grapple on DM, now fixed.
	Fixed: Cleaned up some of the precaching code to be more suitable to fully working auto d/l in 3.17

	Added: Maplist command, based on code by Bent P. Svendsen (decker@post1.tele.dk)
	Added: Audible countdown to match start
V1.145
  	Fixed: Small say_team bug, legacy of DM code
        Fixed: The powersheild bug
        
	Added: sv_admin_pword variable
        Added: Admin_Pword client side command 
        Added: Admin command to change settings without RCON
        Added: Spectators see the team name appended before messages for easy identification.

V1.14 (First proper public release)
        Fixed: Now cant capture flag with safety on
        
	Added: Cant pick up items with safety on 
        Added: Sv Freeze Command 
        Added: New HUD messages for Freeze and Safety status
 
V1.13 
	Fixed: Full rewrite from the ground up - cleaned up some quick hacks from earlier and generally improved some badly done areas. 
	Fixed: Woo! found the irritating auto-d/l attempt of flash2/tris.md2 

	Added: Full CTF support - CTF rules on CTF levels, Works as UKCCL Mod on non CTF levels. 
	Added: Name change to show change of emphasis of Mod. 
	Added: Fully configurable as to what weapons/ammo/health/armour players start with 
	Added: Weapons can now be banned. 
	Added: Sv Default command added to set all settings to Q2 defaults 
	Added: Settings command to show all current settings for weapons/ammo etc. 

V1.11
	Fixed: D'oh! i wasn't seeding the random number generator... meant there was a certain order to where clients respawn... 
	Fixed: switching teams no-longer gives a -1 to score of destination team 
	Fixed: No-longer displays when spectators change skins during match 
  
	Added: Both Sv Timeleft and TimeLeft commands 
	Added: spectator score now shows current time left  in match 
	Added: Client side pak cleaned up - now smaller :-). 
	Added: Scoreboard cleaned up, removed un-needed code to do with flags 
	Added: Sv Clear [Varname] command, eg Sv Clear Password 
	Added: underscores now converted to spaces on Message of the Day to help with RCON 
	Added: Customisable team names 
	Added: Message of the day shows when a match is on 