
 Midair
 by 5uper


This is the server and qwprogs.dat for midair.

Midair is recommended for 2 players, however a 4 player (team) game can also be fun

I have compiled a special version of Plexi's Equake server (source on my website, www.amnesiagames.com/~super)
that can run Midair for your convienence, as the mod uses a few special serverside builtins.

commands:
use normal server "timelimit" command to control the match length, except tournaments


// optional midair localinfos
localinfo startammo <amount>
localinfo starthealth <amount>
localinfo startarmor <amount>
localinfo allowvote 0/1
localinfo admin_pwd <password>
serverinfo tournament 0/1

startammo (default 100) adjusts the amount of starting rockets after a respawn.
starthealth (default 250) adjusts the amount of health when you respawn
startarmor (default 200) adjusts the amount of armor you respawn with

allowvote (if 1) lets players vote a map on the server

admin_pwd is the password you can set. 
a player can use: cmd become_admin X	(x = password) 
to become an admin, and when a player is an 'admin',
they can spawn the midair bot with "m_addbot" and remove it with "m_rembot"
warning: the bot can crash the server under VERY RARE situations

Tournament:
This mode of gameplay removes the axe from your weapons and waits
until every player has typed 'ready' (also notready to unready) in the console.
During the prematch, you will not take damage or lose ammo. Prematch can be 
considered a warmup. The official match is by default 8 minutes.

These are the special builtins to this server:

string	(string s1, string s2) 			strcat = #84; 		// map voting
float	(string st1, string st2) 		strcasecmp = #87;	// cmd support,map voting
float	(string st) 				validatefile = #91;	// cmd support,map voting
float  	(string filename, float mode) 		fopen = #110; 
void  	(float fhandle) 			fclose = #111; 
string  (float fhandle) 			fgets = #112; 
void	(float fhandle, string s) 		fputs = #113; 
float	(string s) 				strlen = #114; 
//string	(string s1, string s2) 		strcat = #115; // misery's equake uses 84, presumably
string	(string s, float start, float length) 	substring = #116;
vector	(string s) 				stov = #117;
string	(string s) 				strzone = #118;
string	(string s) 				strunzone = #119;
void	(entity e, string s) 			clientcommand = #440;	// for cmd support
float	(string s) 				tokenize = #441;	// for cmd support
string	(float n) 				argv = #442;		// for cmd support



5uper
amnesia.midair@yahoo.com