  >-------------- TEAM FORTRESS CLASSIC SCRIPT ---------------<
                      kevcheng@bigfoot.com
                          by #illusion
                         (Kevin  Cheng)
                             v1.01


>------------------------------------------ # table of contents <

 # instructions
 # a word from our sponsors
 # wish list
 # common commands
 # class specific commands
   # scout
   # sniper
   # soldier
   # demolitions man
   # medic
   # heavy weapons
   # pyro
   # spy
   # engineer
 # revision history
 # legal stuff



>----------------------------------------------- # instructions <

 - unzip file into your "half life/tfc" directory with
   directory information turned on
 - run tfc normally
 - sometimes the script doesn't autoload, if not, go to console
   and type "exec autoexec.cfg"
 - if the map comm script doesn't load, type "exec mapname.cfg"
   where mapname is the name of the current map (2fort, rock2,
   cz2, well, push, hunted, etc)

 notes on customizing:
 - key customizing should be done in autoexec.cfg
 - class specific keys will have to be changed in each class file
   these keys are r, t, g, h, and b
 - just change keys to be bound to what you want
 - if you want to change the primary/secondary weapon, then
   go to the appropriate class and change weapon1 and weapon2.
   note that this may affect some of the reloading scripts.
 - if you change the class specific keys (t,g,h,b) it will
   change that key for ALL classes so beware (i.e., changing
   rocket jump key will also change demoman pipbomb jump key,
   sniper zoom in key, scout/medic concussion jump key, spy
   feign death key etc etc because they are ALL bound to "t")
 - some of the scripts have gotten quite complex for optimal use
   so modify at your own risk.



>----------------------------------- # a word from our sponsors <

 - visit # illusion TFC 2Fort server in the wee hours of
   the morning (PST) or find # illusion on a fast server
   
 - # illusion designs is located at http://www.sfu.ca/~chengn

 - visit http://i.am/tfc for great news/info for TFC

 - visit http://www.gamespire.com to see content only on the
   games worth looking at



>-------------------------------------------------- # wish list <

to do:
 - add dropping ammo before throwing emp grenade
 - allow changing of sniper zoom level w/o actually zooming
 - fix class help to show up everytime class changes
 - soldier double rocket jump
 - concussion jump timing based on pushlatency

if you can help with any of these, let me know at
kevcheng@bigfoot.com



>-------------------------------------------- # common commands <

mouse1 - fire current weapon
mouse2 - when you hold mouse2 it switches to a secondary weapon
         and fires it as long as mosue2 is pressed. once mouse2
         is released, you return to your primary weapon. primary
         and secondary weapons are listed below for each class.

t      - class specific (see below)
g      - class specific (see below)
h      - class specific (see below)
b      - class specific (see below)

q      - prime/throw grenade type 1
w      - prime/throw grenade type 2
r      - reload

a      - special
z      - call medic
c      - spray paint logo
v      - duck
y      - msg team
u      - msg everyone
x      - say "acknowledged" to team
i      - flag info
k      - suicide

F9     - change class
F10    - change team
F11    - quit game
F12    - screenshot

