Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!
Commands List
Command | Description | More | Syntax |
---|---|---|---|
execifexists | This command will execute the specified script file, if it exists. This prevents errors that occur with the exec command when the specified exec file does not exist. |
Examples, Generator & More | execifexists
<File Name>
|
explode | This command will kill your player, but with explosive damage, as opposed to normal damage. |
Examples, Generator & More | explode
|
explodevector | This command will kill a player by applying an explosive force, relative to the player's location and the specfied X, Y and Z coordinates. |
Examples, Generator & More | explodevector
<Player Name><X><Y><Z>
|
fadein | This command will fade your client in. You can optionally specify a duration (seconds) and an RGB value for the color of the screen it fades in from. |
Examples, Generator & More | fadein
<Duration><R G B>
|
fadeout | This command will fade your client out. You can optionally specify a duration (seconds) and an RGB value for the color of the screen it fades out to. |
Examples, Generator & More | fadeout
<Duration><R G B>
|
ff_damage_bullet_penetration | This command sets the multiplier for bullet penetration in friendly fire. Default is 0. If set to the maximum value (1), bullets will have no penetration power. |
Examples, Generator & More | ff_damage_bullet_penetration
|
ff_damage_reduction_bullets | This command sets the multiplier for bullet damage made to friendly teammates. The amount of normal damage is multiplied by this number. So if you set this to 0.5 and your bullet would've done 20 damage, it'd be 20 * 0.5, which would mean only 10 damage is done in friendly fire. Setting this to 0 would mean bullets do 0 damage to friendly teammates. Note that this command only has an effect when friendly fire is enabled. |
Examples, Generator & More | ff_damage_reduction_bullets
<Multiplier>
|
ff_damage_reduction_grenade | This command sets the multiplier for grenade damage from friendly fire. If set to 1, damage would be the same, if set to 0, there would be no damage from grenades thrown by teammates. Note that this command only has an effect when friendly fire is enabled. |
Examples, Generator & More | ff_damage_reduction_grenade
<Multiplier>
|
ff_damage_reduction_grenade_self | This command sets the multiplier for grenade damage from grenades thrown by yourself. Note that this command only has an effect when friendly fire is enabled. |
Examples, Generator & More | ff_damage_reduction_grenade_self
<Multiplier>
|
ff_damage_reduction_other | This command sets the multiplier for friendly fire damage made to teammates from things that aren't bullets and grenades. Note that this command only has an effect when friendly fire is enabled. |
Examples, Generator & More | ff_damage_reduction_other
<Multiplier>
|
find | This command will list all commands that contain the specified text in either their name or description. |
Examples, Generator & More | find
<Search Text>
|
findflags | This command will list commands that have the specified flag. |
Examples, Generator & More | findflags
<Flag>
|
firetarget | This command will fire your target (the entity under your crosshair). |
Examples, Generator & More | firetarget
|
firstperson | This command will enable first person mode (provided you are not already in first person mode). |
Examples, Generator & More | firstperson
|
fish_debug | This command will show debug information for fish if set to 1. The default value is 0 (disabled). |
Examples, Generator & More | fish_debug
<0 / 1>
|
fish_dormant | This command will disable all fish behaviour if set to 1 (i.e. making them dormant). By default, this setting is set to 0 (fish are not dormant). |
Examples, Generator & More | fish_dormant
<0 / 1>
|
fog_color | This command sets the color of fog, if enabled. The value provided should be an RGB value (separated by spaces). |
Examples, Generator & More | fog_color
<R><G><B>
|
fog_colorskybox | This command sets the color of the fog skybox, if fog is enabled. An RGB value separated with spaces should be provided. |
Examples, Generator & More | fog_colorskybox
<R><G><B>
|
fog_enable | This command enables fog if set to 1. Note that you will need to set fog_override to 1 if your map's settings disable fog. |
Examples, Generator & More | fog_enable
<0 / 1>
|
fog_enableskybox | This command will enable (1, default) whether or not fog should be applied to the skybox. |
Examples, Generator & More | fog_enableskybox
<0 / 1>
|