		*****************************************	
		*					*
		*	     Communications 		*
		*		 Menu			*
		*		   &			*
		*		 Class			*
		*	     Configuration		*	
		*					*
		*     	   	 v3.05 			* 
		*					*
		*					*
		*    For Valve's Half-Life mod TFC	*
		*					*
		*					*
		*	    Made by Skorpio		*
		*	     sweird@dds.nl		*
		*		13/12/99		*
		*					*
		*****************************************

           !!!!!!! READ SECTIONS 1, 2 & 8 OF THIS FILE !!!!!!!
		!!!  ALSO READ THE VIRUS_WARNING.TXT  !!!


These files only work with Valve's Half-Life mod Team Fortress Classic.


       		    	TABLE OF CONTENTS
	     		1. Installation.
	     		2. Notes.
	          	3. Customizing.
		    	4. Contacting me.
		    	5. Copyright & Legal stuff.
	     	  	6. Files included in this zip and what 
	                   they are.
	     	  	7. Extra timer.cfg: an explanation.
		    	8. Changes made since last version.
	            	9. Creating new map config files.
	          	10. Where to get a list of all TFC commands.
		  	11. Modem issues.
		  	12. Troubleshooting


1. INSTALLATION *******************************************************
First make a backup of your original congiguration.
Then unzip file into your "half life/tfc" directory. All the files, 
except the wav-files should be in the ...\HALF-LIFE\TFC directory. 
Put the wav-files in the root of the ...\HALF-LIFE\TFC\SOUND directory. 
If you have no such directory yet, create one.

For the files to work, add the following parameter to the target line 
in the TFC-shortcut:

   -zone 2048

The -zone 2048 parameter specifies the amout of kB's reserved for the 
(user) cfg-files (e.a. netsettings.cfg, slots.cfg, autoexec.cfg, 
class_help.cfg, audio_video.cfg, config.cfg, 2fort.cfg, 2fort_att.cfg
and demo.cfg etc). 

If you start TFC from GameSpy do the following to make it work from this 
nifty game utillity:
1. Open GameSpy and select the File menu
2. Choose Games and Filters menu
3. Search for the Half-Life entry and add -zone 2048 to the command line

Furthermore, these files are setup and designed for use with p3y0t3's 
excellent audio\visual\control enhancement pak-file: p3MOD v3.0,
though this configuration will work with out that pak file. It is NOT 
neccessary to download it, but it has some very nice enhancements, so...
I altered a few settings, like my own grenade-timer sounds, but the 
rest I use, and that with great pleasure!
It is not included in this zip, so if you don't have this PAK-file yet, 
you can download it from TF File Factory:
    http://www.planetfortress.com/tfff/tfcpak.shtml

I also use a very nice crosshair pa(c)k from The Az Man, aka Azure, aka 
PakMan (as declared by [GC]Webzter): Az's Hi Rez Magic X-hairs Beta v. 0.99 
These crosshairs are highly visible and are weapon specific. They are made for
resolutions of 1024 x 768 and higher.
You can download them from 
    http://www.planetfortress.com/tfstuff


* ADDENDUM 14/10/99: 128k ISDN or cabel modem users
If you have a cabel or 128k ISDN connection to the internet, read section 
11: Modem Issues!

* ADDENDUM 14/10/99: Titles.txt
Also included is a copy of my skorpio_titles.txt. Read section 2 for 
more information. Follow the instruction described there if you want
to use it.

* ADDENDUM 1/11/99: GameSpy users



2. NOTES ***************************************************************
* This zip contains all the files needed for a good communication 
setup, with offensive and defensive reports and instructions. As the 
comms menu is fairly extensive, it might take some time to learn it by 
heart. To ease the learning process, pressing the Function Keys echos 
the keys and their text to the console and the top left corner of 
the screen for reference. 
Two Notepad documents are included in this zip, telling you what key 
does what. See section 6 for more.

* I also included a class help file (press <F11>). This will echo the 
available keys for that class to the top left corner of the screen.

* Furthermore, it contains my game -, map - and class configuration 
files. Some have been extensively modified, some have only the necessary 
bindings and aliases in them to make them work properly in this config-
setting.