TAB    - show scores
` or ~ - console
INS    - toggle netgraph
DEL    - reset everything - USE THIS IF YOUR ZOOM IS MESSED
         (prone to happen after being a sniper
          tech note: i've tried just reseting the zoom at the beginning
          of each script but that consistenly crashes HL! probably because
          it's trying to draw the model before you're respawned)
/      - cycle through a list of names set in autoexec.cfg so
         if you have different people using the same computer and
         config, you can just change names quickly with /

PGUP/PGDN  - set latency

\          - show map macros on screen

F1-F8      - reserved for map specific macros on defence
SHIFTF1-F8 - reserved for map specific macros on offence



>------------------------------------- # class specfic commands <

# scout

weapon 1  - nailgun
weapon 2  - shotgun
grenade 1 - caltrops
grenade 2 - concussion grenade
special   - flaginfo

r - change to shotgun, reload, change back to nailgun
t - concussion jump : This is in beta. because it's dependent on
    the wait state, which is dependent on ping, it's unreliable
    unless you're the server. I'm trying to tweak this to be in
    tune with pushlatency settings. Usage is also a little
    complex, you basically have to make sure you're facing a wall
    and looking down. prime spots are corners of the ramps leading
    into forts and facing the center of the wall at the elevator.
    If you want to prime it earlier, keep running when you press
    the macro and just run into the wall.
g - flaginfo : same as special
h - none
b - none


# sniper

The rifle does not zoom all the way out after a shot. this is because
snipers typically don't need a fully zoomed out mode when waiting. To
reset view, press h.
NOTE: after using a sniper, you may have to restview for other classes.
The default is DEL to do this.

weapon 1  - sniper rifle : toggle fire - press once to aim,
            then press again to fire. useful because you typically
            spend a long time just holding on to the mouse1
            waiting for a target
weapon 2  - nailgun
grenade 1 - grenade
grenade 2 - none
special   - toggle zoom (don't use this crap)

t - long jump
g - zoom in
h - reset zoom (see wheel)
b - zoom out
wheel - adjust zoom: adjusts zoom in and out as you're aiming.
        Move wheel up to zoom in, wheel down to zoom out. t and
        g keys do the same thing for those non wheelers. if you're
        not aiming, zoom level will change but you won't zoom in
        until you're aiming the rifle


# soldier

weapon 1  - rocket launcher
weapon 2  - double shotgun
grenade 1 - grenade
grenade 2 - nail grenade
special   - reload

t - rocket jump
g - change to double shotgun; reload shotgun; change back to rocket
h - none
b - double rocket jump (not implemented)


# demolitions man

weapon 1  - grenade launcher
weapon 2  - pipebomb launcher
grenade 1 - grenade
grenade 2 - mirv grenade
special   - detonate pipe bombs

t - pipebomb jump (just stand over a pipebomb)
g - toggle through detpack timers
h - scroll detpack timers
b - lay detpack (hold until it's set)
wheel - scroll detpack timers : changes between 5, 10 and 50
        second detpack timers


# medic

weapon 1  - double shotgun
weapon 2  - medikit
grenade 1 - grenade
grenade 2 - concussion grenade
special   - reload

t - concussion jump : see scout for notes
g - none
h - none
b - none


# heavy weapons

weapon 1  - chain gun : toggle fire - press once to begin firing,
            then press again to stop firing. Useful because you
            typically spend a long time just holding on to mouse1
            shooting people. Takes some getting used to be you'll
            wonder how you played without it after some practice.
weapon 2  - double shotgun
grenade 1 - grenade
grenade 2 - mirv grenade
special   - change to chain gun

r - change to double shotgun, reload, change back to chain gun
t - long jump
g - none
h - none
b - none


# pyro

weapon 1  - napalm rocket launcher
weapon 2  - flamethrower
grenade 1 - grenade
grenade 2 - napalm grenade
special   - flamethrower

t - rocket jump
g - none
h - none
b - none


# spy

weapon 1  - double shotgun
weapon 2  - knife
grenade 1 - grenade
grenade 2 - hallcination grenade
special   - spy menu (not really necessary with these macros)

t - feign death : performs "realistic" death with look down,
    backpack dropping etc. silent (i never hear deaths in TFC
    from anyone).
g - disguise into blue team
h - disguise into red team
b - announcement toggle: toggles whether you tell your teammates
    what you're disguised as each time you disguise
alt1-9 - changes you to class specified. 1=scout, 2=sniper etc.
         remember to change color first.


# engineer

weapon 1  - double shotgun
weapon 2  - laser gun
grenade 1 - grenade
grenade 2 - emp grenade
special   - engineer menu (not really necessary with these macros)

t - maintain sentrygun : do this facing a sentry gun, it'll try
    to upgrade, then repair, then give ammo twice to the gun
g - build/detonate dispenser : if a dispenser is built, the macro
    will detonate it, otherwise you'll build one
h - none
b - build/detonate sentry gun : if a gun is built, the macro
    will detonate it, otherwise you'll build one



>------------------------------------------- # revision history <

May 27 99
 - made it easier to set default fov and sensitivity
 - added hunted comm script
 - fixed a bug in demoman script
 - added long jump for hwguy and sniper
 - added netgraph toggle
May 18 99
 - changed primary weapon for engineer and medic to double shotgun
 - added hunted comm script
 - added name cycler to scroll through names
 
May 15 99
 - returned class dependent keys to binds because aliases mess up
   + commands like +reload
 - fixed engineering scripts (again)
 - fixed sniper keyboard zooming, now you can bind to
   zoomup/zoomdn
 - added keyboard detpack setting, now you can bind to detup/detdn
 
May 12 99
 - added secondary weapon reload for appropriate classes
 - made readme and moved revisions list here
 - removed some of class help
 - fixed minor engineer and soldier bugs
 - all class dependent keys can be set in autoexec w/o
   changing class files now
 - grammatical changes in map comm scripts
  
May 10 99
 - modified Corpo's Spy script to not rely on wait state
 - added beta concussion jump for scout and medic
 - fixed engineer script
 - added help for each class
 - added CZ2, Rock, Well comm script
  
May 7 99
 - ported code from Candle's TF script
 - modified demoman and sniper to use wheel to adjust
   detpack/snipe zoom
 - added timer wav file
 - added Corpo's spy scripts
 - added HL stuff like use, spray paint etc



>------------------------------------------------ # legal stuff <

# illusion TFC scripts all scripts copyright # illusion designs
1999 except rocket jump (public domain), qshot secondary
weapon, toggle fire chaingun/sniper, wheel control detpack
(all by Candle) and spy change class scripts (by Corpo).

this includes but is not limited to:
wheel sniper zoom control
secondary weapon reload
concussion jump script
map communication scripts

any of these scripts CAN be used in your own script as long as
recognition is given to the original authors.
