List of TF2 Classic exclusive commands

From TF2 Classic Wiki
Revision as of 11:43, 29 October 2024 by VivaRomania (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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_aagun_forgiveness <0/1> Adjusts bullet explosion position to match target on direct hit. Set to 1 by default Server operator only
tf2c_achievement_mode <0/1/2> - 0 - default achievement gain behavior. 1 - achievements enabled even with cheats or randomizer on. 2 - achievements disabled Server operator only
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_airdash_disable <0/1> Disables Scout's doublejump. Set to 0 by default Server operator only
tf2c_allow_maptime_reset <0/1> If disabled, map time will not reset due to mp_restartgame, scramble, or waiting for 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_ammobucket <0/1> Shows weapon bucket in the ammo section. 1 = ON, 0 = OFF. client
tf2c_arena_drop_healthkit_on_death <0/1> If enabled, players will drop health packs that only heal their killer's team. Set to 1 by default Server operato only
tf2c_arena_swap_teams <0/1> If enabled, teams will be swapped every round on arena mode. Set to 0 by default Server operato only
tf2c_avoid_becoming_vip <0/1> If set, player won't be picked at random as a VIP unless no other candidate is left. Can still be picked by a vote. Set to 0 by default client
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_boioing <0/1> Enable boioing and stomp client-side commands for ragdolls. Set to 1 by default None
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_bot_random_loadouts_debug Show debug info about random bot items & items with tag bots_cant_use sv_cheats 1 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> Toggles Engineer's hauling move speed, construction, deploy speed for certain buildings, building costs, and minigun resistance. 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_sharing <0/1> Toggles the ability for enemy teams to use Engineer's support buildings. Set to 0 by default Server operator only
tf2c_building_upgrades <0/1> If disabled, Engineer buildings cannot be upgraded at all. Set to 1 by default Server operator only
tf2c_bullets_pass_teammates <0/1> If set to 1, all ranged hitscan will pass through teammates. If set to 0 - only sniper rifle weapon type shots. 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> Enables dynamic light for Spy's cigarette. Set to 1 by default None
tf2c_classmenu_focus <0/1> Allows others to see what your current team and class is. Set to 1 by default None
tf2c_classmenu_jingle <0/1/2> Plays a specific jingle when you're in the class selection menu. 0 = Disabled, 1 = Enabled, 2 = Enabled + Gamemode Specific. Can be changed from Options. Set to 2 by default None
tf2c_classmenu_music <value> Plays a looping piece of music when you're in the class selection menu. 0 = Disabled, 1 = Enabled, 2 = Enabled + Gamemode Specific. Can be changed from Options. Set to 2 by default None
tf2c_coilgun_charge_time <value> Time required for the coilgun to fully charge Server operator only
tf2c_convert_nav_file Turns a live TF2 .nav into a TF2C-compatible .nav 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> Makes it so you respawn faster if you are tf2c_ctf_attacker_bonus_dist away from your own flag base. Set to 1 by default Server operator only
tf2c_ctf_attacker_bonus_dist <value> 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> Makes it so a dropped flag's reset timer is shorter the longer it's held, instead of always resetting to the full timer. 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_proximity_voice <0/1> Toggles voice chat proximity on yourself. Can be chaged from Options. Set to 0 by default None
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
tf2c_sandvich_old <0/1> Enables the old sandvich mechanics, which allow the Heavy to eat the sanvich infinitely, but only healing him 120 hp. Set to 1 by default Server operator only
tf2c_send_error_reports <-1/0/1> Enables/disables sending error reports to Team Fortress 2 Classic developers to help improve the game. Error reports will include your SteamID, and any pertinent game info (class, loadout, current map, etc.). Any personally identifiable information won't be stored. Read more at tf2classic.com/privacy. -1 asks you again on game boot and disables reporting, 0 disables reporting and does not ask you again, 1 enables reporting. Set to -1 by default None
tf2c_show_status_effect_icons <0/1> Shows status effect icons near the player's health. Set to 1 by default None
tf2c_spec_playerinfo Shows some information about the spectated player. None
tf2c_spy_cloak_ammo_refill <0/1> Allows Spy to re-fill his cloak charge from ammo pickups. Set to 1 by default Server operator only
tf2c_spy_gun_mettle <0/1> Toggles Spy's higher move speed, debuff reduction while cloaked, and damage to sapped Sentries. Set to 0 by default Server operator only
tf2c_ssao_samples <value> Command does nothing in the current version of TF2C Server operator only
tf2c_sticky_rampup_mindmg <value> Initial stickybomb damage factor. Set to 1 by default Server operator only
tf2c_sticky_rampup_minradius <value> Initial stickybomb radius factor. Set to 0.85 by default Server operator only
tf2c_sticky_rampup_time <value> Seconds after arm time to ramp up to full damage. Set to 0.85 by default Server operator only
tf2c_sticky_touch_fix <0/1/2> 0 = off, 1 = stickybombs attach to static func_brush and func_breakable, 2 = also attach to static func_door. Set to 1 by default Server operator only
tf2c_stickylauncher_old_maxammo <0/1> Increases Demoman's maximum Stickybomb Launcher reserve ammo from 24 to 40. Set to 0 by default. Server operator only
tf2c_streamer_mode <0/1> Enabling Streamer mode will mute text chat and will anonymize every player from the server. Can be activated from Options. Set to 0 by default. None
tf2c_stunned_taunting <0/1> Allows taunting while stunned. Set to 0 by default. Server operator only
tf2c_thirdperson <0/1> Enables thirdperson, if tf2c_allow_thirdperson" is enabled. Can be changed from Options. Set to 0 by default. None
tf2c_tournament_classlimits <0/1> Use Tournament class limits outside of Tournament mode. Set to 0 by default. Server operator only
tf2c_version <0/1> Shows current game version. None
tf2c_viewbob <0/1> Enables HL1-like camera motions such as head bobbing, sideways roll and idle camera sway. Set to 0 by default. None
tf2c_viewbob_bob <value> Set to 0.01 by default. None
tf2c_viewbob_bobcycle <value> Set to 0.8 by default. None
tf2c_viewbob_bobup <value> Set to 0.5 by default. None
tf2c_viewbob_ipitch_cycle <value> Set to 1 by default. None
tf2c_viewbob_ipitch_level <value> Set to 0.3 by default. None
tf2c_viewbob_iroll_cycle <value> Set to 0.5 by default. None
tf2c_viewbob_iroll_level <value> Set to 0.1 by default. None
tf2c_viewbob_iyaw_cycle <value> Set to 2 by default. None
tf2c_viewbob_iyaw_level <value> Set to 0.3 by default. None
tf2c_vip_abilities <0/1/2/3> Abilities the VIP can use (0 = Disabled, 1 = Resistance Buff, 2 = Damage Boost, 3 = Resistance Buff + Damage Boost). Set to 3 by default. Server operator only
tf2c_vip_armour <value> Multiplies damage taken under Civilian's morale boost by this much. Set to 0.8 by default. Server operator only
tf2c_vip_bonus_time <seconds> Determines the lenght of crit time for the VIP killer. Set to 5 by default. Server operator only
tf2c_vip_boost_cooldown <seconds> Determines the boost cooldown for the VIP himself. Set to 20 by default. Server operator only
tf2c_vip_boost_time <seconds> Determines the length of boost time for VIP's target. Set to 10 by default. Server operator only
tf2c_vip_criticals <0/1> Toggles random crits in VIP. Set to 0 by default. Server operator only
tf2c_vip_idlemaxtime <seconds> Determines the maximum time a VIP is allowed to be idle (in seconds). Set to 20 by default. Server operator only
tf2c_vip_roundlimit <value> Teams will be scrambled if one team reaches this streak. Set to 3 by default. Server operator only
tf2c_vip_tutorials_viewed <value> Determines how many times the tutorial annotation has appeared for the VIP mode. Set to 0 by default. None
tf2c_vote_issue_change_civilian_allowed <0/1> Toggles the ability to change the VIP via vote menu. Set to 1 by default. Server operator only
tf2c_vote_issue_change_civilian_teleport <0/1> Keeps the VIP position instead of resetting it to spawn. Set to 1 by default. Server operator only
tf2c_weapon_no_reload <0/1> Enables infinite clip on all weapons. Set to 0 by default. Server operator only
tf2c_zoom_hold_sniper <0/1> Enables holding to zoom on Sniper. Set to 0 by default. None