Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
What this does is enable developer mode where an ingame SCAR command console can be used. Once this is done, start up the game and set up a custom game (you will notice that Automatching is disabled, because only other players with the -dev command line can play with you). After the map loads, press 'ALT+SHIFT+TILDE(~)'. This will open up the SCAR command console. Then enter this following line EXACTLY, otherwise you'll get a SCAR error and the game will pause (not freeze or hang, just press ESC and then again to unpase):
Player_SetResource(Game_GetLocalPlayer(), RT_Fuel, 9999)
Player_SetResource(Game_GetLocalPlayer(), RT_Manpower, 9999)
Player_SetResource(Game_GetLocalPlayer(), RT_Munitions, 9999)
You can replace 9999 with any number between 0 and 9999. It wont go higer or lower.
Here is the command to set your commander points.
Player_SetResource(Game_GetLocalPlayer(), RT_Command, 16)
I believe you can set the command points to however many you want, but you shouldn't go too high, perhaps staying below 20 should be fine.
I'm still trying to figure out how to change the resource gain per minute, instead of just instantly increasing it. I'll let you know when I get it to work.
Here's how to change the resource rate per minute.
Modify_PlayerResourceRate(Game_GetLocalPlayer(), RT_Manpower, 2)
Modify_PlayerResourceRate(Game_GetLocalPlayer(), RT_Fuel, 2)
Modify_PlayerResourceRate(Game_GetLocalPlayer(), RT_Munition, 2)
This will multiply the resource per minute rate by 2. So lets say, you start with +292 Manpower income per minute, entering the line above will times that number by 2 and make it +592. The same thing with Fuel and Munitions. There is a limit I believe. I haven't been able to go above +1200, or about there. It can also be done to other AI players in the game. Just replace 'Game_GetLocalPlayer()', with 'World_GetPlayerAt(index). Replace 'index' with a player number between 1 and 8. This will make for some intense battles.
Here's the full thread on this.
http://steamcommunity.com/workshop/discussions/-1/648814841518164863/?appid=231430
Trigg is correct. Make sure you don't add any extra letters at the end of the resource name.
If you still can't get it to work, here's a link to the Cheat Commands mod.
http://www.moddb.com/mods/cheatcommands-mod
It simplifies those SCAR commands to keyboard commands. It also adds a TON of new features, like the ability to increase a units damage, instantly heal units, spawn any unit at the press of a key, and much more. Follow the installation instructions to get it to work.
Thx
You'll notice that this table is from COH 1, but the commands I posted here work with COH 2 because its pretty much the same engine. Good luck trying to find anything, took me a while to find what I was looking for.
Edit: WAIT! Scratch that! I just found what you might be looking for. It's under the Modifiers subfolder branch, here's an example of one: Modify_AbilityDelayTime.
Hey Guys,
I'm Playing this on mac, and the first set of codes works (Player_SetResource...) apart from munitions, which returns an 'attempt to call a nil value' error. The Modify_PlayerResourceRate ones all return that same error, is there anything I'm doing wrong? I've typed them perfectly and all variations of them I've found online such as trying World_GetPlayerAt(1), etc but nothing's working! This is all I want from life haha.
Thank you very much, forums are awesome, this is where the internet lives.