Before even getting started, you need latest version of CheatCommands Mod.
Please see downloads section for obtaining the latest version of CheatCommands mod.
Requirements:
- The most up-to-date version of the game. CheatCommands may not work at all with older versions of the game.
1. Once you have downloaded the latest version, extract it to the Company of Heroes 2 installation folder. By default this is Company of Heroes 2 install folder in Windows 7 is C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\
2. You should now have a folder called "ccm" in your Company of Heroes 2 installation folder. You can now move to the next step which is running the game in -dev mode.
3. Go to your steam games collection, right click Comapany of Heroes 2 and select Properties.
3.1 Under the General tab click the Set launch options... button.
3.2 Add "-dev" without quotation marks (Make sure to leave space between additional tags such as "-nomovies", i.e. "-dev -nomovies") and click OK.
3.3 Close the game's Properties window and launch Company of Heroes 2.
If you are able to select Ranked game mode (it does not have a lock) COH2 IS NOT IN DEV MODE. Please go back in this tutorial and make sure everything is done by the instructions.
Note!
Image #1: Automatch vs. Players and vs. AI is locked in -dev mode. If you don't have these locked, go back in this tutorial and make sure you have followed the instructions.
4. Now that you have successfully set your Company of Heroes 2 to run in -dev mode, you can now create a custom came, launch single player campaign mission, or launch a TOW mission.
Once you have started the game and you are in-game, press Control + Shift + ~ (tilde) to open the game console. If this does not work for you, try using Control + Shift + Ö instead. This works with Scandinavian and other European keyboards.
5. Now that you have the game console open, copy and paste in this text (select it here, press Control + C to copy, press Control + V to paste in the console)
Image #2: Running the command in the game console.
And press Enter to run the command. If at this point you get errors, like "ccm/luaconstsauto.scar:21:attempt to call global 'BP_GetEntityBlueprint'(a nil value)"
a) Either you are not in the -dev mode or b) your game is outdated and does not support -dev mode properly. Please go back in the tutorial to make sure you are in -dev mode. Also make sure you have the latest version of the game installed. Steam should do this automatically. If you have other version than Steam version, I'm unable to help you.
Image #3: Example of a successful CheatCommands Mod initialization.
If you were able to complete all the steps above without errors and you got similar results as displayed in the provided screen captures, you are now good to go!
Press Control + Shift + F1 for main help page. This page has EVERYTHING you need to know. It has a complete list of the available hotkeys. To really get started, select your HQ by pressing F1 or select any of your existing units, like pioneers or base MG nest. Then press Control + Q. You just spawned your first unit to your mouse position. Good luck with the rest!
Some common hotkeys:
Control + Shift + F1: Main help page
Control + Shift + F2: Squad spawning hotkeys
Control + Shift + F3: Entity spawning hotkeys
Control + Shift + F4: Commander ability granting hotkeys
Control + Shift + Space: Toggle sub-page
Control + Space: Toggle what units to spawn (German / Soviet)
Control + Delete: Delete selected units
i did as it said to but it keeps saying that the file and or directory ccm/ccm.scar does not exist...
Provide a screenshot of this event please.
im haveing it too is it cuz not with the exp?
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
Does not work for some reason - I use steam, so an update might have outdated the 1.2 version? I get attempt to get World_getGameTime something value is nill.
Provide a screenshot of this, please.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
ifi dont have steam
There's nothing I can do about that. I'm only supporting the Steam version of the game with CCM.
Please help Imageshack.com
I don't know what to do anymore
I have steam version, all I have done STRICTLY according to the instructions, but when I enter the command in the console, the game says critical error.
Im running the latest version of the game with the latest version of the mod. When I enter the dofile("ccm/ccm.scar") command I get this error:
Imgur.com
It's 2015, I followed everything, I got the latest version, -dev mode is active and I still get the same error as this guy.
ccm\ccm_config.scar:2: attempt to call global 'World_GetGameTime' (a nil value)
everytime I enter dofile("ccm/ccm.scar"). it's been a rough year.
This comment is currently awaiting admin approval, join now to view.
Hey please, i got the same error World_GetGameTime ( a nil value).
What's the fix please ?
Make sure to have your game up to date and make sure to use the latest version of this mod.
Followed the instructions for everything, I know Im in DEV mode cause the options are locked as it said they should be. However it wont let me past anything (Ctrl +V) so I just type it in manually. When I type in what the tutorial said, it says cannot find file, however when I type in "dofile("ccm_v1.5.2") it tells me permission is denied. Any help??
extract the zip as showed in the tutorial video.
i have the same problem "World_GetGameTime ( a nil value)". i have a latest game version and also latest mod version. what to do?
Do I have to copy dofile("ccm/ccm.scar") in console every time in order to play in cheat mod ? Hope you will answer it quickly.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
I get the below error whenever i try to boot up the mod
I.imgur.com
Any help?
I use Game version: 3.0.0.9704, which download is working?
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
I use game version 3.0.0.17132 i download mod version 1.6.3
Did everything to the letter, it works, however. the "ctrl + shift + F1,F2 etc." don't bring up the help hotkeys, so i cant see which buttons do what.
I found a list of the commands online but it was for an older version (1.2), and some weren't doing anything others were incorrect.
same with me
This comment is currently awaiting admin approval, join now to view.
Hey when I spawn a unit it says world and I can't move the unit can someone help?
you have to select one of your units beforehand
is this still open? why is the cheat mod interfering with my game saves.
Each time i turn of PC and launch game, i have to start again in the first mission. Any suggestions?
Thanks to your tutorial i can now zoom out much further in sp. Again: thx! :)
Can you write a how to get more mods (from the workshop) working in Single Player Campaign. That would be really nice!
This comment is currently awaiting admin approval, join now to view.
there is no atillery unit of okw in spawn menu.
This comment is currently awaiting admin approval, join now to view.
It seems whenever I use this for TOW or the campaign, missions automatically end in a defeat. Is there any way around this?
help I cannot open the console, the ranked game also disable ( i put -dev in launch option)
This comment is currently awaiting admin approval, join now to view.
hey um I have done the first 4 steps right but my ctr shift tidle is not working
I have done everything right and my game still says this.
attempt to call global 'World_Get_Time' a nill value or something. I can provide a gyazo screenshot.
Dont worry. I figured out.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.