List of TF2 Classic exclusive commands

From TF2 Classic Wiki
Revision as of 08:55, 15 January 2023 by Japonezul 75 (talk | contribs)
Jump to navigation Jump to search

This article has a list of exclusive TF2 Classic console commands below. Using the Developer Console, you can turn specific gameplay and graphic settings on or off, or modify their values. The console can be enabled from the advanced menu in options. Any command put in the autoexec.cfg file will automatically be loaded on game launch.

These settings can also be put into the class-specific .cfg files in your tf2classic folder in order to create class-specific configurations.

List of commands

tf2c_ commands

Command Description Restrictions
tf2c_afterburn_damage <value> Modifies afterburn damage to a specified number. Set to 3 by default Server operator only
tf2c_afterburn_time <seconds> Modifies afterburn duration to a specified number of seconds. Set to 10 by default Server operator only
tf2c_airblast <0/1> Disables or enables airblast. Set to 1 by default Server operator only
tf2c_airblast_gracetime <value> Modified grace time for airblast. Set to 0.6 by default Server operator only
tf2c_airblast_players <0/1> Disables or enables the ability to airblast players. Set to 1 by default Server operator only
tf2c_allow_special_classes <0/1/2> If set to 0 (default) , playing Civilian outside of VIP is disabled. If set to 1, playing Civilian is enabled on any map. If set to 2, disguising as Civilian is enabled. Server operator only
tf2c_allow_thirdperson <0/1> Set to 0 by default. If enabled, it allows the players to switch to thirdperson by typing "tf2c_thirdperson 1" in the console Server operator only
tf2c_autojump <0/1> If turned on, while holding spacebar, the player will jump every time they touch the floor. Set to 0 by default Server operator only
tf2c_bot_random_loadouts <0/1> If turned on, bots are given a randomized loadout. Can be turned on and off when creating a server Server operator only
tf2c_boucing_rockets <0/1> If turned on, rockets get the ability to bounce off walls until they hit a target. WARNING! This command may cause crashes. Set to 0 by default Server operator only
tf2c_building_gun_mettle <0/1> If disabled, teleporters will cost 125 metal to build. Set to 1 by default Server operator only
tf2c_building_hauling <0/1> If disabled, it disables Engineer's ability to pick up his buildings. Set to 1 by default Server operator only
tf2c_building_sapper_awareness <0/1> When turned on, general audio is greatly lowered down for a few seconds to point out that your buildings are getting sapped. Can be enabled and disabled from options. Set to 0 by default None
tf2c_building_sapper_awareness_cooldown <value> Modifies cooldown for sapper awareness. Set to 45 by default None
tf2c_building_sapper_awareness_timeout <value> Max time for how long sapper awareness is active. Set to 42 by default None
tf2c_building_upgrades <0/1> If disabled, Engineer buildings cannot be upgraded at all. Set to 1 by default Server operator only
tf2c_bunnyjump_max_speed_factor <value> Multiplies the max speed a player can achieve from bunnyhopping based on their walk speed. Set to 1.2 by default Server operator only
tf2c_burning_deathanim <0/1> Disables or enables burning animations for players killed from Fire None
tf2c_cig_light <0/1> Set to 1 by default None
tf2c_classmenu_focus <0/1> Set to 1 by default None
tf2c_classmenu_jingle <0/1> Disables or enables class menu jingle. Set to 1 by default None
tf2c_classmenu_music <value> None
tf2c_coilgun_charge_time <value> Time required for the coilgun to fully charge Server operator only
tf2c_convert_nav_file Server operator only
tf2c_createserver_show_public_ip <0/1> Enables or disables the server to be shown in the server browser. Set to 0 by default Server operator only
tf2c_ctf_attacker_bonus <0/1> Set to 1 by default Server operator only
tf2c_ctf_attacker_bonus_dist <0/1> Set to 2048 by default Server operator only
tf2c_ctf_carry_slow <0/1> If turned on, the player carrying the flag gets slowed down. Set to 0 by default Server operator only
tf2c_ctf_carry_slow_blastjumps <0/1> If turned on, the ability of the player that carries the flag to blast jump gets slowed down. Set to 1 by default Server operator only
tf2c_ctf_carry_mult <value> Multiplies the max speed a player can move while carrying the flag. Set to 0.75 by default Server operator only
tf2c_ctf_reset_time_decay <value> Set to 0 by default Server operator only
tf2c_ctf_touch_return <0/1> If turned on, touching your team's flag will instantly return it back. Set to 0 by default Server operator only
tf2c_desaturate <value> Set to 0 by default sv_cheats 1 only
tf2c_desaturate_amount <value> Set to 0 by default sv_cheats 1 only
tf2c_dev_mark <value?> Set to 1 by default None
tf2c_disable_loser_taunting <0/1> If enabled, prevents players from the losing from taunting. Set to 0 by default Server operator only
tf2c_disable_player_shadows <0/1> Disables rendering of player shadows regardless of client's graphical settings. Set to 0 by default Server operator only
tf2c_disablefreezecam <0/1> Disables freezecam of every player from the server. Set to 0 by default Server operator only
tf2c_discord_show_map_info <0/1> Allows Discord to show what map you're playing on. Can be changed from Options. Set to 1 by default None
tf2c_discord_show_location <0/1/2> Allows Discord to show what you're currently doing. 0 = Disabled, 1 = Enabled, 2 = Enabled + Show Server Name. Can be changed from Options. Set to 2 by default None
tf2c_discord_show_player_info <0/1> Allows Discord to show what team you're on and what class you currently are. Can be changed from Options. Set to 1 by default None
tf2c_discord_swap_info <0/1> Swaps the icons around (gamemode icon to big, class icon to small). Can be changed from Options. Set to 0 by default None
tf2c_domination_override_pointlimit <value> Overrides the amount of points required to win a Domination round. Set to -1 by default (the level designer specified amount) Server operator only
tf2c_domination_uncap_factor <value> How much faster partially capped Domination CPs should lose progress. Set to 6 by default Server operator only
tf2c_duckjump <0/1> Toggles jumping while crouching. Set to 0 by default Server operator only
tf2c_ejectmag_collide <0/1> Determines whether ejected magazines can physically collide with other physics objects. Set to 0 by default None
tf2c_ejectmag_fade_maxtime <seconds> Determines the minimum ammount of time needed for the magazines start to fade out before disappearing. Set to 5 by default None
tf2c_ejectmag_fade_mintime <seconds> Determines the maximum ammount of time needed for the magazines start to fade out before disappearing. Set to 10 by default None
tf2c_ejectmag_max_count <value> Determines the maximum ammount of magazine models each player can have out before the oldest gets removed immediately. Set to 3 by default None
tf2c_falldamage_disable spread <0/1> Toggles random 20% fall damage spread. Set to 0 by default Server operator only
tf2c_flamethrower_wallslide <0/1> Determines whether flame entities slide along hit walls. Set to 1 by default Server operator only
tf2c_flush_downloads_on_dc <0/1> Flush all downloaded files on client disconnect. Set to 0 by default None
tf2c_flush_sprays_on_dc <0/1> Flush all sprays on client disconnect. Set to 0 by default None
tf2c_force_stock_weapons <0/1> Forces players to stock weapons only. Set to 0 by default Server operator only
tf2c_freezecammodel <0/1> Enables beta freezecam screenshot animation. Can be changed from Options. Set to 0 by default None
tf2c_grenadelauncher_old_maxammo <0/1> Increases Demoman's maximum Grenade Launcher reserve ammo from 16 to 30. Set to 0 by default None
tf2c_groundspeed_cap <value> Toggles the max speed cap imposed when a player is standing on the ground. Set to 1 by default Server operator only
tf2c_highlight_ammo <0/1> When enabled, dropped weapons (ammo packs) glow. Can be changed from Options. Set to 1 by default None
tf2c_homing_deflected_rockets <0/1> When enabled, reflected rockets target the closest target. Set to 0 by default Server operator only
tf2c_homing_rockets <0/1> Toggles homing rockets. Set to 0 by default Server operator only
tf2c_infinite_ammo <0/1> Toggles infinite ammo. Set to 0 by default Server operator only
tf2c_invisible_arms <0/1> Hides the arms used in the viewmodel. Can be changed from Options. Set to 0 by default None
tf2c_item_testing <0/1> Enables item testing features. Set to 0 by default Server operator only
tf2c_jumppad_height <value> Vertical force applied to jump pad users. Set to 700 by default Server operator only
tf2c_jumppad_speed <value> Horizontal speed applied to jump pad users. Set to 500 by default Server operator only
tf2c_latest_notification <0/1> Set to 0 by default None
tf2c_low_health_sound <0/1> Play a warning sound when player's health drops below the percentage set by tf2c_low_health_jingle_threshold. Set to 0 by default None
tf2c_low_health_sound <percentage> Low health warning threshold percentage. Set to 0.49 by default None
tf2c_mainmenu_friendslist_refreshrate <seconds> How fast the friends list automatically refreshes when it's visible. Set to 10 by default None
tf2c_mainmenu_music <0/1> Toggles main menu music. Can be toggled from the Main Menu. Set to 1 by default None
tf2c_mainmenu_reload Reloads the Main Menu. None
tf2c_mainmenu_music <0/1> Toggles main menu music. Can be toggled from the Main Menu. Set to 1 by default None
tf2c_mainmenu_showblog <0/1> Toggles the blog. Can be toggled from the Main Menu. Set to 1 by default None
tf2c_mainmenu_showfriendlist <0/1> Toggles the friend list. Can be toggled from the Main Menu. Set to 1 by default None
tf2c_mainmenu_showserverlist <0/1> Toggles the Official Servers list. Can be toggled from the Main Menu. Set to 1 by default None
tf2c_medigun_critboostable <0/1> Grants the medigun increased charge and heal rate under (mini)crits. Set to 1 by default Server operator only
tf2c_medigun_multi_uber_drain <0/1> Increases the medigun drain rate when charging multiple teammates. Set to 1 by default Server operator only
tf2c_medigun_setup_uber <0/1> Grants the medigun an increased charge rate during setup. Set to 1 by default Server operator only
tf2c_message_allert <0/1> Plays a sound when a chat message has been received. Set to 1 by default None
tf2c_message_volume <0/1> Alters the volume of the chat message sound. Set to 1 by default None
tf2c_model_muzzleflash <0/1> Enables the tf2 beta model based muzzleflash. Can be changed from Options. Set to 0 by default None
tf2c_music_cues <0/1> Enables musical cues triggered by certain in-game events. Can be changed from Options. Set to 1 by default None
tf2c_muzzlelight <0/1> Enable dynamic lights for muzzleflashes and the flamethrower. Can be changed from Options. Set to 0 by default None
tf2c_nemesis_relationships <0/1> Enable domination/revenge system. Set to 1 by default Server operator only
tf2c_pistol_old_firerate <0/1> Restore old semi-automatic pistol behavior. Set to 0 by default Server operator only
tf2c_projectile_ally_collide <0/1> Toggles projectile collision with teammates. Set to 0 by default Server operator only
tf2c_pumpkin_loot_drop_rate <percentage> Sets drop percentage for pumpkin loot on Halloween maps. Set to 0.3 by default Server operator only
tf2c_randomizer <0/1/2/3/4/5/6/7> Enables Randomizer Mode, players will spawn with random classes and/or loadouts and/or attributes (0 = Disabled, 1 = Classes, 2 = Items, 3 = Classes + Items, 4 = Attributes, 5 = Classes + Attributes, 6 = Items + Attributes, 7 = Classes + Items + Attributes). Set to 0 by default Server operator only
tf2c_randomizer_script <cfg> Script file that Randomizer Mode will load its data from. Set to cfg/randomizer.cfg by default Server operator only
tf2c_rocketlauncher_old_maxammo <0/1> Increases Soldier's maximum Rocket Launcher reserve ammo from 20 to 36. Set to 0 by default Server operator only