Jump to content

Recommended Posts

Posted

XcomGame>Config is an ini file called DefaultCheats.ini. Does anyone know how to use it?. Seems to be developer console commands. Im a bit of a cheatoholic those cheats look handy. Busy life dont have much time to actually hunker down and play a game legit.

Posted

In XCOM EU we used console commands. Such commands can be bound to a key.

 

UnlimitedMoves command is cool for fast testing. Hm, 10 hours and few minutes to European release :)

Posted

So DefaultCheats.ini contains plenty of Command Sets - console commands grouped to named sets, managed by XComGame.upk.XComCheatManager.

 

Command Sets functionality is similar to exec Filename.txt command, but they cannot be changed on the fly like commands in text file.

DefaultCheats.ini syntax is obvious. I've added two sets at the end of the file.

Name=PrettyScreenshot
Command=UIToggleVisibility
Command=ToggleUnitFlags
Command=UIToggleTether
Command=UIToggleDisc
Command=ToggleFOW

Name=NeedSomeResources
Command=GiveCash 999
Command=GiveItem Elerium115 999
Command=GiveItem AlienAlloys 999
Command=GiveItem WeaponFragment 999
Command=GiveItem Meld 999

Next I've added bindings at the end of DefaultInput.ini, where Command="RunCommandSet NameFromDefaultCheats.ini".

[XComGame.XComTacticalInput]
.Bindings=(Name="F12", Command="RunCommandSet PrettyScreenshot")
[Engine.PlayerInput]
.Bindings=(Name="F12", Command="RunCommandSet NeedSomeResources")

The same functionality can be achieved by putting commands into text file placed in Binaries folder and binding it in DefaultInput.ini

// PrettyScreenshot.txt
Command=UIToggleVisibility
Command=ToggleUnitFlags
Command=UIToggleTether
Command=UIToggleDisc
Command=ToggleFOW

// DefaultInput.ini
.Bindings=(Name="F12", Command="exec PrettyScreenshot.txt")

Somebody can try calling Command Sets from the code, if it's possible.

  • 6 years later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...