* If the config files, or one of them, do not properly load, go to the 
console and type "exec filename.cfg" where filename is the name of the 
file, or, if possible, press + or - to load the offensive or defensive 
variants of the communication menu.
If the spy isn't setup properly, pressing F9 and then F7 (to change 
color) report "resetting disguise" or something like that. The remedy 
for this is pressing Page Up (change class) and re-selecting the spy.

* I added a standard reload to the -m1_attack alias: once you release 
the fire button, the weapon you are holding starts to reload (if 
appropriate). If you die, just press the fire button to respawn.

* To my findings, a cfg-file may not be bigger than 7kB, or it wont 
load :(

* SKORPIO_TITLES.TXT
I added an edited titles.txt file. This file contains a lot of the info
lines, displayed in the top left corner, like "Player has joined Team 
Red" and "Player is playing as a scout" etc. These messages interfered
with the display of the Communication Menu, so I removed a couple of
annoying messages.
To make use of this file, create a backup of the original titles.txt,
and rename the skorpio_titles.txt to titles.txt

* A last note: It is important you choose Offense or Defense after 
gamestart. Press <-> for Offense or press <+> for Defense. This loads 
the proper Communication Menu and gives you full access to it's 
powerful (?!) scripts and full class abilities. If you choose to 
change your mission during play, just press the proper button (- or +)
to load the popper menu.

* ADDENDUM 04/11/99: VIRUS WARNING!
VERSION 3.04 of my Skorpio's Script MIGHT BE INFECTED with a 
Macro.Word97.Class.q VIRUS! Read the VIRUS WARNING.TXT!!!
The zip you could d/l from Randy's I.AM/TFC site is cleaned by him, so no 
worries if you d/l it from there. The virus is harmless as far as I know, 
but nevertheless, kill it!


Maps covered: 		2Fort, Canalzone2, Rock2, Well, Push and The
 			Hunted (standard TFC maps). The basic 
			configuration works for every map, only the
			standard maps have a communication system 
			added.
			I made no menu for Push, I only added a 
			team_yellow and team_green alias.

Modified class.cfgs: 	All


3. CUSTOMIZING *********************************************************
The CONFIG.CFG holds all the bindings of the keys to their aliases. To 
customize the keys, you can change this file.
For customization of the classes, you must also change the binding in 
the class config files.

!!! Again: To my findings, a cfg-file may not be bigger than 7kB!

The AUTOEXEC.CFG, SLOTS.CFG, CLASS_SEL.CFG, AUDIO_VIDEO.CFG and 
NETSETTINGS.CFG contain the common aliases and settings I use for 
gameplay. The class configs contain the class specific setups, their 
special abilities, class specific aliases and their binds, such as 
rocketjump, building and maintaining a Sentry Gun (SG) etc.

The KEYBINDINGS_FOR_TFC.TXT (NotePad file) gives an overview of the used 
keys and their bindings. 

The COMMS_MENU_GUIDE.TXT (NotePad file) describes the Communication 
Menu(s) and Spy Disguise Menu

The ALIAS_GUIDE.TXT describes the function of seceral aliases

Editing these files (all *.cfg, *.txt and *.rc files) can be done with Notepad. 
To do this, follow these steps:
1. Right click on the file
2. Choose "Open with...". A new window will pop up.
   If this option is not available, but the option "Open" is, go to step
   4.
3. In this new window, select Notepad and make sure the box in the 
   bottem left corner is checked.
4. You are done now. Double clicking the file will now open it to be 
   edited.


4. CONTACT INFO ***************************************************************
You can reach me by ICQ at 21539439, or email me at sweird@dds.nl
Suggestions and comments are welcome, so feel free to send them in.


5. COPYRIGHT & LEGAL STUFF ****************************************************
- You can distribute these files freely, but only with this readme.txt 
  included! 
- You may NOT change or remove the name of the maker/writer of these 
  files.
- You may NOT sell these files for money or any other commodity to 
  others. These files are free of any charge and must remain so.
- You may change, add or remove bindings and/or aliases.
- You may customize these files to your own liking, as long as you 
  comply with the rules described above.

I will not be held responsible in any way for any damages done to a user 
or his property by the use of these files. Use these files at your own
risk!

(In short: standard legal and copyright stuff ;-) )


