russian armor

COH2 CheatCommands Mod

CheatCommands Mod, version 1.26
NOTE: This version of the CheatCommands Mod will most likely be only available and updated for as long as -dev command line parameter support is enabled again.
NOTE! DO not use grid keys. Use classic keys instead to use this mod. Using grid keys disables all hotkeys assigned to abilities, which are calling CheatCommands mod functions.
Thanks to Corsix's hack to allow loading unsigned SGAs, it is possible to run SGA based mods.

CheatCommands Mod LE is pretty much the same as it's precursor but with fewer features. While Scar_DebugConsoleExecute is disabled without -dev mode, using abilities with custom hotkeys is the only way to achieve hotkey to scar function call binding.
Edit: This used to be the case. This version has even more features than Beta version.

CheatCommands Mod is not a cheat or a hack to gain advantage in multiplayer. It is a debugging tool which can be used for, but not limited to:
- taking clean screenshots (Press Control + F2 to toggle Game UI On/Off, Control + F11 to toggle Prompt On/Off)
- testing and learning units and game mechanics
- reproducing events for debugging (for example reproducing an event causing a bug/glitch)
- single player cheating


#1: How to get a nice and clean high-resolution screenshot:
1. Disable Game UI by pressing Control + F2
2. Disable CheatCommands mod prompt by pressing Control + F11
3. Press Control + Alt + S to Take a super screenshot

New, about 10MB .jpg file is now saved to My Games\company of heroes 2\screenshots
With resolution 1920 x 1080 output image will be 6980 x 3924 pixels.
Example result (heavily packed to reduce file size)

This mod will not work in multiplayer, as it relates to cursor position and other client side features which will result a sync error.


List of features:


Generic commands:

Control + Shift + F1: This help page
Control + Space: Toggle Selected Army
Control + Shift + Space: Toggle between sub-pages
Control + F1: Toggle Fog of War
Control + F2: Toggle TaskBar
Control + F3: Toggle Add Resources
Control + F4: Toggle Instant Production
Control + F5: Toggle Instant Ability Recharge
Control + F6: Toggle Instant Construction
Control + F7: Toggle Global/Selected AI ON/OFF
Control + F8: Toggle Global/Selected AI Difficulty
Control + F9: Take Control Over Selected Player
Control + F10: Toggle Selected player team
Control + F11: Toggle Prompt ON/OFF
Control + F12: End Game in favor of selected player
Shift + F1: Toggle Force Unlock ALL Abilities On/Off
Shift + F2: Toggle Force Unlock ALL Upgrades On/Off
Control + [0-9, a-z]: Spawn squads of selected army
Shift + [0-9, a-z]: Spawn entities of selected army
Alt + [0-9, a-z]: Spawn abilities/Apply Criticals/Add Slot Items to squads

Alt + F1: Delete all spawned squads
Alt + F2: Delete all spawned entities

Control + Shift + F1: Squad spawning hotkeys
Control + Shift + F2: Entity spawning hotkeys
Control + Shift + F3:Apply Criticals | Add Slot Items | Set Map Atmosphere | Spawn Props | Spawn Commander Abilities | Call Commander Upgrades

Control + Alt + 1: Toggle Spawn squad/entity Blueprint list source: Hand-Made/Raw
Control + Alt + 2: Toggle Alt + [0-9,a-z] Mode:Apply Criticals[1] | Add Slot Items[2] | Set Map Atmosphere[3] | Spawn Props[4] | Spawn Commander Bbilities[5] | Call Commander Upgrades[6]

Control + Numpad Plus: Increase selected squad speed
Control + Numpad Minus: Decrease selected squad speed

Control + Shift + G: Toggle Invulnerability for [Selected squads]/[selected entities]/[entities under mouse]
Control + Shift + T: Teleport [Selected squads]/[selected entities] to mouse position
Control + Shift + M: Toggle Mood mode for [Selected squads]
Control + Shift + U: Toggle UI Decorator for [Selected squads]
Control + Shift + F: Spawn a fire pit to mouse position
Control + Shift + H: Toggle Health monitor ON/OFF
Control + Shift + E: Auto-Align [Selected squads]/[selected entities]/[entities under mouse]
Control + Shift + P: Toggle posture for [Selected squads]/[selected entities]/[entities under mouse]
Control + Shift + Q: Abandon selected vehicle
Control + Shift + W: Stopwatch
Control + Shift + S: Split squad (4 members in a squad -> 2 squads with 2 members in both squads)
Control + Shift + R: Re-display last message
Control + Shift + I: Print selection Info
Control + Shift + T: Set Camera to follow last entity in the map
Control + Shift + 1: Set position #1 for measuring distance
Control + Shift + 2: Set position #2 for measuring distance
Control + Shift + B: Start Blizzard
Control + Alt + B: Stop Blizzard
Control + Alt + T: Set all territory sectors netural or owned by selected player
Control + Alt + L: Reload SCAR scripts
Control + Alt + I: Destry Ice at mouse position
Control + Alt + E: Set selected [Selected squads]/[selected entities]/[entities under mouse] owner to enemy
Control + Alt + S: Take a super screenshot
Control + Alt + U: Toggle UI Decorators On/Off
Control + Alt + W: Toggle [Selected squads] Auto-Attack (if set to false, squad will not attack automatically)
Control + Alt + F: Set Default facing position for all unit/building spawning
Alt + Shift + E: Set Camera to follow last entity in the map

