CheatCommands Mod

#1
10 years ago
Janne252Janne252 CaptainPosts: 114 ✭✭✭
ccm_banner.jpg

CheatCommands Mod, version 1.26

CheatCommands Mod is an utility mod for Company of Heroes 2. It features a vast amount of features and functions. CheatCommands Mod can be used for (but not limited to): Testing units, testing balance, debugging, tracing a bug/glitch, having fun, and singleplayer cheating. CheatCommands Mod is not created for cheating or gaining unfair advantage to other users. CheatCommands Mod does not work in Multiplayer and thus can only be used for Singleplayer campaign, TOW Singleplayer challenges/AI Battles, and custom games with only one player.

CheatCommands Mod releases:

CoH2.org | Mod DataBase aka. ModDB | Relic News Forums | Offical Company of Heroes 2 forums |



All functions/features are activated with keyboard short-cuts. The most common ones are Control + Shift + F1 (Main help) and Control + Shift + Space (Toggle between pages of displayed content)

Complete list of all the functions available:
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 + B: Start Blizzard
Control + Alt + B: Stop Blizzard
Control + Shift + 1: Set position #1 for measuring distance
Control + Shift + 2: Set position #2 for measuring distance
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

List of tips:
#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)

Downloads:
Latest version:
[Version 1.26 - 12/1/2013]

Primary downloads page, always up to date
Downloads at ModDB

Older downloads can be accessed from Primary downloads page and ModDB.

How to install and Use CheatCommands Mod:

Method #1 (regular shortcut):

1. Extract contents of the downloaded .zip archive to your Company of Heroes 2 installation 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 Company of Heroes 2 installation 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.
Example:
"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 Company of Heroes 2.

Method #2 (via steam GUI):

1. Goto your steam games collection, right click Company of Heroes 2 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
Example of using extra launch options:
...\RelicCoH2.exe" -mod cheatcommands -ccm_resources -ccm_disablefow

Change Log:
[1.12.2013] [Version 1.26] Updates, Additions
	- Updated to CoH2 version 3.0.0.11384
	- 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 3.0.0.112854

[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.

23861.png
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

  • © SEGA. SEGA, the SEGA logo, Relic Entertainment, the Relic Entertainment logo, Company of Heroes and the Company of Heroes logo are either trademarks or registered trademarks of SEGA Holdings Co., Ltd. or its affiliates. All rights reserved. SEGA is registered in the US Patent and Trademark Office. All other trademarks are the property of their respective owners.