Difference between revisions of "General Config"

From The MegaTF/TeamFortress Wiki!
Jump to: navigation, search
(Created page with "==General Configuration== Useful commands you'll most likely put in your main config.cfg so that all classes access them. ==Some binds== *bind "key" discard // discards exce...")
 
(Some binds)
Line 3: Line 3:
 
Useful commands you'll most likely put in your main config.cfg so that all classes access them.
 
Useful commands you'll most likely put in your main config.cfg so that all classes access them.
  
==Some binds==
+
==Binding Commands==
 +
 
 +
To bind a key for any command, add it to the appropriate config as:
 +
 
 +
bind key command
 +
 
 +
Example:
 +
 
 +
bind mouse2 reload // assigns the mouse2 key to reload your current weapon
 +
 
 +
Commands Available for Scout
 +
<nowiki>
 +
+Gren1    Flash Grenade
 +
+Gren2    Concussion Grenade
 +
Drop1    Flash Mine
 +
Drop2    Toaster
 +
Drop3    Disarm Detpack
 +
Jetjump  A short burst with the jetpack. (aka "special")
 +
Scan10    Scans for nearby enemies.   
 +
Scan30    Scans for nearby enemies.   
 +
Scan100  Scans for nearby enemies.   
 +
</nowiki>
 +
 
 +
Commands Available for Sniper
 +
<nowiki>
 +
+Gren1    Regular Grenade
 +
+Gren2    Flare
 +
Drop1    Alarm (Notifies you that a enemy as tripped your alarm)
 +
Drop2    Toaster
 +
Drop3    Summon Airstrike
 +
+spot    Activate spotlight (only while rifle is primed, and laser sight is enabled)
 +
dot      Toggle laser sight while rifle is primed
 +
</nowiki>
 +
 
 +
Commands Available for Soldier
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands Available for Demoman
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands Available for Medic
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands Available for Heavy Weapons Guy
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands Available for Pyro
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands Available for Spy
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands Available for Engineer
 +
<nowiki>
 +
</nowiki>
 +
 
 +
Commands available to All Classes
 +
<nowiki>
 
*bind "key" discard // discards excess ammo
 
*bind "key" discard // discards excess ammo
 
*bind "key" drop2 //toaster is available to all classes
 
*bind "key" drop2 //toaster is available to all classes
Line 21: Line 84:
 
*autodiscard_on // enable auto discard of un-needed ammo. not recommended for engineer, will discard ammo needed for builds
 
*autodiscard_on // enable auto discard of un-needed ammo. not recommended for engineer, will discard ammo needed for builds
 
*autodiscard_off // disable auto discarding
 
*autodiscard_off // disable auto discarding
*any grenade script /binds, see [[Scripts#Grenade_Timer]]
+
</nowiki>
* etc. etc.
 

Revision as of 03:28, 2 March 2018

General Configuration

Useful commands you'll most likely put in your main config.cfg so that all classes access them.

Binding Commands

To bind a key for any command, add it to the appropriate config as:

bind key command

Example:

bind mouse2 reload // assigns the mouse2 key to reload your current weapon

Commands Available for Scout

+Gren1    Flash Grenade
+Gren2    Concussion Grenade
Drop1     Flash Mine
Drop2     Toaster
Drop3     Disarm Detpack
Jetjump   A short burst with the jetpack. (aka "special")
Scan10    Scans for nearby enemies.    
Scan30    Scans for nearby enemies.    
Scan100   Scans for nearby enemies.    

Commands Available for Sniper

+Gren1    Regular Grenade
+Gren2    Flare
Drop1    Alarm (Notifies you that a enemy as tripped your alarm)
Drop2    Toaster
Drop3    Summon Airstrike
+spot    Activate spotlight (only while rifle is primed, and laser sight is enabled)
dot      Toggle laser sight while rifle is primed

Commands Available for Soldier


Commands Available for Demoman


Commands Available for Medic


Commands Available for Heavy Weapons Guy


Commands Available for Pyro


Commands Available for Spy


Commands Available for Engineer


Commands available to All Classes

*bind "key" discard // discards excess ammo
*bind "key" drop2 //toaster is available to all classes
*bind "key" dropflag // drop the flag (older, can use throwflag now)
*bind "key" holo //place temporary holograph of self
*bind "key" inv // show item inventory in console
*bind "key" kill //commit suicide
*bind "key" lay // toggle laying/standing mode
*bind "key" mega // access mega tf menu
*bind "key" reload //reload weapon
*bind "key" +showscores //show scoreboard
*bind "key" say_ofstatus //teamsay status of our flag to team
*bind "key" say_efstatus //teamsay status of enemy flag to team
*bind "key" throwflag //throws the flag
*autoid_on // enable auto identification of players visible in crosshair
*autoid_off // disable auto identification of players visible in crosshair
*autodiscard_on // enable auto discard of un-needed ammo. not recommended for engineer, will discard ammo needed for builds
*autodiscard_off // disable auto discarding