Shift + Numpad / or ÷: Spawn random ambient building
Shift + Numpad *: Spawn random natural entity
Shift + Numpad Minus: Spawn random object entity
Control + Numpad Plus: Increase [Selected squads] speed
Control + Numpad Minus: Decrease [Selected squads] speed
Control + Alt + Numpad Plus: Increase [Selected squads] damage (hardpoint_01)
Control + Alt + Numpad Minus: Decrease [Selected squads] damage (hardpoint_01)

Control + Delete: Delete [Selected squads]/[selected entities]/[entities under mouse]
Shift + Delete: Kill [Selected squads]/[selected entities]/[entities under mouse]
Control + Shift + K: Remove all squads of selected player
Control + Alt + K: Remove all entities of selected player

Control + Backspace: Disable main gun for [Selected squads]/[selected entities]/[entities under mouse]
Control + Home: Increase veterancy rank by 1 for [Selected squads]
Control + PageUp: Set health to 1% for [Selected squads]/[selected entities]/[entities under mouse]
Control + PageDown: Set health to 100% for [Selected squads]/[selected entities]/[entities under mouse]
Control + End: Change owner to world for [Selected squads]/[selected entities]/[entities under mouse]
Control + Insert: Toggle owner for [Selected squads]/[selected entities]/[entities under mouse]

Alt + Left Move Entity under mouse Left
Alt + Right Move Entity under mouse Right
Alt + Up Move Entity under mouse Forward
Alt + Down Move Entity under mouse Back
Alt + Numpad Plus Move Entity under mouse Up
Alt + Numpad Minus Move Entity under mouse Down
Control + Left Rotate Entity under mouse to Left
Control + Right Rotate Entity under mouse to Right
Control + Shift + C: Start rotating camera in the current position with current distance and tilt
Control + Numpad5: Move camera to mouse position on terrain
Alt + Numpad5: Move camera to a preset custom postion
Control + Alt + M: Toggle camera destination for editing camera move speed between Mouse position on terrain and pre-set position
Control + Alt + Numpad5: Set pre-set camera move position

Control + Numpad7: Increase Camera Zoom distance
Control + Numpad1: Decrease Camera Zoom distance
Control + Numpad4: Increase Camera Declination (tilt)
Control + Numpad6: Decrease Camera Declination (tilt)
Control + Numpad8: Increase Camera Rotation speed
Control + Numpad2: Decrease Camera Rotation speed
Control + Numpad9: Increase Camera Movement speed
Control + Numpad3: Decrease Camera Movement speed

Increase/Decrease camera move speed will restart camera move to the destination from the current camera position.
This means you can adjust the speed while the camera is moving. Use Control + Alt + M to choose which destination position to use
while editing camera move speed.

CheatCommands Mod by Janne252


General Knowledge/What to do if:
I get prompted with a fatal scar error:
Hit pause to unpause the game and continue execution. In most of the cases the error will be skipped and you will be able to continue playing.
If you run up into a fatal scar error, please report it by doing the following: Write down what you did exactly to produce the error and post your warnings.log here. Warnings.log can be found in C:\Users\Omistaja\Documents\My Games\Company of Heroes 2 . Open it with notepad and copy and paste the contents of the file between code tags in your post.
In case you are a new member and unable to use code tags, you can also email the report to contact@janne252.com
My UI is messed up:
Either you are somehow using my Beta version of CheatCommands mod or there has been a patch changing UI and I haven't updated CheatCommands Mod to support it. You should report the latter case.
I have an idea/a concept for the mod:
Let me know. Perhaps I'm able to implement it.
I would like to use this mod as a part of my public mod:
Give me credit and you are good to go.
I lost data/I got my Case Blue progress wiped/etc:
You use CheatCommands mod at your own risk. Although there has been only once CheatCommands Mod actually caused harm which was wiping Case Blue DLC progress due to CheatCommands mod not loading Case Blue data to the game at all, I cannot give promises. There may be loss of data, most likely in form of SP/Coop/TOW progress data.


How to install:
Method #1 (regular shortcut):

