Company of Heroes 2

Company of Heroes 2

171 次評價
COH2 Console cheats/commands
由 RubMyRubberDucky 發表
Helping you cheat your way through those pesky campgaign and AI skirmishes since well, since you've found this guide...
   
獎勵
加入最愛
已加入最愛
移除最愛
Description
So you've decided that you need help getting through a certain mission, or you just want to cheat in order to kill time or have more fun. Well you've come to the right place to do just that.

In this guide I'll provide the how-to and console commands that'll give you the edge in your next battle in COH2.
Cheats
To begin, the codes provided here are cheats, and will give you more resources and advantages in your next match. However, these cheats do not quite work in multiplayer, as they will either not be enabled at all, or cause desync and ruin the match for both parties.

First of all, to begin using these commands, you need to set a launch parameter for the next time your game is launched. To do this navigate to your COH2 game in the Steam Library, right click on it and select properties. In the tab that opens up you should see an option to set launch parameters. Open this and when prompted enter in the following code:

-dev

Once done this press Ok/Save and you're ready to launch the game.

Following this, load up a new or saved campaign mission or whatever you look to cheat in, and open the console by pressing Control-Shift-Tilde (Ctrl+Shift+`/~)

This will open up your console, and now you can either enter the codes manually or copy/paste them in. Here are the codes:

FOW_RevealAll --- Toggles the fog of war/ Allows you to see whole map and units.
Player_SetResource(Game_GetLocalPlayer(), RT_Manpower, 9999) - Adds 9999 Manpower

Player_SetResource(Game_GetLocalPlayer(), RT_Munition, 9999) - Adds 9999 Munition

Player_SetResource(Game_GetLocalPlayer(), RT_Fuel, 9999) - Adds 9999 Fuel

Player_SetResource(Game_GetLocalPlayer(), RT_Command, 5) - Adds 5 Command points
(Beware, add only the amount you need for all abilities, so it's best that you count them first, then you can paste this command in and change the value from 5 to whatever amount you need)

Player_SetPopCapOverride(Game_GetLocalPlayer(), 1000) - Makes your pop-cap larger



There are other cheats for this game, but the basics are these.

The Following is a link to a similar guide for the first Company of Heros, it's the same cheat commands and you may use it as a reference. It also provides addition codes to use in the console.

https://steamcommunity.com/sharedfiles/filedetails/?id=299979247


Have fun cheating!

48 則留言
unturned gamer 2 月 4 日 上午 8:53 
Um... nevermind, found it out. Don't know how I got it to work tho...
unturned gamer 2 月 4 日 上午 8:50 
It says nil value, what do?
[†] Generalseal 2024 年 12 月 8 日 上午 2:12 
adding -dev does nothing same thing for 2 and 3
luansergiovc1 2024 年 2 月 19 日 上午 5:14 
Command to turn the player into AI during the match:

To let AI take over local player:
Misc_AIControlLocalPlayer()

To enable player AI:
AI_Enable(Game_GetLocalPlayer(), true)

To enable all AI players:
AI_EnableAll(true)

To disable player AI:
AI_Enable(Game_GetLocalPlayer(), false)

To disable all AI players:
AI_EnableAll(false)

To set the difficulty level of this AI player:
AI_SetDifficulty(Game_GetLocalPlayer(), AD_Easy)
AI_SetDifficulty(Game_GetLocalPlayer(), AD_Standard)
AI_SetDifficulty(Game_GetLocalPlayer(), AD_Hard)
AI_SetDifficulty(Game_GetLocalPlayer(), AD_Hardest)

Note: The player AI is set to Hard difficulty by default.
Note: The player AI will not get boosts on: resources, stats and modifiers.

Source: https://scardoc.coh.fi/function_list.htm
Best of the beast 2023 年 8 月 30 日 上午 5:32 
it works just make this (cseffect thank you)

I think he may not be able to use CTRL + SHIFT + TILDE (look for the ~ symbol) command.
so let try in this way

1. Go to the steam folder which you install game
for example
"C:\XXX\Steam\steamapps\common\Company of Heroes"

2. Find "RelicCOH2" (Configuration setting)

3. Open it with notepad

4. Under ; Console
consoleKey = CONTROL+SHIFT+Grave

Change to consoleKey = CONTROL+SHIFT+1

5. then in the Steam Library, right click on it and select properties. In the tab that opens up you should see an option
set launch -dev

6. During gameplay press CONTROL+SHIFT+1

I think now you can use a code you want
고기는나의힘 2023 年 5 月 11 日 上午 5:59 
It doesnt work
Linrox 2023 年 3 月 6 日 下午 10:11 
These cheats DON"T WORK with COH Tales of Valor
AsgardiaN 2022 年 12 月 29 日 上午 4:57 
Hi all, to activate the cheats in Steam you shall go to the properties in the steam at the general find the "lunch options" and write -dev. All set up your cheats are ready to go.
wagner_saita 2022 年 12 月 18 日 下午 6:14 
these codes for CHO 2 do not work? is there any way to activate it?
Hauptman_1936-1945 2022 年 9 月 15 日 上午 11:03 
Doesn't work