XCOM 2
Not enough ratings
[WOTC] Controller Cheats
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
59.096 KB
Mar 25, 2020 @ 2:31pm
Mar 25, 2020 @ 3:16pm
2 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[WOTC] Controller Cheats

Description
Controller Cheats

Did your grenadier miss a point blank 99% shot? Did your ranger just get shot through high cover from halfway across the map?
Don't get mad! Cheat! But wait, WelfareRecipient, I'm a filthy casual controller player and I just want to sit on my couch without a keyboard.
Fear not, this mod brings you back to days of old where games had cheat codes.

source code available on github[github.com]

This mod requires the highlander to work.

By default this mod adds the following cheats to the game:
UUDDLRLRA - RestartLevel UDLRX - PowerUp

How To Cheat

During the tactical phase, hold down LT + RT to activate cheat mode. You'll know you're in cheat mode because no other input will work.
Once in cheat mode, you can cancel out of it by pressing in the right stick.
Or you can enter a cheat sequence. Once a cheat sequence is complete, the cheat will be activated and cheat mode will end.

Adding Your Own Cheat Codes

Additional codes can be added by modifying this config file:
%steamdir%\steamapps\workshop\content\268500\2035316137\Config\XComControllerCheats.ini

Once in this file, enter the sequence of buttons you'd like and the xcom2 console command [docs.google.com] to execute. Note that some cheats do not work in the tactical phase.

The command string can comprise of the following values::
Letter
Input
U
D-Pad Up
D
D-Pad Down
L
D-Pad Left
R
D-Pad Right
A
A
B
B
X
X
Y
Y
S
Start
Bumpers, triggers and the select key are not supported.

For example:
+CheatCodes=(Command="ABXY",Cheat="killAI")
Will add a code to execute `KillAi`, when you enter the sequence A,B,X,Y
Also realize that cheat codes themselves cannot have substrings of other cheats or else they won't execute. E.g.
If you have a code ABXY, and you try to add another one with sequence ABXYS, then you can never enter the second one, as the first code will terminate cheat mode.

Thanks
Xcom2 modding discord for helping me out with this project.

If you use this project please like and favorite, as it raises awareness.
11 Comments
Rayuto75 Jun 25, 2022 @ 12:16pm 
how to add extra move?
Charles Snippy Mar 29, 2020 @ 7:36am 
This is awesome. Bringing some old school stuff to the modern unfairness in this game.
Feyn Mar 29, 2020 @ 12:50am 
Don't wanna clutter up comment section, mind if i PM you? :)
WelfareRecipient  [author] Mar 28, 2020 @ 9:13pm 
I have no issue with you using any of the code in my mods. What are you thinking about?
Feyn Mar 28, 2020 @ 12:25am 
@WelfareRecipient Thanks for your help with enhancing controller support!
You can add the cheat codes to this mods .ini and simply comment them out!
Also i was wondering if i could use your code in one of my projects,
and also maybe collaborate with you on a new controller compatibility mod?
Johto Gunner Mar 28, 2020 @ 12:25am 
Aaaaah, this mod takes me back... I remember buying cheat books just to find the codes for each game. Good times... Good times...

Thanks for reminding me about those good times with this mod!
WelfareRecipient  [author] Mar 27, 2020 @ 6:07pm 
Thanks, btw does it make sense to release an ini mods of cheat codes? The unfortunate problem with adding new cheats is that it means it'll do an ini update and wipe out user settings.
Pughausen Mar 27, 2020 @ 8:09am 
This is amazing! Thank you!
Odin Mar 26, 2020 @ 12:18pm 
you cant get mods on console
SOGA-THE-KILLER Mar 26, 2020 @ 3:39am 
We don't talk about the filthy console peasants.