Home Celebrities Film/TV Gaming DIY NewsLetters

All of the console commands for Day of Infamy that you’ll need to know

All of the console commands for Day of Infamy that you’ll need to know

Day of Infamy: Instructions on How to Enable the Console

Day of Infamy uses the Source engine, thus if you played Half Life or Counter Strike, you should know how to activate console and input commands.

You may access the console by using the assigned key, which by default should be the tilde key (~) on the top left of your keyboard. If you haven’t used the console before or it’s been a while since you last did, you can begin by going to the game settings menu to activate the console. After that, you can enter the console by using the allocated key.

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.

Commands for the console used in Day of Infamy

The following is a complete list of all of the Day of Infamy console commands that are available to you.

god Player becomes invincible with unlimited HP.
impulse 101 Gives access to every weapon and all ammo.
kill Kills your character.
quit Exits game instantly.
give weapon_(name) Gives player the desired weapon.
skin-(skin name) Changes the player skin.
sv_clienttrace 999999999 Enables extreme auto-aim.
firstperson Viewpoint is set in first person perspective.
thirdperson Viewpoint 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.
motd Displays 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.

Day of Infamy’s console commands should be reset

If for whatever reason you wish to reset the console commands that you entered in, you can do so by opening up Windows Explorer and navigating to the folder located at: C:Program FilesReset Commands.Steamsteamappscommondayofinfamydoicfg

Find the file named config.cfg and delete it. This will cause all of your commands and settings to be cleared out and reset.

Create a backup in case you change your mind about what you want to do.