6. FILES INCLUDED IN THIS ZIP-FILE *********************************************
The files in this zip should be:

2fort.cfg			Loads standard comms menu sub items for the map
				2fort. Auto-loads.
2fort_att.cfg			Loads main comms menu (for offense) for 2 fort.
				Press - to load.
2fort_def.cfg			Loads main comms menu (for defense) for 2 fort.
				Press + to load.
alias guide.txt			A text-file explaining the most important, user
				changeable aliases.
assassin.cfg			Loads comms menu for the assassins in the hunted.
 				Auto-loads when choosing assassin team.
audio_video.cfg			Contains aliases and settings for audio, video 
				and input. Auto-loads.
autoexec.cfg			Contains several bindings and aliases.
				Auto-loads.
bodyguard.cfg			Configuration for a bodyguard in Hunted. 
				Press + to load.
class_help.cfg			Reports all the available keys for a class to
				the console and upper left corner of the screen.
class_sel.cfg			Holds the aliases used for choosing your class
				and the class_defense and class_offense message.
				Auto-loads.
config.cfg			The file with all the binds. Auto-loads.
cz2.cfg				Loads standard comms menu sub items for the map 
				cz2. Auto-loads.
cz2_run.cfg			Loads main comms menu (for a flagrunner) for 
				cz2. Press - to load.
cz2_sup.cfg			Loads main comms menu (for support) for cz2. 
				Press + to load.
demoman.cfg			Configuration for the demoman-class. Auto-loads.
engineer.cfg			Configuration for the engineer-class.
				Auto-loads.
hunted.cfg			Loads standard comms menu sub items for the map 
				hunted.
hwguy.cfg			Configuration for the HWG-class. Auto-loads.
keybindings for tfc.doc		(Word 97) Lists all the key-binding and class 
				specific keys and their commands.
medic.cfg			Configuration for the medic-class. Auto-loads.
netsetting_for_56k_Modem.cfg	Contains several bindings and aliases for 
				multi-player with a 56k Modem. Auto-loads.
netsetting_for_LPB.cfg		Contains several bindings and aliases for 
				multi-player with a Cabel or 128k ISDN Modem. 
				Auto-loads, when implemented in valve.rc.
				Read section 11: Modem Issues for more info.
president.cfg			Configuration for the hunted in Hunted. 
				Press - to load.
pyro.cfg			Configuration for the pyro-class. Auto-loads.
readme.txt			This file.
rock2.cfg			Loads standard comms menu sub items for the map 
				rock2.
rock2_att.cfg			Loads main comms menu (for offense) for rock2. 
				Press - to load.
rock2_def.cfg			Loads main comms menu (for defense) for rock2. 
				Press + to load.
scout.cfg			Configuration for the scout-class. Auto-loads.
skorpio_titles.txt		An edited version of the titles.txt. View 
				section 2. Notes for futher informantion.
slot.cfg			Holds all aliases to configure keys 1 to 0 and 
				the mouse1-button. Auto-loads.
sniper.cfg			Configuration for the sniper-class. Auto-loads.
soldier.cfg			Configuration for the soldier-class. Auto-loads.
spy.cfg				Configuration for the spy-class. Also, holds
				the spy disguise menu. Auto-loads.
tfc comms menu guide.txt	A Notepad file, describing the communiction menus.
tfc key referense.txt		A Notepad file, describing which key does what.
timer.cfg			A spoken grenade timer countdown.
valve.rc			The valve.rc file makes the standard files 
				auto-load for every game of TFC you play (ea. 
				netsettings.cfg, slot.cfg, class_sel.cfg,
  				audio_video.cfg and autoexec.cfg).
version history.txt		describes all changes in the previous versions

VIRUS WARNING.TXT		I FOUND A MACRO VIRUS ON MY COMPUTER! IF YOU USED
				VERSION 3.04 OF MY SCRIPT, READ THIS FILE FOR MORE 
				INFORMATION!

