Company of Heroes Console Commands: Codes for PC

Codes last checked on against the sources listed at the bottom of this page. Covers the original Company of Heroes (2006) on PC.

Published by

Money and resources

CheatCommandEffect
Add manpowerPCPlayer_SetResource(Game_GetLocalPlayer(),RT_Manpower, 9999)Add manpower; replace 9999 with any amount
Add munitionsPCPlayer_SetResource(Game_GetLocalPlayer(),RT_Munition, 9999)Add munitions; replace 9999 with any amount
Add fuelPCPlayer_SetResource(Game_GetLocalPlayer(),RT_Fuel, 9999)Add fuel; replace 9999 with any amount
Raise population capPCPlayer_SetPopCapOverride(Game_GetLocalPlayer(), 1000)Raise your population cap; replace 1000 with any amount

Map and vision

CheatCommandEffect
Toggle fog of warPCFOW_ToggleTurn fog of war on or off
Reveal mapPCFOW_RevealAllReveal the whole map

Debug and testing

CheatCommandEffect
Big head mode onPCee_bigheadmode(1)Turn on big head mode
Big head mode offPCee_bigheadmode(0)Turn off big head mode
Set game speedPCsetsimrate(#)Adjust the game's simulation speed
Show frame ratePCstatgraph_channel("fps")Display the current frame rate
Hide taskbarPCtaskbar_hideHide the Windows taskbar
Show taskbarPCtaskbar_showShow the Windows taskbar again
Restart matchPCrestartRestart the current match
Quit matchPCabortgameQuit the current match

How to enter cheats

PC

  1. Right-click Company of Heroes in Steam, open Properties, and add -dev to the launch options.
  2. Start a single-player skirmish or campaign mission.
  3. Press Ctrl+Shift+~ to open the console.
  4. Type the command exactly as shown and press Enter.

FAQ

Is there a resource cheat in Company of Heroes?

Yes. Player_SetResource commands add manpower, munitions or fuel, and you can swap in any amount you want.

How do you open the console in Company of Heroes?

Add -dev to the game's Steam launch options, start a single-player match, then press Ctrl+Shift+~.

Do Company of Heroes console commands work in multiplayer?

No. They only work in single-player and can desync or ruin online matches.

How do you reveal the whole map in Company of Heroes?

Type FOW_RevealAll to reveal the map, or FOW_Toggle to switch fog of war on and off.

How do you raise the population cap in Company of Heroes?

Type Player_SetPopCapOverride(Game_GetLocalPlayer(), 1000), swapping in whatever cap number you want.

Part of

References: Steam Community Guide: How to use console commands on Company of Heroes; CheatBook: Company of Heroes cheats.