Use one of the following entries with the "tf_weapon_" code.
ac - Auto cannon
rpg - Rocket launcher
medikit - Medic kit
knife - Knife
supershotgun - Super shotgun
flamethrower - Flame thrower
railgun - Railgun
pl - Remote pipe bomb
gl - Grenade launcher
rl - Rocket launcher
tranq - Tranquilizer gun
spanner - Wrench
Shoot with crowbar
Use the following steps to use the crowbar to shoot bullets from the chaingun or flame from a pyro. Change your class to an HW or Pyro. Then, use up all your ammo from your chaingun or flamethrower. After wasting all the ammo, get out the crowbar and hold the "Right Mouse Button "(or whatever displays your special ability menu) and run over a pack of ammo. You should now be able to shoot with your crowbar.
Select crowbar, then select the weapon you want to shoot. Use all of the ammo and hold the button. While holding it, press Q twice. While still holding it, get a pack of ammo. Release the button and you will be able to shoot with your crowbar.
Dead scout sliding on the ground
Change your class to a scout. Go in the console, type "+reload", then go underwater in any level. Go in the console and type "kill". Wait for someone to get your pack, then you will be a zombie. To respawn again, go in the console and type "-reload". Note: This trick has been disabled in the latest versions of the game.
Change movement speed
This must be done on the server machine. Type "sv_cheats 1" at the console, then type "sv_friction" <number>.
This must be done on the server machine. Type "sv_cheats 1" at the console, then type "changelevel" <level name>.
This must be done on the server machine. Type "sv_cheats 1" at the console, then type "sv_gravity" <-9999-9999>.
Keep same number of rounds after switching weapons
Start a multi-player game and get the heavy weapons character. Have your Gatlin Gun ready and get ready to switch your gun. Have the gun that you want, ready then hold the "Left Mouse Button "for three seconds. You will hear the gun rotate. The gun you selected will have the same ammo that the other gun. This also gives you an extra 192 shots with the shotguns.