CheatCommands Mod - an utility mod for Company of Heroes 2 featuring large set of tools.

Post news Report RSS CheatCommands Mod ULE version 0.4 [Outdated]

CheatCommands ULE is an ultra light version of the CheatCommands Mod for Company of Heroes 2. This version is based on the game console being able to run Scar scripts. OUTDATED VERSION - PLEASE SEE NEWS SECTION FOR THE LATEST VERSION.

Posted by on

CheatCommands Mod ULEThis version is outdated. Please see the news section for the latest version.

For those of who don't know what this mod is all about, here's a short intro:
CheatCommands Mod is an utility mod for CoH2. In can be used for, but not limited to:
Singleplayer Cheating, Testing units, Balancing, Debugging maps, Setting up scenes for screenshots/videos and so on. Your imagination is the limit. Even though this is the super ultra light edition. Even lighter than the Light Edition.

Most of you probably know that December 10th update broke CheatCommands Mod. While this update effectively disabled mods, Relic re-introduced -dev mode and thus Scar code can be executed via console. This version of CheatCommands Mod has less features but at least the key features are available at the moment:
(I will be adding more features in the future)

Control + Shift + F1: This help page
Control + Shift + F2: Squad Spawning Hotkeys
Control + Shift + F3: Entity Spawning Hotkeys
Control + F1: Toggle Fog of War On/Off
Control + F2: Toggle TaskBar Visibility On/Off
Control + F3: Infinite Resources
Control + F4: Toggle Instant Production On/off
Control + F5: Toggle Instant Ability Recharge On/Off
Control + F6: Toggle Instant Construction On/Off
Control + F7: Toggle Global AI On/Off
Control + F8: Take Over Selected Player
Control + F12: Clear screen from prompt messages

Control + Insert: Toggle Selected squad / entity owner
Control + Space: Toggle Selected Race for spawning (Soviet/German)
Control + Shift + Space: Toggle Help Page
Control + Delete: Delete selected squads / entities (buildings/constructions)
Shift + Delete: Kill selected squads / entities (buildings/constructions)

Control + Alt + 1: Toggle Spawn table between Pre-defined and Raw
Control + Shift + A: Abandon selected vehicle
Control + [0-9, a-z]: Spawn squads of selected army

Control + NumPad0: Game Speed * 0.125
Control + NumPad1: Game Speed * 0.25
Control + NumPad2: Game Speed * 0.5
Control + Numpad3: Game Speed * 0.75
Control + NumPad4: Game Speed * 1
Control + NumPad5: Game Speed * 1.25
Control + NumPad6: Game Speed * 1.5
Control + NumPad7: Game Speed * 2
Control + NumPad8: Game Speed * 4
Control + NumPad8: Game Speed * 8


Download
Version 0.4 - December 31st 2013

How to install and use?

1. Extract the downloaded archive to your CoH2 installation folder, e.g. C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2

2. Make sure you now have a folder called "ccm" in your CoH2 installation folder

3. Launch CoH2 with -dev mode

3.1 Goto your steam games collection, right click CoH2 and select Properties.
3.2 Under the General tab click the Set launch options... button.
3.3 Add "-dev" without quotation marks (Make sure to leave space between additional tags such as "-nomovies", e.g. "-dev -nomovies") and click OK.
3.4 Close the game's Properties window and launch CoH2.

4. Start a match, Open Game console by pressing Control + Shift + ~ (tidle)
In a keyboard which contains Scandinavian letters such as ö, ä, å, please use ö instead of ~ (tidle), e.g. Control + Shift + Ö

5. Paste in this text and press enter:

dofile("ccm/ccm.scar")


Close the console by pressing the same hotkey again. You are now good to go!
For example, press Control + 1 to spawn pioneer / combat engineer squad and Control + Delete to remove it (if selected)

Post comment Comments
Vulturis
Vulturis - - 39 comments

Well done, superb work as usual Janne.

Reply Good karma Bad karma+2 votes
Guest
Guest - - 688,627 comments

Thanks... but "Contorl + (0~9)" group creating not working...

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

Oh, right. I have to free control group related hotkeys, I guess.

Reply Good karma+2 votes
grayo03
grayo03 - - 61 comments

Great to see the mod back up and running! I think they disabled the LUA exploit in the first place because using the cheatmod could still gain you XP in Custom Games.

Reply Good karma Bad karma+1 vote
kjmann115
kjmann115 - - 3 comments

Hmm. I can't seem to get the game console to open up in game. I did enter "-dev" in the set launch options but it still won't show up. I tried -nomovies and that worked though. Any thoughts?

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

So basically hotkey Control + Shift + ~ (tidle) does not work for you?

Reply Good karma+1 vote
kjmann115
kjmann115 - - 3 comments

Strangly, no. When I first opened up the launch options, it was empty until I typed in -dev. Is that normal? It now reads -dev -nomovies

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

Yes, that is normal. What kind of keyboard do you have?

Reply Good karma+1 vote
kjmann115
kjmann115 - - 3 comments

It's just a standard logitech elite keyboard.

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

This forum thread might help you: Gamefaqs.com

Reply Good karma+1 vote
Guest
Guest - - 688,627 comments

