Company of Heroes: Eastern Front

Author Topic: Ingame Console Commands  (Read 36524 times)

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Ingame Console Commands
« on: February 22, 2011, 11:07:29 PM »
As this topic is not discussed because you can find them all easily, i feel that gathering the information here could be useful. These commands are widely known, but certainly there are users that don't know about their existence(especially for taskbar_hide + game_hideui() combo... because helps a lot at the time of taking screenshots :)).

To open console press Ctrl+Shift+~, to close it you need to press the same combination of keys again. When you have the console open, the game won't stop unless you hit pause before entering to the console.

The allowed functions are the following:

ee_bigheadmode(1)           Big Head Mode, 1 for on, 0 for off
FOW_Toggle                  Toggles Fog of War on/off (still requires LoS for units)
FOW_RevealAll               Turns the Fog of War off properly
setsimrate(4)               Sets game speed (default is 8 )
taskbar_hide                Hides the taskbar
taskbar_show                Shows the taskbar
game_hideui()               Hides units icons, grenade timers, etc.
game_showui()               Shows units icons, grenade timers, etc.
restart                     Restarts the game
abortgame                   Quits the game
statgraph()                 Enables "statgraph_channel" codes
statgraph_channel("fps")    Displays the frames per second
Misc_SuperScreenshot()      Takes a screenshot without the taskbar, team colours or buttons visible,
                            even without the taskbar_hide command being used.
com_maxfps(X)               Set frames per seconds to X. X must be a positive numerical value.
wb_orphan_nuke_texture      For using on WorldBuilder. Removes all the textures left behind by
                            unselectable objects.


If you are using a non-english keyboard layout:

Use Ctrl+Shift+Ñ for spanish.
Use Strg+Umschalt+Ö or Strg+Umschalt+Ä for german.


Thanks to @Chancellor for sharing the game_hideui() parameter information and thanks to @Lethal Dosage from RelicNews Community for sharing his knowledge about this.

[Guide] LD's Guide to CoH for Dummies v2.6 (ToV info)
« Last Edit: May 06, 2011, 02:18:57 AM by blackbishop »
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

pariah

  • Guest
Re: Ingame Console Commands
« Reply #1 on: February 22, 2011, 11:34:10 PM »
Cool. Thanks for this, blackbishop. So this will work the same on German keyboards layouts?

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Ingame Console Commands
« Reply #2 on: February 22, 2011, 11:40:22 PM »
Cool. Thanks for this, blackbishop. So this will work the same on German keyboards layouts?
if your layout is like this:

try Ctrl+Shift+Ä or Ö :-\. If you can check it we can add each language combination we can :).
« Last Edit: February 22, 2011, 11:53:16 PM by blackbishop »
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

pariah

  • Guest
Re: Ingame Console Commands
« Reply #3 on: February 22, 2011, 11:44:54 PM »
Alright. I'll play around with it. Thanks.

Although my layout is set to German, i am still using an English keyboard, because nobody seems to want to ship a German keyboard to Australia... :'( >:(

Offline IJoe

  • Mr. Spam
  • *
  • Posts: 1025
  • Who controls the present controls the past.
    • View Profile
Re: Ingame Console Commands
« Reply #4 on: February 22, 2011, 11:46:52 PM »
Alright. I'll play around with it. Thanks.

Although my layout is set to German, i am still using an English keyboard, because nobody seems to want to ship a German keyboard to Australia... :'( >:(

Just use a water-proof marker. I'm serious, it helps.

If you want a picture of the future,
imagine a boot stamping on a human face
— forever.

pariah

  • Guest
Re: Ingame Console Commands
« Reply #5 on: February 22, 2011, 11:48:33 PM »
Aye, but it won't give me an extra key, will it? :(

Offline IJoe

  • Mr. Spam
  • *
  • Posts: 1025
  • Who controls the present controls the past.
    • View Profile
Re: Ingame Console Commands
« Reply #6 on: February 22, 2011, 11:51:47 PM »
Aye, but it won't give me an extra key, will it? :(

Whoa! WHOAH!!  :o :o
IT actually HAS AN EXTRA-KEY!!!
Sorry not to notice it at first  :-[

If you want a picture of the future,
imagine a boot stamping on a human face
— forever.

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Ingame Console Commands
« Reply #7 on: February 22, 2011, 11:53:36 PM »
Aye, but it won't give me an extra key, will it? :(

Whoa! WHOAH!!  :o :o
IT actually HAS AN EXTRA-KEY!!!
Sorry not to notice it at first  :-[
Picture changed xD. Usually standard keyboards have 101 or 102 keys :).
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

pariah

  • Guest
Re: Ingame Console Commands
« Reply #8 on: February 23, 2011, 12:40:45 AM »
And even then, it's still not enough...

Sorry it took so long, but my ZX-81 locked up again.  >:( It's 'Ö', anyway.

Offline firefox126

  • Ingenery
  • *
  • Posts: 23
    • View Profile
Re: Ingame Console Commands
« Reply #9 on: February 25, 2011, 10:24:25 AM »
what is the command to set the max fps rate ?
set max_fps or somthing ?
Real Russian power
barrel to barrel front to front (no flank post)
one IS2 tank
confirmed 3 kills without dieing
tiger tank (no veteran) status owned
tiger tank (lvl 1 veteran) status owned
king tiger tank (lvl 3 veteran) status owned
Thad all in one 3v3 match
That's real Russian power

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Ingame Console Commands
« Reply #10 on: February 25, 2011, 05:48:10 PM »
what is the command to set the max fps rate ?
set max_fps or somthing ?
Thanks, Added.
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

pariah

  • Guest
Re: Ingame Console Commands
« Reply #11 on: February 25, 2011, 06:09:59 PM »
I noticed you edited your post. It's actually Strg+Umschalt+Ö. Can't speak for the Spanish language though...

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Ingame Console Commands
« Reply #12 on: February 25, 2011, 06:25:37 PM »
I noticed you edited your post. It's actually Strg+Umschalt+Ö. Can't speak for the Spanish language though...
Ok, i modified the keys. I can assure you i can speak for the others ;)... at least that's what i think xD.
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Ingame Console Commands
« Reply #13 on: February 25, 2011, 08:46:19 PM »
May I add something for Worldbuilder?
Many mappers have problems with entities, that can't be removed because they are not selectable. This is how you solve your Problem:

- Open console as usual
- Point your cursor at the entity that is to be deleted
- Type "wb_orphan_nuke_entity" (without " "), then press enter.

Same is for textures that are left behind, for example the one that the German bunker leaves when it is deleted, just type this, again without " ":

- "wb_orphan_nuke_texture"

Have fun with it an I hope to make mappers life easier with this hint ;)


Errm and pariah.. Why do you use a keyboard with German layout?

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Blackbishop

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12053
  • Community Manager, Programmer and Kicker
    • View Profile
Re: Ingame Console Commands
« Reply #14 on: February 25, 2011, 09:20:03 PM »
@MaxiKing6
Ok, added.
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...