All the Day of Infamy console commands you’ll need

Day Of Infamy Console Commands

How to enable console in Day of Infamy

Day of Infamy runs on the Source engine so if you’ve played Half Life or Counter Strike you should be familiar with how to enable console and input commands.

If you haven’t or it’s been a while since you’ve used the console, you can start by heading over to game options to first enable the console, then you can access the console by using the assigned key, by default this should be the tilde key (~) on the top left of your keyboard.

Open up your console and type sv_cheats 1. This will allow you to input the commands below. If you don’t they will not work. For most commands you have the option of typing 1 after it to enable it or 0 after it to disable it.

All Day of Infamy console commands

This is a list of all Day of Infamy console commands that you can use.

CommandWhat it does
godPlayer becomes invincible with unlimited HP.
impulse 101Gives access to every weapon and all ammo.
killKills your character.
quitExits game instantly.
give weapon_(name)Gives player the desired weapon.
skin-(skin name)Changes the player skin.
sv_clienttrace 999999999Enables extreme auto-aim.
firstpersonViewpoint is set in first person perspective.
thirdpersonViewpoint is set in third person perspective.
fastsprites (0-2)Sets the complexity of smoke sprites. 0 looks the best.
max_shells (0-999)Sets the maximum number of shells allowed at one time.
max_smokepuffs (0-999)Sets maximum number of smokepuffs allowed at one time.
sv_gravity (number)Changes the gravity. Try using negative values.
mp_footsteps (0-1)Toggles footsteps. 1 is on,0 is off.
viewsize (value)Resizes pixels.
brightness (1-3)Sets the brightness. 1 is the darkest while 3 is the brightest.
gamma (1-3)Sets gamma correction. Warning: may require a restart.
fps_override (0-1)Allows you to override default fps with your own.
fps_max (0-999)Sets the maximum framerate.
rate (0-20000)Sets how much data you receive from a server.
motdDisplays server’s message of the day.
say (message)Let’s you type a message through console, plus you can copy and paste a message.
say_team (message)Allows you to send a team message through console, plus you can copy and paste a message.
cl_forwardspeed, cl_backspeed, cl_sidespeed (number)Increase or decrease player speed.
cl_dynamiccrosshair (0-1)Sets crosshair movement when moving. 0 is off,1 is on.
cl_allowdownload (0-1) 1 allows you to download custom server content,0 doesn’t.
cl_dlmax (value) How fast you download in-game.
cl_crosshair_color (value,value,value)Allows you to change the color of your crosshair.
cl_lefthand,righthand (0-1) Changes weapon alignment. 1 is on,0 is off.
cl_nosmooth “1”
cl_vsmoothing “0”
cl_smoothtime “0”Makes players look choppy but shows actual positions instead of estimated.
cl_radartype (0-1)Changes radar from transparent to solid. 0 is transparent, 1 is solid.
cl_minmodels (0-1)0 is default while 1 makes each team only use one model. Great for beginning players.
cl_weather (0-3)Sets weather quality. 0 is off, 3 is highest quality.
cl_cmdrate (0-105)Number of data you send to the server.
cl_cmdbackup (0-10)Number of data that is buffered for server.
cl_updaterate (0-102)How many server update data you receive.
gl_cull (0-1)Toggles rendering of visible objects only. 1 is on while 0 is off.
gl_spriteblend (0-1) Toggles sprite blending. 1 is on, 0 is off.
gl_smoothmodels (0-1)Toggles model smoothing. 1 is on, 0 is off.
gl_ansio (0-16)Sets value of anisotropic filtering.
gl_vsync (0-1)Toggles video syncing. 0 is off,1 is on.
hisound (0-1)Toggles high sound quality. 0 is low quality, while 1 is high quality.
hud_fastswitch (0-1)Toggles fast weapon switching. 1 is on, 0 is off.
hud_deathnotice_time (value)Sets how long death messages stay on screen.
hud_saytext_time (value)Sets how long chat messages stay on screen. Spammers beware!
hud_drawhistory_time (value)How long hud items stay on screen.
hud_centerid (0-1) Centers player id's. 1 is on,0 is off.
m_filter (0-1) Toggles mouse filtering. 1 is on,0 is off.
m_rawinput (0-1)Toggles raw mouse reading.
m_customaccel “0”
m_customaccel_exponent “0”
m_customaccel_max “0”
m_customaccel_scale “0”Turns off mouse acceleration.
r_drawviewmodel (0-1)Toggles weapon model viewing. 0 is off, 1 is on.
r_dynamic (0-1)Toggles dynamic lighting. 0 is off,1 is on.
snd_noextraupdate (0-1)Disables extra sound updates. 0 is off,1 is on.
bgmvolume (0-1)Toggles CD audio on or off. 0 is off, 1 is on.

Reset console commands in Day of Infamy

If for whatever reason you want to reset the console commands you typed in you can do so by opening up Windows Explorer and going to the folder at: C:Program FilesSteamsteamappscommondayofinfamydoicfg

Find the delete config.cfg file and your commands will be reset along with your settings.

Make a backup just in case you change your mind.