Login

russian armor

COH2 CheatCommands Mod

8 Jun 2013, 12:19 PM
#2
avatar of chains

Posts: 42

Edit: Sorry I misread! Cool mod Janne!
8 Jun 2013, 12:44 PM
#3
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

CheatCommands Mod has nothing to do with BuckyBoy other than giving the inspiration for me to develop CheatCommands Mod. I don't know is he "back" or not. He has not been updating 1337coh.com news since January.
8 Jun 2013, 16:35 PM
#4
avatar of RsvT

Posts: 117

Only Relic postRelic 8 Jun 2013, 22:20 PM
#5
avatar of Tribalbob
Developer Relic Badge

Posts: 160 | Subs: 3

Well that didn't take long. Your UI is nicer than our debug menu UI.
10 Jun 2013, 02:15 AM
#6
avatar of Inverse
Coder Red Badge

Posts: 1678 | Subs: 5

Sweeeeeeeet!! This'll make the replay tools I'm coding a lot easier to develop!! Thanks!
12 Jun 2013, 18:47 PM
#7
avatar of gunther09
Donator 22

Posts: 538

this sounds super interesting. But cannot get it to work. Downloaded, unpacked, moved to game Folder, created shortcut, added commands.
But whenever I click the shortcut, game starts, together with a funny error message from steam saying "game is already running" and then it starts as usual. Any idea?
12 Jun 2013, 19:04 PM
#8
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

@gunther09
Please post your shortcuts target line here.
You could also try adding launch parameters in steam for testing it.
Code

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 "-dev -mod CheatCommands" without quotation marks and click OK.
4. Close the game's Properties window and launch CoH2.



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"

A youtube video demonstrating the new Health Monitor system:
12 Jun 2013, 21:29 PM
#9
avatar of ROCCAwarMACHINE

Posts: 92

does it work online? MVGame
13 Jun 2013, 04:49 AM
#10
avatar of ThisIsKindergarten

Posts: 14

Impressive work!

And I guess it will work online as long as the opponents use the same mod. But you can already control your opponents units so why would you need one?
13 Jun 2013, 08:03 AM
#11
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

does it work online?
MVGame

Impressive work!
And I guess it will work online as long as the
opponents use the same mod. But you can
already control your opponents units so why
would you need one?


Cheatcommands mod does not work with multiplayer. A lot of features count on mouse position and since it is local for everyone, a sync error will occur. This mod is designed for singleplayer/skirmish only. I might do an MP version after game release.
13 Jun 2013, 20:05 PM
#12
avatar of gunther09
Donator 22

Posts: 538

wow thank you. The steam command together with your 1.01 did the trick. Thank you!!
Update: Desktop shortcut now works as well. May be it was just a "shut up and reboot" that did the trick.
14 Jun 2013, 16:05 PM
#13
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Version 1.02 Released:
Beta 1.02 - 14/Jun/2013

Changelog:
Code

Version: Beta 1.02
Date: 14/Jun/2013
Changes:
- Implemented a command to disable/enable messages (Control + Alt + F11)
- Implemented a command to toggle between spawn modes (spawn as neutral or for local player if nothing is selected, hotkey: Alt + Shift + F1, default: Spawn for local player)
- Fixed a fatal scar error in E3 Demo campaign mission/tutorial mission, caused by outdated scarutil.scar file in the mod
-------------------------------------------------------------
14 Jun 2013, 17:32 PM
#14
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

23 Sep 2013, 01:15 AM
#15
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

CheatCommands Mod Light Edition, version 1.15
NOTE: This version of the CheatCommands Mod will most likely be only available and updated for as long as -dev command like 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.

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:
- testing and learning units and game mechanics
- reproducing events for debugging (for example reproducing an event causing a bug/glitch)
- single player cheating

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:
Code

Generic commands:
-------------------------------------------------------------------------------------------
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
Control + [0-9, a-z]: Spawn squads of selected army
Shift + [0-9, a-z]: Spawn entities of selected army

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

Shift + F1: Squad spawning hotkeys
Shift + F2: Entity spawning hotkeys

Control + Shift + 1: Spawn hotkey source: Hand-Made
Control + Shift + 2: Spawn hotkey source: Raw

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 + Alt + T: Set all territory sectors netural or owned by selected player

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

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

Downloads:
Downloads Page, always up to date

[Version 1.15 - 9/30/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
26 Sep 2013, 13:34 PM
#16
avatar of OnkelSam
Honorary Member Badge

Posts: 1582 | Subs: 4

is this working with the newest patch, yet?
26 Sep 2013, 14:41 PM
#17
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

By tomorrow. Corsix already updated his hack to allow loading unsigned sgas. I will update this as soon as I can. In meanwhile, experienced users can request instructions to recompile my mod's sga with the latest .fnt file provided by corsix.
27 Sep 2013, 21:16 PM
#18
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Version 1.11 is up - download.
Changelog:
Code

[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.
1 Oct 2013, 13:00 PM
#19
avatar of j0hnn0

Posts: 10

Doesn't work with Case Blue DLC mission? Can you be VAC banned for using this?

edit- it wiped all my Case Blue DLC progress, now instead of all mission unlocked to General (except 1) they were all reset. Didn't wipe the Steam achievements though.
1 Oct 2013, 19:28 PM
#20
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

jump backJump back to quoted post1 Oct 2013, 13:00 PMj0hnn0
Doesn't work with Case Blue DLC mission? Can you be VAC banned for using this?

I wouldn't consider VAC ban as a possibility.

jump backJump back to quoted post1 Oct 2013, 13:00 PMj0hnn0

edit- it wiped all my Case Blue DLC progress, now instead of all mission unlocked to General (except 1) they were all reset. Didn't wipe the Steam achievements though.

Reason for that was most likely CheatCommands mod not loading Case Blue archives to the game. I got my Case blue stats wiped as well.
Version 1.15 is up! Download link is in the first post. Alternatively you can click here.
Changelog:
Code

[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

-


Version 1.15 should not wipe Case Blue progress.

For those of who can't get the mod to work but are able to zoom out:
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.
1 Oct 2013, 20:47 PM
#21
avatar of AmiPolizeiFunk
Admin Black Badge
Patrion 15

Posts: 16697 | Subs: 12

We can remove the UI with this? Fantastic. This is a virtual COH2 artist's ultimate tool. :wub: :wub: thank you!
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

574 users are online: 574 guests
19 posts in the last 24h
47 posts in the last week
101 posts in the last month
Registered members: 44656
Welcome our newest member, Fox's Pacier Sprints
Most online: 2043 users on 29 Oct 2023, 01:04 AM