well.cfg			Loads standard comms menu sub items for the map 
				well. Auto-loads.
well_att.cfg			Loads main comms menu (for offense) for well.
				Press - to load.
well_def.cfg			Loads main comms menu (for defense) for well.
				Press + to load.
several wav-files		For use with weapons and grenades.


7. TIMER.CFG: AN EXPLANATION ********************************************************
I found this "timer script" on the I.AM/TFC site. It is originally from Mickey[iD3].
I used his explanation text, but I altered it a little bit...

Explanation: 
In the script below, the speak command provides a timer for any type of 
grenade, for any class, so you always know when the grenade you've just 
thrown will explode.  This timer is an audible countdown from three to 
zero, with detonation occurring at zero. 

Some scripts use a recorded sound file (a .wav file)  and the "play" 
command to create the countdown timer [like I do --Skorpio], but the 
problem with this method is that the countdown sound fades away if you 
are running, which is not good. 

This timer uses the "speak" command.  This command doesn't work well at 
all when inserted in aliases of binds.  So the solution was to have a 
separate config (call it "timer.cfg") where the only line would be 
<speak "three... zero">, and whenever you need the timer you can just 
exec the config from within the prime-alias. 
I have already included this TIMER.CFG, and it is ready for use. It may
only hold one line:

	speak "three _comma _comma _comma two _comma _comma _comma one 
	_comma _comma _comma zero" 


8. CHANGES I MADE SINCE LAST VERSION ***********************************
Changes in v3.05
- Switched mouse2 and mousewheeldown functions for the Demoman: Now, pressing
  mouse2 will prime a grenade type 2, and pressing the mousewheeeldown will
  detonate your pipebombs.
- Switched mouse2 and mousewheeldown functions for the Engineer: Now, pressing
  mouse2 will prime a grenade type 2, and pressing the mousewheeeldown will
  detonate your dispenser.
- Changed the Sniper setup a little: I removed the additional zoom levels
  from the mousewheel. The mousewheel up & down now primes a grenade type 1.
- Changed the Mouse2 Prime Grenade for the Soldier: pressing mouse2 now primes
  a grenade type 1 for the soldier, as this is a more effective grenade in 
  (normal) combat.
- Removed all auto grenade jumps (from scout, soldier, medic and pyro). They
  were too much hassle getting the timing correct.
- Simplified a few communication (sub)menus:
     * Removed the REPORT and MY POSITION menus from the offensive comms.
     * Changed the buildup of the offensive menus a little
     * Shortened the INCOMMING TO BASE menus.
  Read the TFC_Menu_Guide.TXT for the new menu buildup.
- Changed SHIFT back to normal jump (makes manual concjumping a lot easier).
- Changed the ALT key to longjump (jump then duck).
- Changed the SPACEBAR to throw a previously primed grenade (doesn't matter 
  which type). So, prime a grenade (with the mousewheel, or right mouse 
  button), hold it 'till you think you should throw it, and press the spacebar 
  to throw it.
- Changed the timer sound for the scout mouse2 concussion grenade. This for
  easier timing your jump (or so I think) for a successful concjump.


9. CREATING NEW MAP CONFIG FILES *****************************************
The common files (all class configs, config.cfg and the files autoloaded 
by the valve.rc) work with/in every map. The map configs (including the 
offensive and defensive variants) are -ofcourse- map specific.
Should you want to make a communication config for a new map, there are 
several aliases that MUST be set in the new config files.

In the mapname.cfg (where mapname is the name of the map as it is 
displayed in the map selection screen, eg. the BSP name), these aliases 
and commands shoud be copied:
	// Message binds
	alias message_t ""
	alias message_/ ""
	alias message_g ""
	alias message_f ""
	alias message_i ""
	alias message_q "Incomming to flag!"
(or you could assign other messages to these, ofcourse)

	// Defenition of team_yellow and team_green
	alias team_yellow 
	alias team_green 
(and their proper slot configuration)

	// Attack and Defense menu selection
	alias mapattack "class_offense; exec mapname_att.cfg"
	alias mapdefense "class_defense; exec mapname_def.cfg"
