
Teamplay Communications


------------------------------
cl_triggers (0/1) [default: 1]
------------------------------
then special aliases can be executed, or triggered, when something happens. Determines
whether special aliases can be executed/triggered when something happens during team 
games (ie. TDM & CTF & DOM).
0 = Off
1 = On

-----------------------------------
tp_forceTriggers (0/1) [default: 0]
-----------------------------------
Controls whether f_took, f_death etc are forced to execute even if the game isn't a team game.
0 = Off
1 = On

----------------------------------
tp_took [default: default]
----------------------------------
Customizes the f_took trigger. 
Item can be: quad, pent, ring, suit, ra, ya, ga, mh, health, lg, 
rl, gl, sng, ng, ssg, pack, cells, rockets, nails, shells, flag, 
armor, weapons, powerups, ammo, all, default, none 
Item names can be customized with tp_name_item 
Examples: 
tp_took powerups ra ya lg rl mh flag (same as "default") 
tp_took all -ammo (report everything but ammo) 
tp_took +gl (add grenade launcher to pickup list) 
f_took "say_team2 took %i" 

----------------------------------
tp_weaponorder [default: 867453210]
----------------------------------
This allows you to define the order from best to worst weapon. The default value
is "867453210", which means that the BFG is the best weapon (weapon 8)
then Rail Gun (weapon 6), Plasma Gun (weapon 7), Rocket Launcher
(weapon 4), Lightning Gun (weapon 5), Grenade Launcher (weapon 3), Super Shotgun (weapon 2), Machine Gun (weapon 1),
Gauntlet (weapon 0).


Triggers


PQR Mod execute f_* aliases at some situtation: 

f_death 
When you die. 

f_flagdeath 
When you die with the flag. Usually in TF or CTF mod. 

f_mapend 
When a map ends and the final scoreboard is displayed. 

f_newmap 
When you connect to a server for a first time, or when the map on the server changes. 

f_respawn 
When you respawn after having been killed. 

f_spawn 
When you first spawn on a map. This happens after f_newmap. 

f_took 
When you take an item in tp_took (see tp_took). 

f_weaponchange 
When you change your current weapon.

-------------
say_team2 
-------------
Broadcasts a string to teammates. You can use macro %-codes
Example: say_team2 taken %i


Macro %-Codes


%a = Amount of armor
%A = Same as %a, but adds glowing braces if armor is low.
%b = Best weapon and amount of best weapon ammo. 
%d = Location of last death. 
%e = Number of enemies in your vicinity. Hidden for you. 
%E = Same as %e, but remembers the situtation 5seconds after death. 
%h = Health.
%H = Same as %h, but adds glowing braces if health is low 
%i = Name and location of item you last picked up. 
%j = Name and location of item you last pointed. 
%k = Name and location of item you last picked up or pointed to. 
%l = Nearest location
%L = Same as %l, but remembers the situation 5 seconds after death. 
%m = %k if less than 5 secs ago, nearest item otherwise. 
%M = Current min.
%o = Number of teammates in vicinity. Hidden for you. 
%O = Same as %o, but remember the situtation 5seconds after death. 
%p = Powerups you have (quad, bs, regeneration, flight, haste). 
%P = Same as %p, but adds glowing braces if you have a powerup. 
%q = Powerups of last seen enemy (default: quad). 
%r = Last reported location (%l). 
%s = This reports the status of how many teammates and enemies are in your vicinity 
as a LED: if there are no enemies in vicinity then greenled. if %e <= %o then yellowled. 
%S = current sec.
if %e > %o then redled.
%t = Name and location of object you are looking at.
%T = Current time min:sec
%u = What you need. 
%w = Current weapon and ammo. 
%x = Name of object you are looking at, same as $point. 
%X = Name of item you last picked up, same as $took 
%y = Location of object you are looking at, same as $pointloc 
%Y = Location of item you last picked up, same as $tookloc


Item Names


--------------------
tp_name_*
--------------------
Customizes item name.
tp_name_gn
tp_name_mg
tp_name_ssg
tp_name_gl
tp_name_rl
tp_name_lg
tp_name_rg
tp_name_pg
tp_name_bfg
tp_name_ammo_mg
tp_name_ammo_ssg
tp_name_ammo_gl
tp_name_ammo_rl
tp_name_ammo_lg
tp_name_ammo_rg
tp_name_ammo_pg
tp_name_ammo_bfg
tp_name_shard
tp_name_ya
tp_name_ra
tp_name_health_5
tp_name_health_25
tp_name_health_50
tp_name_health_100
tp_name_regeneration
tp_name_battlesuit
tp_name_haste
tp_name_quad
tp_name_flight
tp_name_invisibility
tp_name_health
tp_name_armor
tp_name_weapon
tp_name_at
tp_name_nothing


Item Need Amounts


--------------------
tp_need_*
--------------------
Customizes the %u macro.
tp_need_rg
tp_need_weapon
tp_need_armor
tp_need_health
tp_need_ammo_mg
tp_need_ammo_ssg
tp_need_ammo_gl
tp_need_ammo_rl
tp_need_ammo_lg
tp_need_ammo_rg
tp_need_ammo_pg
tp_need_ammo_bfg