1. Extract contents of the downloaded .zip archive to your CoH2 install directory and create a new shortcut to RelicCoH2.exe
One way of making a new 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
-mod cheatcommands
after the last quotation mark in Field called "Target" under "Shortcut" Tab. Notice the space before last quotation mark and -dev.
"C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2\RelicCoH2.exe" -mod cheatcommands

4. Press Apply and OK
5. Double click the shortcut to launch CoH2.

Method #2 (via steam GUI):

1. Goto your steam games collection, right click CoH2 and select Properties.
2. Under the General tab click the Set launch options... button.
3. Enter "-mod cheatcommands" without quotation marks and click OK.
4. Close the game's Properties window and launch CoH2.

Optional launch options for CheatCommands Mod:
  • -ccm_noai = Global AI Disabled
  • -ccm_resources = Infinite Resources
  • -ccm_instantproduction = Instant Production
  • -ccm_instantability = Instant Ability Recharge
  • -ccm_instantconstruction = Instant Building Construction
  • -ccm_unlockabilities = Unlock All Abilities
  • -ccm_unlockupgrades = Unlock All Upgrades
  • -ccm_disablefow = Disable FOW


Downloads Page, always up to date

[Version 1.26 - 12/1/2013]

Older downloads:




[1.12.2013] [Version 1.26] Updates, Additions
- Updated to CoH2 version
- Added Soviet Officer
- Added Util.StartBlizzard and Util.StopBlizzard
- Don't spam these actions! Give them time to transition.

[7.11.2013] [Version 1.25] Update to new CoH2 version
- Updated to CoH2 version

[7.11.2013] [Version 1.24] Hot fix
- Fixed spawned team weapons being impossible to re-crew (thanks for General Kong for finding a solution)

[5.11.2013] [Version 1.23] Bug fixes
- Fixed some props being unavailable
- Added Util.FollowLastEntity
- Added missing team weapons to spawnable props

