Company of Heroes: Eastern Front

Eastern Front Mod (Read-Only) => Bugs & Tech Support => Topic started by: Blackbishop on February 22, 2011, 11:07:29 PM

Title: Ingame Console Commands
Post by: Blackbishop 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) (http://forums.relicnews.com/showthread.php?165976-Guide-LD-s-Guide-to-CoH-for-Dummies-v2.6-%28ToV-info%29)
Title: Re: Ingame Console Commands
Post by: pariah on February 22, 2011, 11:34:10 PM
Cool. Thanks for this, blackbishop. So this will work the same on German keyboards layouts?
Title: Re: Ingame Console Commands
Post by: Blackbishop 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:
(http://lgwm.org/lgwm/images/PC_GermanKeyboard_Make_large.gif) (http://lgwm.org/lgwm/images/PC_GermanKeyboard_Make_large.gif)
try Ctrl+Shift+Ä or Ö :-\. If you can check it we can add each language combination we can :).
Title: Re: Ingame Console Commands
Post by: pariah 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... :'( >:(
Title: Re: Ingame Console Commands
Post by: IJoe 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.
Title: Re: Ingame Console Commands
Post by: pariah on February 22, 2011, 11:48:33 PM
Aye, but it won't give me an extra key, will it? :(
Title: Re: Ingame Console Commands
Post by: IJoe 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  :-[
Title: Re: Ingame Console Commands
Post by: Blackbishop 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 :).
Title: Re: Ingame Console Commands
Post by: pariah 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.
Title: Re: Ingame Console Commands
Post by: firefox126 on February 25, 2011, 10:24:25 AM
what is the command to set the max fps rate ?
set max_fps or somthing ?
Title: Re: Ingame Console Commands
Post by: Blackbishop 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.
Title: Re: Ingame Console Commands
Post by: pariah 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...
Title: Re: Ingame Console Commands
Post by: Blackbishop 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.
Title: Re: Ingame Console Commands
Post by: Max 'DonXavi' von B. 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?
Title: Re: Ingame Console Commands
Post by: Blackbishop on February 25, 2011, 09:20:03 PM
@MaxiKing6
Ok, added.
Title: Re: Ingame Console Commands
Post by: pariah on February 25, 2011, 11:35:32 PM
Errm and pariah.. Why do you use a keyboard with German layout?
Ich weiß nicht... ;)
Title: Re: Ingame Console Commands
Post by: Max 'DonXavi' von B. on February 25, 2011, 11:48:12 PM
Errm and pariah.. Why do you use a keyboard with German layout?
Ich weiß nicht... ;)
Mysterious.. That makes me curious.. Have you ancestors in Germany? Or did you learn German at school?
Title: Re: Ingame Console Commands
Post by: pariah on February 26, 2011, 12:13:30 AM
I don't really know anything about my ancestors, and i haven't actually learnt German. I always wanted to learn German and Russian, since they are my favorite languages, but i never had the opportunity to learn. I get put in what class i get put in, you know? I did my best to teach myself, by watching German films and such, but it's very hard with no-one to teach you... :'(
Title: Re: Ingame Console Commands
Post by: Blackbishop on February 26, 2011, 12:22:41 AM
I don't really know anything about my ancestors, and i haven't actually learnt German. I always wanted to learn German and Russian, since they are my favorite languages, but i never had the opportunity to learn. I get put in what class i get put in, you know? I did my best to teach myself, by watching German films and such, but it's very hard with no-one to teach you... :'(
Indeed, i feel the same :'(... but let's go back on topic guys :).
Title: Re: Ingame Console Commands
Post by: michael on February 28, 2011, 03:00:06 PM
Could somebody tell me how to make the " with german keybord? Normally its Umschalt+2 but it makes a * when i hit Umschalt+2  :-\

Do anybody understand my problem?  ;D

Modified: I got it! It's Umschalt+Ä
Title: Re: Ingame Console Commands
Post by: pariah on February 28, 2011, 04:08:12 PM
Just curious, what layout are you using?
Title: Re: Ingame Console Commands
Post by: firefox126 on March 04, 2011, 06:33:45 PM
whats the com_maxfps(X)  max fps then ?
cuase 100 doenst work
60 maby?

greetings firefox126
Title: Re: Ingame Console Commands
Post by: Blackbishop on March 04, 2011, 07:03:36 PM
me doesn't knows :P. I've never used that command before.
Title: Re: Ingame Console Commands
Post by: firefox126 on March 05, 2011, 01:30:07 PM
well does some one know what the max fps rate is of this game ?
Title: Re: Ingame Console Commands
Post by: Lethal Dosage on April 02, 2011, 01:10:50 PM
Thought that layout looked familiar :)

Thanks for the credits and the linky.
Title: Re: Ingame Console Commands
Post by: Blackbishop on April 04, 2011, 07:48:38 PM
Thought that layout looked familiar :)

Thanks for the credits and the linky.

Your welcome, thanks for making the original article ;D!!
Title: Re: Ingame Console Commands
Post by: CrazyIvan on April 08, 2011, 06:22:02 AM
FOW_Toggle nor FOW_RevealALL seem to work.  It is still dark unless your Units are in the area and we can't see anything out of our Unit area.

Is this verified that it works?

Thanks.
Title: Re: Ingame Console Commands
Post by: Blackbishop on April 08, 2011, 07:00:41 AM
FOW_Toggle nor FOW_RevealALL seem to work.  It is still dark unless your Units are in the area and we can't see anything out of our Unit area.

Is this verified that it works?

Thanks.
Don't know what effect has FOW_Toggle, but typing FOW_RevealAll is not the same than typing FOW_RevealALL and that's why it doesn't work ;).

Edit: Looks ike FOW_Toggle does nothing :(.
Title: Re: Ingame Console Commands
Post by: CrazyIvan on April 09, 2011, 04:01:36 AM
FOW_Toggle nor FOW_RevealALL seem to work.  It is still dark unless your Units are in the area and we can't see anything out of our Unit area.

Is this verified that it works?

Thanks.
Don't know what effect has FOW_Toggle, but typing FOW_RevealAll is not the same than typing FOW_RevealALL and that's why it doesn't work ;).

Edit: Looks ike FOW_Toggle does nothing :(.


Thank You.

Does anyone know if this causes a sync error when performed when playing Co-Op against AI?We tried it while playing 3 of us Humans Vs 3 AI.  A sync error and end-game was the result.
Title: Re: Ingame Console Commands
Post by: Pathfinder777 on April 11, 2011, 05:28:41 AM
In command Setsimrate(x)

what is the maximum value that x can be while also taking effects?