Company of Heroes
Cheat codes not working
I'm a big baby and sometimes I like to play with crazy cheats. However, whenever I do a google search and try to use the commands for additional resources, the console just spits back an error. Anybody got actual working commands?
< >
กำลังแสดง 1-6 จาก 6 ความเห็น
Maybe getting something else with the copy, like an extra space or missing bracket? These all work for me, I keep em in a notepad and use them from time to time when the cheating AI gets too annoying.

Player_SetResource(Game_GetLocalPlayer(), RT_Manpower, 9999)

Player_SetResource(Game_GetLocalPlayer(), RT_Munition, 9999)

Player_SetResource(Game_GetLocalPlayer(), RT_Fuel, 9999)

Player_SetPopCapOverride(Game_GetLocalPlayer(), 1000)

Player_SetResource(Game_GetLocalPlayer(), RT_Command, 5)
Just copy-pasted those. I get
[string "Player_SetResource(Game_GetLocalPlayer(), RT_Munition, 9999)
al 'Game_GetLocalPlayer' (a nil value)
โพสต์ดั้งเดิมโดย warthorn:
Maybe getting something else with the copy, like an extra space or missing bracket? These all work for me, I keep em in a notepad and use them from time to time when the cheating AI gets too annoying.

Player_SetResource(Game_GetLocalPlayer(), RT_Manpower, 9999)

Player_SetResource(Game_GetLocalPlayer(), RT_Munition, 9999)

Player_SetResource(Game_GetLocalPlayer(), RT_Fuel, 9999)

Player_SetPopCapOverride(Game_GetLocalPlayer(), 1000)

Player_SetResource(Game_GetLocalPlayer(), RT_Command, 5)
AHA!!! I ignored the directions to add "-dev" after the path in the shortcut. I figured it was already enabled since I could access the dev console already.

Thanks for the help, though! If it 'twern't for your reply, I probably wouldn't have looked into this anymore. And your codes work th' charm!
Hey, I get the same error and I can't figure out how to add "-dev" like you said. Any chance you could post some brief instructions? Everywhere else I've looked has just said to "do it" but never how. Big thanks in advance, you're quite literally my last hope!

EDIT: Forget editing the command line, I own it on steam and was able to go into the properties and add "-dev" to "set launch options" and now the cheats work. Hopefully this helps anyone dim like me who took a couple hours to figure that out.
แก้ไขล่าสุดโดย Truly Rudly; 29 พ.ย. 2020 @ 11: 37am
โพสต์ดั้งเดิมโดย Truly Rudly:
Hey, I get the same error and I can't figure out how to add "-dev" like you said. Any chance you could post some brief instructions? Everywhere else I've looked has just said to "do it" but never how. Big thanks in advance, you're quite literally my last hope!

EDIT: Forget editing the command line, I own it on steam and was able to go into the properties and add "-dev" to "set launch options" and now the cheats work. Hopefully this helps anyone dim like me who took a couple hours to figure that out.

You find your game's file location

You create a shortcut of the RelicCOH.exe file

You go into properties of the shortcut (by right-clicking)

You put at the end of the "target" bar the "-dev" line (make sure you dont delete the text thats already in the "target" bar)

Apply and save

Run the shortcut and enjoy ;)
โพสต์ดั้งเดิมโดย Exfilton:
โพสต์ดั้งเดิมโดย Truly Rudly:
Hey, I get the same error and I can't figure out how to add "-dev" like you said. Any chance you could post some brief instructions? Everywhere else I've looked has just said to "do it" but never how. Big thanks in advance, you're quite literally my last hope!

EDIT: Forget editing the command line, I own it on steam and was able to go into the properties and add "-dev" to "set launch options" and now the cheats work. Hopefully this helps anyone dim like me who took a couple hours to figure that out.

You find your game's file location

You create a shortcut of the RelicCOH.exe file

You go into properties of the shortcut (by right-clicking)

You put at the end of the "target" bar the "-dev" line (make sure you dont delete the text thats already in the "target" bar)

Apply and save

Run the shortcut and enjoy ;)

Forgot to add that you should put a space between the -dev and the already stated text
< >
กำลังแสดง 1-6 จาก 6 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 10 ต.ค. 2020 @ 12: 21pm
โพสต์: 6