[27.10.2013] [Version 1.22] Bug fixes
- Added Toggle.SquadDecorators
- Added Toggle.SquadWeaponAutoTarget (this disables unit auto-attack, meaning a unit wont attack
unless given order to attack
- Added command line arguments to do stuff automatically in game start:
-ccm_noai = Global AI Disabled
-ccm_resources = Infinite Resources
-ccm_instantproduction = Instant Production
-ccm_instantability = Instant Ability Recharge
-ccm_instantconstruction = Instant Building Construction
-ccm_unlockabilities = Unlock All Abilities
-ccm_unlockupgrades = Unlock All Upgrades
-ccm_disablefow = Disable FOW
You can use these by adding them to the Company of Heroes 2 launch options. Either via shortcut
or steam GUI. Example: "....\RelicCoH2.exe" -mod cheatcommands -nomovies -ccm_noai -ccm_resources

[23.10.2013] [Version 1.21] Bug fixes
- Fixed being unable to spawn entities on snow
- Added Util.DestroyIce
- Destroys ice at mouse position
- Added Util.SplitSquads
- Splits a squad. 4 man squad -> 2 * 2 man squad
- Added Util.SetOwnedByEnemy
- A quick way to set stuff owned by enemy player
- Added 5th "Alt Mode" - Spawn props on mouse (pickupable weapons, props)
- Hided long hotkey texts in commander selection bar
- Spawn.SlotItemAtMouse (Assings slot items to selected squads) now sets relevant slot item droprate to 100%.
- Might have forgotten something. It has been a long time since last update.

[12.10.2013] [Version 1.20] Bug fixes
- Instant build, ability recharge etc. is now per-player.
- Fixed hole appearing in middle of the map
- There are currenlty some issues with enabling AI for the local player.
- Local player is not going to be controlled by the AI if you take over another AI.
- Enabling AI for the local player does not work.
- Added Util.RotateCamera and Util.MoveCamera
- You can modify camera rotation speed, declination and zoom distance
- You can move camera either to mouse position on terrain or to a pre-set position
- You can edit camera move speed

[6.10.2013] [Version 1.19] Re-upload of 1.18
- Disabled debug features

[6.10.2013] [Version 1.18] New features
- Added 4th function to Alt + [0-9, a-z]:
- Set atmosphere (a list of atmopshere presets in the game)
- WARNING! Some of them may crash the game. I have commented out most of them.
- If you find one that crashes the game, please report!
- Added Stopwatch
- Added MeasureDistance
- Improved print entity under mouse info (Hover over entity and press Control + Shift + I)
- Added Reload SCAR scripts
- Fixed Case Blue again

[4.10.2013] [Version 1.17] Bug fixes, new features
- Help page hotkeys are now Control + Shift + F[1-12] instead of Shift + F[1-12]
- Added 3 functionalities to Alt p [0-9, a-z]:
- Spawn commander abilities
- Apply criticals (eg. Burn death, damaged engine, gunner killed etc.)
- Add Slot Items to squads (eg. Panzershreck, Flamethrower etc.)
You can toggle between these 3 options by pressing Control + Alt 2.
- You can now toggle between hand made / Raw spawn lists by pressing Control + Alt + 1

[30.9.2013] [Version 1.15] Bug fixes
- Fixed purple text appearing in some SP campaign missions
- Fixed Being unable to play Case Blue
- Fixed fatal scar errors in spawning units

[29.9.2013] [Version 1.14] Spawning!
- You can now spawn squads/entities of the selected army.
- Added Raw spawning tables
- Added Util.DeleteAllSelectedSquads (Deletes all squads of selected player)
- Added Util.DeleteAllSelectedEntities (Deletes all entities of selected player)
- Tuned help page sub-page system (it is now relative to the content instead of hardcoded)

[28.9.2013] [Version 1.13] Hot Fix
- Fixed being unable to move camera with arrow keys

[28.9.2013] [Version 1.12] Bug fixes, new functions
- Fixed issues with Toggle.SelectionOwner
- Fixed Toggle.InstantAbilityRecharge being inverted
- Added Spawn.RandomAmbientEntity, Spawn.RandomNaturalEntity and Spawn.RandomObjectEntity
- Added Util.IncreaseUnitSpeed and Util.DecreaseUnitSpeed
- Added Util.IncreaseDamage and Util.DecreaseDamage
- Added Util.RotateEntityLeft and Util.RotateEntityRight
- Added Util.AutoAlignSelected
- Added Util.MoveEntityLeft, Util.MoveEntityRight, Util.MoveEntityForward and Util.MoveEntityBack
- Added Util.MoveEntityUp and Util.MoveEntityDown
- Added Toggle.Messages
- Added Toggle.SelectedPosture
- Added Util.SetAllTerritorySectorsForSelection
- Fixed various bugs and fatal scar errors

[28.9.2013] [Version 1.11] Bug fixes, compatibility fix
- Hotfix for September 26th, 2013 Update
- Fixed a fatal scar error in Spawn.FirePit
- Clipboard now pastes squads inside selected entities / squads by sending a CMD_Garrison command.
- Disabled unassigned ability prompt spam.

[22.9.2013] [version 1.1] Bug fixes, additions
- Added Health monitor
- Added Toggle UI Decorator
- Added Spawn firepit
- Fixed Instant contruction function being inverted
- Fixed a fatal scar error in Util.SetWorldOwned
- Fixed a fatal scar error in Clipboard.paste
- Improved Clipboard functionality:
Copying now copies:
Item blueprint
Item owner
Item health
Item heading
item upgrades
Item slot items (eg. pickup-able weapos)
Item criticals (eg. damaged engine)
Item veterancy XP
item squad member count

[22.9.2013] [version 1.0] Initial release


Tools I've used to create this modification:

  • Mannerheim's ScarEditor to write/edit the scripts
  • Notepad++ for writing/editing scripts and keydefaults.lua
  • Corsix's lua exploit to get rid of unsgined sga checker
  • Cope's SGA bulder to create SGA archives for the mod to run
  • Cope's RGD tools to convert .rgd to .txt and .txt to .rgd
  • Visual C# studio 2010 express to generate .txt abilities
  • SciTE with Lua for Windows to develop and debug scripts
  • Classic notepad for all kinds of stuff


Credits: Corsix for the lua exploit, Copernicus for the RGD and SGA tools.

1 user is browsing this thread: 1 guest



No Profanity Number of Shouts
Refresh Shout Box
adrian23: elefant Penetration from 170 to 400 holly shit
Today, 18:23 PM
JHeartless: lol@neo so true
Today, 18:22 PM
What Doth Life?!: Ready thy anuses
Today, 18:11 PM
Neo: My thoughts: https://i.imgflip.com/8bwm2.jpg
Today, 18:08 PM
Icestrike: thank kyle :D
Today, 18:05 PM
Icestrike: from where do u get the patchinformations?
Today, 18:03 PM
Icestrike: accesspeace can you send me a link for the patchnotes?
Today, 18:02 PM
luvnest: thanks kosmique for the link!
Today, 18:02 PM
Icestrike: is there a link for the patchnotes?
Today, 18:01 PM

Ladders Top 10

  • #
    Steam Alias
Data provided by Relic Relic Entertainment

Replay highlight

  • Soviets flag mTw.Siberian
  • Ostheer flag majorownage
Langreskaya Winter
Langreskaya Winter Honor
Honor it
uploaded by Siberian

Board Info

303 posts in the last 24h
2036 posts in the last week
11948 posts in the last month
Registered members: 6108
Welcome our newest member, adc1980
Most online: 422 users on 27 Oct 2013, 01:02 AM