(where mapname is the BSP name again)

The rest of the aliases and commands can just be copied from a similar 
map config (a 2fort-like, a canalzone-type, a rock2-like or a hunted-
style map) and the text of the messages changed.

If you use it, in the offensive map config file (mapname_att.cfg): 
	alias im_dead "say_team [OFF] I'M DEAD"
	alias message_f "[OFF] WHERE IS THE ENEMY FLAG?"
If you use it, in the defensive map config file (mapname_def.cfg): 
	alias im_dead "say_team [DEF] I'M DEAD"
	alias message_f "[DEF] WHERE IS OUR FLAG?"
The rest of the aliases and commands can just be copied from a similar 
offensive map config (a 2fort-like, a rock2-like or a hunted-style map) 
and the text of the messages changed, removed, etc.

TO MY FINDINGS, A CFG FILE MAY NOT BE BIGGER THAN 7 KB, OR IT WON'T LOAD!

Just study how the map configs are build, they speak for themselves :)
You should be able to make it work. If not, drop me a line and I might 
help you out.


10. WHERE TO GET A LIST OF ALL AVAILEBLE COMMANDS *************************
If you are really interrested in learning how to make your own scripts, 
visit the I.AM/TFC site of Randy at http://tfc.pcgame.com/
This site holds a good explenation of the availeble (script) commands.

Here you can also find script-pieces you might want to incorporate in your 
own script.


11. MODEM ISSUES **********************************************************
All previous releases of this script, had on-line settings for 56k modem
users only. Those settings were stored in the netsettings.cfg. 
I renamed that file to netsettings_for_56k_modem.cfg, because I included a 
cfg for LPBers (or Low Ping Basterds), using a cabel or 128k ISDN modem. 
The cfg for is these LPBers is "netsettings_for_LPB.cfg.

If you have a cabel or 128k ISDN connection to the internet, use that cfg, 
you will have better pings! To use this cfg follow these steps:
1. Open the VALVE.RC file to edit it.
2. Find the header "// run user script files if present"
3. change the NETSETTINGS_FOR_56K_MODEM.CFG into NETSETTINGS_FOR_LPB.CFG
4. Save and exit the VALVE.RC.
	

12. Troubleshooting********************************************************
Q1. 	I get this "Z_Malloc failed on allocation of x bytes" error, where x 
	is a number. What do I do?

A. 	You haven't properly setup the command/target line of TFC. Read 
	section 1: Installation!


Q2. 	After I die as a sniper, I cannot respawn. How do I respawn?

A. 	This is a problem I can't solve yet with scripting. The snipercharge 
	and snipershot alias cause this problem.
	What I do to respawn (sniper only), is this:
	1. Press mouse1 once (if a shot was charged)
	2. Press PgDn to disable snipermode
	3. Press E to change to the autorifle
	4. Press the left mouse button... and viola: a respawn
	If that doesn't work, press ESC, choose Resume Game and press the left 
	mouse button.


Q3.	I don't see the weaponmodel, and I want to see it! How do I do that?

A.	Pressing <P> toggles the weaponmodel. You could also change the the 	
	model to permanently on by changing the r_drawviewmodel command in the 
	beginning of the class cfgs to 1 (on). It should be like this:
	r_drawviewmodel 1


Q4.	I don't see any decals and blastmarks and I really like to see them. 
	What do I change?

A. 	In the beginning of the ADIO_VIDIO.CFG is the command that handles this.
	It is R_DECALS 0 (the 0 meaning off). Change the value to your own liking
	like R_DECALS 500, the 500 meaning that the most recent 500 blastmarks and 
	decals will show.

Q5.	I want to run my screen in a higher resolution than 800 x 600. 
	What do I change?

A.	In the CONFIG.CFG are these two commands that specify the resolution:
		vid_config_x "800"
		vid_config_y "600"
	Change them to the appropriate values like 1024 x 768 or 1152 x 864 or 
	even 1280 x 1024.


That's about it!
I hope I made it clear on how to use, customize these files and/or make 
new map configs...

Good luck and happy hunting,

	H.S. Nauta a.k.a. Skorpio
