Company of Heroes Console Commands: Codes for PC
- PC Add -dev to the game's Steam launch options, then press Ctrl+Shift+~ in a single-player match to open the console and type a command.
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 Andrew B.
No cheats match that filter.
Money and resources
| Cheat | Command | Effect |
|---|---|---|
| Add manpower | PCPlayer_SetResource(Game_GetLocalPlayer(),RT_Manpower, 9999) | Add manpower; replace 9999 with any amount |
| Add munitions | PCPlayer_SetResource(Game_GetLocalPlayer(),RT_Munition, 9999) | Add munitions; replace 9999 with any amount |
| Add fuel | PCPlayer_SetResource(Game_GetLocalPlayer(),RT_Fuel, 9999) | Add fuel; replace 9999 with any amount |
| Raise population cap | PCPlayer_SetPopCapOverride(Game_GetLocalPlayer(), 1000) | Raise your population cap; replace 1000 with any amount |
Map and vision
| Cheat | Command | Effect |
|---|---|---|
| Toggle fog of war | PCFOW_Toggle | Turn fog of war on or off |
| Reveal map | PCFOW_RevealAll | Reveal the whole map |
Debug and testing
| Cheat | Command | Effect |
|---|---|---|
| Big head mode on | PCee_bigheadmode(1) | Turn on big head mode |
| Big head mode off | PCee_bigheadmode(0) | Turn off big head mode |
| Set game speed | PCsetsimrate(#) | Adjust the game's simulation speed |
| Show frame rate | PCstatgraph_channel("fps") | Display the current frame rate |
| Hide taskbar | PCtaskbar_hide | Hide the Windows taskbar |
| Show taskbar | PCtaskbar_show | Show the Windows taskbar again |
| Restart match | PCrestart | Restart the current match |
| Quit match | PCabortgame | Quit the current match |
How to enter cheats
PC
- Right-click Company of Heroes in Steam, open Properties, and add -dev to the launch options.
- Start a single-player skirmish or campaign mission.
- Press Ctrl+Shift+~ to open the console.
- 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.
