		*****************************************	
		*					*
		*	     Communications 		*
		*		 Menu			*
		*		   &			*
		*		 Class			*
		*	     Configuration		*	
		*					*
		*     	   	v3.041 			* 
		*					*
		*					*
		*    For Valve's Half-Life mod TFC	*
		*					*
		*					*
		*	   Made by H.S. Nauta		*
		*	      sweird@dds.nl		*
		*		04/11/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
	     MODIFIED	1. Installation.
	     MODIFIED	2. Notes.
	          	3. Customizing.
		    	4. Contacting me.
		    	5. Copyright & Legal stuff.
	     MODIFIED  	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.
		  NEW	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). 

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

* 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
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


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.

* It also contains a few wav-files. I made a few sound-file and used a 
few of p3y0t3's p3MOD v3.0 for each weapon and I made my own 2 grenade 
timer sound-files. The grenade-timer files (timer1.wav and timer2.wav)
 time the seconds for you. Grenades explode on the 4th second. If you 
don't want to be in the blast, release the grenade at its latest on the
 3d tick, as it will explode on the 4th! The first wav-file 
(timer1.wav) counts to 3 seconds and is used in conjunction with the 
type 1 grenade, the second (timer2.wav) counts to 4 and is used with 
the type 2 grenade. 

* 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 have added a quick weapon selection for each class. This sometimes 
makes the computer hang :( To prevent this, press e while moving.
	ADDENDUM 11/09/99: I removed the nailgun sound from the weapons, 
	as this seemed the source of the lock ups. If the game still 
	locks up while changing weapons, edit the class configs and 
	delete all the sounds in the weapon section.

* 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 :(

* 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 14/10/99 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

* ADDENDUM 14/10/99
I am thinking of splitting the prime grenade type 1 & 2 and the throw
grenade commands: if the prime grenade and throw grenade are under 
different keys or buttons, you don't have the nusance of having to 
press the prime key twice, after a death during a prime action, without 
the release of that grenade.
Because if you die without throwing the grenade, the button is still
configured for the throw. If I split those commands over 3 keys, a prime
will allways work with the first press of that button.
Any comments on that thought would be appriciated.

* ADDENDUM 14/10/99
I'm also contemplating the removal of the SG report from the offensive
map files: I never use them.
Any comments on that thought would be appriciated, too.

* ADDENDUM 04/11/99: VIRUS WARNING!
ALL PREVIOUS VERSIONS of my Skorpio's Script MIGHT BE INFECTED with
a Macro.Word97.Class.q VIRUS!
Read the VIRUS WARNING.TXT!!!


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, except the pyro. Any suggestion for him?


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.DOC (Word97 file) gives an overview of the used 
keys and their bindings. 

The COMMS_MENU_GUIDE.DOC (Word97 file) describes the Communication 
Menu(s) and Spy Disguise Menu

The ALIAS_GUIDE.TXT describes the function of seceral aliases

ADDENDUM 11/09/99: After some emails requesting help:
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 on 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.
concjump_help.txt		Text file explaining the automatic concjump and
				grenadejump, and the adjustable wait segment.
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! 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].
If you think this is a better way of timing, follow the instvuctions to make it work.
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. 
To make this timer script work, do the following:

Changes in AUTOEXEC.CFG: 
Replace the prime_gren1 and prime_gren2 aliases in the autoexec.cfg, 
chapter 1, with these:

	alias prime_gren1 "primeone; wait; alias grenade_type1 
	throw_gren1; exec timer.cfg"

	alias prime_gren2 "primetwo; wait; alias grenade_type2 
	throw_gren2; exec timer.cfg"

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" 

ADDENDUM 06/10/99 
Unfortunately, the spoken words are often completely lost in the sounds 
of battle. I myself prefere the timersound above this spoken countdown.
If you want to use the timersounds change the prime_gren1 & 2 aliases, 
found in the AUTOEXEC.CFG Chapter 1, to this:

	alias prime_gren1 "primeone; wait; alias grenade_type1
	throw_gren1; play timersound_type1" 

	alias prime_gren2 "primetwo; wait; alias grenade_type2
	throw_gren2; play timersound_type2"


8. CHANGES I MADE SINCE LAST VERSION ***********************************

Changes in v3.041
- Due to a macro virus I redid the Comms Guide and Key Reference in Notepad.
  See section 2: Notes and the VIRUS WARNING.TXT for more info!
- Added the weapon model view command to each class.cfg, as I only want to 
  see which weapon I hold for a few classes.
- Each offensive or defensive map file has a message_f alias, requesting
  where the flag is (enemy flag and own flag respectively).
- Added a new fire mode for the sniper: snipershot (sniper mode only): 
  pressing the mouse1 now charges up the shot, pressing it again fires the 
  shot. This idea came from LilSerf.
- For the sniper: PGDN toggles the snipershot mode 

Changes in v3.04
- Added a new file: netsettings_for_lpb.cfg. Read section 11: Modem
  Issues for more information.
- Renamed the old netsettings.cfg to netsettings_for_56k_modem.cfg.
  Read section 11. Modem Issues for more information.
- Added a new file: audio_video.cfg. This file holds the settings and
  aliases for audio, video and input. Done this way for easy access 
  without searching for the proper file.
  These settings came from the autoexec.cfg.
- For the Soldier: added a prime grenade type 2 to mouse2
- For the Pyro: added a prime grenade type 1 to mouse2
- Added a button in the spy.cfg: <PGDN> now switches the disguise color
  preset to a different color. This to support spying in a up-to-4-teams
  environment, if allowed by class- and team-restrictions.
- Added zoom to ALT, removed fire from ALT
- Added fire to SPACE, removed +use from SPACE
- Added +use to CTRL, removed +jump from CTRL
- Removed and corrected some lose end in the scripts: 
      - Demoman: removed the 10 sec detpack, as this does not work;
      - 2Fort_def.cfg: made the "Flagrunner escaped to elevator"-message
        work properly;
      - A few more minor issues in the scripts.
- Completed the COMMS_MENU_GUIDE.DOC, except for Hunted style menu's.
- Message_f (key <f>) holds a defensive or offensive message:
      - offense: "Where is the enemy flag?"
      - defense: "Intruder eliminated"
- Worked a little on the auto_concjump and auto_grenjump (medic, scout, 
  pyro and soldier). It has an adjustable time/pause segment build in.
  Read concjump_help.txt for more information.


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, acanalzone-type, a rock2-like or a hunted-
style map) and the text of the messages changed.

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 "Intruder eliminated"
The rest of the aliases and commands can just be copied from a similar 
defensive map config (a 2fort-like, a rock2-like or a hunted-style map) 
and the text of the messages changed, removed, etc.

If you use it, in the defensive map config file (mapname_def.cfg): 
	alias im_dead "say_team [OFF] I'M DEAD"
	alias message_f "WHERE IS THE ENEMY 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********************************************************

Q. I get this "Z_Malloc failed on allocation of x bytes" error, where x is 
a number.

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



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

Good luck and happy hunting,

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