I just tried that and my keyboard stopped working, LOL. I'm playing on my macbook pro with windows installed via bootcamp. I'm at work and the logitech keyboard is at home; so I just tried what was in the link and now my laptop keyboard doesn't work with the windows anymore.

Oh well, I'm figure that out and keep trying. Thanks for all your hard work put into this!

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

Oh my god, that went horribly wrong! Sorry about that. I hope you can gain your keyboard functionalities back!

Reply Good karma+1 vote
DigBiggerNick
DigBiggerNick - - 6 comments

It's just not the same without the unlimited population when you add resources T^T
DISREGARD THAT. I SUCK *****.
INFINITE POP WOOOOOOOOOOOOOOOOOOO

Reply Good karma Bad karma+2 votes
Janne252 Author
Janne252 - - 263 comments

I'll add infinite population cap to the next version. I had forgotten to add this.

Reply Good karma+2 votes
DigBiggerNick
DigBiggerNick - - 6 comments

I got a weird problem with the toggle instant production.
When I turn it in, the production is REAALLLLYY SLOOOOOOOOOOW

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

I'll take a look at this.

Reply Good karma+2 votes
grayo03
grayo03 - - 61 comments

I've found that when toggling instant production on then off makes production time VERY slow.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 688,627 comments

does the mod disable the achivements?

Reply Good karma Bad karma0 votes
Janne252 Author
Janne252 - - 263 comments

-dev mode basically disables everything related to gaining levels and unlocking.

Reply Good karma+1 vote
Guest
Guest - - 688,627 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 688,627 comments

how do I (3. Launch CoH2 with -dev mode)???

And also will this work with the game that is not installed through Steam?

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

Running CoH2 in -dev mode using a shortcut:

-Right click on RelicCoH2.exe and select Send to -> Desktop (create shortcut)
-Default path to CoH2 install folder in Windows 7 is C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\
-RelicCoH2.exe is located in this folder.

2. Right click on your newly created shortcut. Select Properties.
3. Add [-dev] without square brackets after the last quotation mark in Field called "Target" under "Shortcut" Tab. Notice the space before last quotation mark and -dev.
Example:
"C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\RelicCoH2.exe" -dev

Reply Good karma+2 votes
Guest
Guest - - 688,627 comments

hey~ Janne252.
did you add veterancy?

Reply Good karma Bad karma0 votes
Janne252 Author
Janne252 - - 263 comments

Like a hotkey to increase selected squad veterancy rank? No. I'll add that to the next version.

Reply Good karma+2 votes
Guest
Guest - - 688,627 comments

This comment is currently awaiting admin approval, join now to view.

Darious4u
Darious4u - - 10 comments

Guest 19mins 11secs ago replied:
how do I (3. Launch CoH2 with -dev mode)???

And also will this work with the game that is not installed through Steam?

Reply Good karma Bad karma+2 votes
Guest
Guest - - 688,627 comments

When is the next version Release?

Reply Good karma Bad karma0 votes
Janne252 Author
Janne252 - - 263 comments

Probably today (January 8th)

Reply Good karma+1 vote
Darious4u
Darious4u - - 10 comments

I still make this work. I followed all the steps right (my game was installed through steam) I don't know what else to do. please help me.

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

What have you done? How far have you got?

Reply Good karma+1 vote
Darious4u
Darious4u - - 10 comments

I'm sorry to be such a pain. I followed all the step except that my game isn't through steam. I created the shortcut in my desktop, added the -dev in properties, and download the mod and extracted into my COH2 folder of course. Then I go into the game and opened the Game console and pasted [ dofile("ccm/ccm.scar") ] and nothing happens. I tried CTRL+SHIFT+F1 but nothing.

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

Did you open the console by pressing Ctrl+Shift+~ ?

Reply Good karma+1 vote
Darious4u
Darious4u - - 10 comments

yes I did.

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

Is automatch locked in the game menus while you are in -dev mode?

Reply Good karma+1 vote
Darious4u
Darious4u - - 10 comments

No it isn't. (It says "Connection Issue") that's it.

Reply Good karma Bad karma+1 vote
Darious4u
Darious4u - - 10 comments

Do i have to download an earlier version for it to work?

Reply Good karma Bad karma+1 vote
Darious4u
Darious4u - - 10 comments

What I am doing wrong? If I can open the game console, doesn't that means that am in -dev mode?
What else may I give you for you to help me? Any info ?

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

What is the version of your CoH2 (RelicCoH2.exe)?
Please paste in your shortcut target line.

Reply Good karma+1 vote
Darious4u
Darious4u - - 10 comments

My version is 3.0.0.96.36

and I pasted it in the shortcut target line already with negative results.

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

How old version is that? For example mine is
3.0.0.11811.

Reply Good karma+1 vote
Darious4u
Darious4u - - 10 comments

CAN'T MAKE IT WORK!

Reply Good karma Bad karma+1 vote
Darious4u
Darious4u - - 10 comments

No it isn't. (It says "Connection Issue") thats it

Reply Good karma Bad karma+1 vote
Janne252 Author
Janne252 - - 263 comments

New version (0.5) is now out! Please see this:
Moddb.com

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: