Since its inception, the fervor surrounding Day of Infamy remains unabated. This article from Mytour provides instructions on activating the console and employing console commands within Day of Infamy.
Essential Console Commands in Day of Infamy
Pro Tip: If you haven't installed Day of Infamy yet, you can access it here to download and install the game on your machine.
1. Activating Console in Day of Infamy
Day of Infamy runs on the Source Engine, similar to other games like Half Life or Counter Strike.
If you've never used a console before, the first step you need to take is to activate the device and use the keys, defaulting to the (-) key located in the top left corner of the keyboard to access the console.
Open the console and type sv_cheats 1 to activate and run the commands that Mytour will introduce in the next section below. To deactivate, turn off the console by running a similar command, but replace 1 with 0.
2. Console Commands in Day of Infamy
Below is a list of all console commands in Day of Infamy:
- Command god: makes the player invincible with unlimited HP.
- impulse 101: grants access to all weapons and ammo.
- kill: kills your character.
- Exit: exits the game immediately.
- give weapon_(name): gives the player the desired weapon.
- skin-(skin name): changes the player's skin.
- sv_clienttrace 999999999: activates Auto-Aim mode.
- firstperson: Sets the viewpoint to first-person player.- Enable third-person perspective:- Adjusts sprite rendering speed (0-2):- Sets the maximum number of shells (0-999):- Sets the maximum number of smoke puffs (0-999):- Set gravity (number):- Toggle footsteps sound (0-1):
- viewsize (value): changes pixel size.
- brightness (1-3): adjust brightness. Where 1 is darkest, 3 is brightest.
- gamma (1-3): set gamma. Note, this command requires game restart.
- fps_override (0-1): allows framerate override.
- fps_max (0-999): set maximum framerate.
- rate (0-20000): set amount of data you receive from server.
- motd: display server message of the day.
- say (message): input your message through console, or can copy and paste message.
- say_team (message): allows sending team message through console.
- cl_forwardspeed, cl_backspeed, cl_sidespeed (number): increase or decrease player speed.
- cl_dynamiccrosshair (0-1): set crosshair when moving, 0 disables and 1 enables.
- cl_allowdownload (0-1): value 1 allows downloading custom server content, 0 disallows.
- cl_dlmax (value): game download speed.
- cl_crosshair_color (value,value,value): change crosshair color.
- cl_lefthand,righthand (0-1): change gun hand, 1 enables and 0 disables.
- cl_radartype (0-1): change radar from transparent to solid. 0 is transparent and 1 is solid.
- cl_weather (0-3): adjust weather, 0 is off, 3 is highest value.
- cl_cmdrate (0-105): amount of data you send to server.
- cl_cmdbackup (0-10): amount of buffered data sent to server.
- cl_updaterate (0-102): amount of server update data you receive.
- gl_cull (0-1): display visible objects. 1 is enable and 0 is disable.
- gl_ansio (0-16): set nisotropic filtering value.
- gl_vsync (0-1): video synchronization. 1 is on and 0 is off.
- hisound (0-1): change sound quality. 0 is low sound quality and 1 is high sound quality.
- hud_deathnotice_time (value): set time for death notices to display on screen.
- hud_saytext_time (value): set time for chat messages to display on screen.
- m_filter (0-1): toggle mouse filter, 0 is off and 1 is on.
- m_customaccel_scale '0': turn off mouse acceleration.
- r_dynamic (0-1): toggle dynamic lighting mod. 1 is on and 0 is off.
- snd_noextraupdate (0-1): disable additional sound updates. 0 is off and 1 is on.
- bgmvolume (0-1): toggle CD sound, 0 is off and 1 is on.
3. Reset Console Commands in Day of Infamy
Suppose for whatever reason you want to reset the console commands you've entered, simply open Windows Explorer and navigate to the directory at C:\Program Files\Steam\steamapps\common\dayofinfamy\doi\cfg.
Find and delete the file config.cfg. The commands will be reset.
In this article, Mytour just introduced you to the console commands in Day of Infamy. Additionally, you can also refer to commands in other games like Half Life commands for more exciting experiences with this legendary game.