Login

russian armor

[COH2] CheatCommands Mod [Version: Beta 1.00]

8 Jun 2013, 07:03 AM
#1
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11



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

Tips:

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:


-------------------------------------------------------------------------------------------------------------------------

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
Code
-mod cheatcommands
after the last quotation mark in Field called "Target" under "Shortcut" Tab. Notice the space before last quotation mark and -dev.
Example:
Code
"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:
Downloads Page, always up to date

[Version 1.26 - 12/1/2013]

Older downloads:


-------------------------------------------------------------------------------------------------------------------------

Changelog:


-------------------------------------------------------------------------------------------------------------------------


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.

8 Jun 2013, 09:51 AM
#2
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

Fantasic! Nice work. Would you like to have this post featured on our portal?
8 Jun 2013, 11:19 AM
#3
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Yes! I would appreciate it.
8 Jun 2013, 13:09 PM
#4
avatar of BartonPL

Posts: 2807 | Subs: 6

a legal maphack you say? MVGame
8 Jun 2013, 13:16 PM
#5
avatar of cr4wler

Posts: 1164

8 Jun 2013, 13:17 PM
#6
avatar of computerheat
Honorary Member Badge
Benefactor 117

Posts: 2838 | Subs: 3

...but can it make the Katusha fire flamer clown cars instead of rockets?
8 Jun 2013, 13:22 PM
#7
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

Would love to see some funny screenshots from this... AN ARMY OF TIGERS PLS!!!
8 Jun 2013, 15:33 PM
#8
avatar of TychoCelchuuu
Senior Caster Badge

Posts: 1620 | Subs: 2

Sweet!
8 Jun 2013, 18:23 PM
#9
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

New feature implemented, will be available in the next version:
Squad/Entity Health Monitor

When ever a squad or entity has a change in their health points, a new kicker message will appear at the squad/entity. Direction of the change (positive or negative; increase or decrease; healing or taking damage) is represented with symbols plus and minus (+ and -).

This feature can be toggled ON and OFF with hotkey Control + Shift + O
Demonstration video:

Be sure to use 720p.
12 Jun 2013, 18:47 PM
#10
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Updated version to Beta 1.01:
Download:
Beta 1.01 - 12/Jun/2013

Changelog:
Code

Version: Beta 1.00
- Initial release
-------------------------------------------------------------

Version: Beta 1.01
- Implemented Squad/Entity Health Monitor system. Press Control + Shift + O to toggle it ON/OFF.
- Fixed a bug in "Respawn as neutral" causing invisible entities
- Fixed a fatal scar error in "Print selected squad/selected entity/entity under mouse blueprint"
- Improved "Print selected squad cover value" (if a squad is garrisoned, cover value of "Garrisoned" is displayed instead of 0.
- Implemented "Print Terrain height at mouse position" feature. Press Control + Alt + G to use it.
- Improved "Respawn as neutral" functionality. It is now called "Set entity under mouse owned by world". It does not respawn it anymore.
- Improved squad, entity and prop spawn. If nothing is selected, they are spawned as neutral.
- Removed "Toggle selected squad/entity owner between local player and original owner"
- Removed "Toggle squad/entity/neutral entity under mouse owner between enemy and local player"
- Replaced those with:
- "Toggle selected squad/selected entity/entity under mouse owner between players"
- "Set entity under mouse owned by world"
- "Set entity under mouse owned by local player"

17 Jun 2013, 02:49 AM
#11
avatar of ICEcube3838

Posts: 9

Will you be supporting this mod as Company of heroes 2 progresses. :)
17 Jun 2013, 09:35 AM
#12
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Will you be supporting this mod as Company of heroes 2 progresses. :)


Yes, I will.
23 Jun 2013, 15:35 PM
#13
avatar of Danzio

Posts: 4

Can't for the life of me get this to work? Done exactly as you've mentioned to do above but to no avail... i have the latest download of the open beta from steam, i've changed/created a shortcut, added dev/mod/cheatcommands line to target a space after main text... also put files into main COH2 folder... but nada, zilch! Even ran as admin...


any suggestions? i tried both 1.02/1.01 but nothing,

cheers!
24 Jun 2013, 00:47 AM
#14
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Latest patch from Relic broke -dev support
and thus removed the ability to use
CheatCommands mod. Relic has stated that this
will be fixed in the next weeks.
28 Jun 2013, 17:29 PM
#15
avatar of Danzio

Posts: 4

Did you ever get round to this or are you currently working on it? Just out of curiosity :)
3 Jul 2013, 10:03 AM
#16
avatar of Max1944

Posts: 1

1) With which Patch Version will this work ? I tried:

3.0.0.9636 = CheatCommands Mod won't work
3.0.0.9704 = CheatCommands Mod won't work

2) Is there a way to bring up the console ?

3) With CoH1 I had written a autoexec.lua in the main CoH1 folder with this in it:

bind("1", "setsimrate (8)")
bind("2", "setsimrate (2)")
bind("3", "setsimrate (100)")
bind("4", "game_hideui")
bind("5", "taskbar_hide")
bind("6", "taskbar_show")
bind("7", "PlayerColour_Disable")
bind("8", "FOW_RevealAll")
bind("9", "UI_ToggleDecorators")

Is there a way to get these commands to work with CoH2 ?
I would love to slow down the game with setsimrate sometimes.
3 Jul 2013, 17:28 PM
#17
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Latest version of CoH2 CheatCommands mod worked with was open beta. Any CoH2 version post open beta has -dev command parameter disabled.
23 Sep 2013, 01:19 AM
#18
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

First post updated with CheatCommands Mod LE 1.0 (Works with the current version of CoH2)
23 Sep 2013, 03:21 AM
#19
avatar of People

Posts: 20

Thank you so much.
27 Sep 2013, 12:03 PM
#20
avatar of c r u C e

Posts: 525

Always exits game,somebody can help?
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

506 users are online: 506 guests
1 post in the last 24h
7 posts in the last week
39 posts in the last month
Registered members: 49062
Welcome our newest member, Mclatc16
Most online: 2043 users on 29 Oct 2023, 01:04 AM