XCOM 2
[WOTC] XpanD's Console Commands
77 σχόλια
XpanD  [Δημιουργός] 9 ώρες πριν 
Just downloaded it to check, and my game seems to open okay with both mods active.

I'd be kind of curious to see the log output here, but I don't think this CAN be an incompatibility; both mods are fully self-contained and don't do anything that could be incompatible with any other mods, other than maybe overlapping a command or two.

I feel like the "mod stays active despite being unticked" thing is important, here; it sounds like something in your setup is keeping files stuck in inconsistent states. Unticking should always work; this removes the mod from the engine config (XComModOptions.ini) the game uses to decide what to load.

If you haven't yet, try rebooting your PC. That might clear out ghosts in the system like this.
Mr_Snipz 10 ώρες πριν 
I also posted this to the other person's mod page too if you wanted to see about reaching out to ∑3245 directly
Mr_Snipz 10 ώρες πριν 
I think I may have found your first incompatibility?

I’ve used the mod “[WotC] UC - Character Pool Restoration” by ∑3245 (link below) for years with no issues, until after I downloaded your mod. After starting the game via AML, I get a "appDebugMessagef" notification with the message: "Error detected attempting load of package: WotC_Misc_CharPoolToJSONUtil", which is something from ∑3245’s mod. After that, the game gets stuck and won't start unless I uncheck ∑3245’s mod.

https://steamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2850536604

When I do uncheck ∑3245’s mod, the game runs like normal, except their console commands don't work. However, your mod’s console commands are now always available in my game whether I have your mod checked or not.

Do you know of a solution to this or what may be causing this?
crumb 17 Νοε, 11:06 
This is an incredibly narrow request, but would it be possible to implement a force return to Avenger command, or do you know any way of doing this? I have an ironman save at the final mission that I want to go back to the Avenger screen from in order to get a screenshot of the soldier list in the barracks. I can't find any way of doing this. Some talented mod author is maybe my only hope!
Dragon32 31 Οκτ, 14:07 
What he said. :spacehamster:
XpanD  [Δημιουργός] 31 Οκτ, 13:57 
Console is enabled with the "-allowconsole" launch argument outside of the game itself, ironman won't affect it. Assuming you're using the Alternative Mod Launcher (which you probably want to be), just go to Options > Settings and add it at the end of the "Active arguments" box. (with a space between it and the previous entry)

Once this is done, hit ` or ~ to open the big console. May be different depending on keyboard layout, just try a few keys. Make sure you use the big console, not the small single-line one at the bottom of the screen.
SlowPokeDerp 31 Οκτ, 13:16 
@Dragon32
Do you know of a way to enable the console in Ironman? I am hounding for it
Dragon32 31 Οκτ, 13:12 
@SlowPokeDerp
Yes, add the mod and enable the console in launch options
SlowPokeDerp 31 Οκτ, 13:00 
Is there a way to use this during an Ironman playthrough?
XpanD  [Δημιουργός] 5 Οκτ, 15:09 
Got that on the list along with a few other similar testing commands, no ETA on it yet though.
Merlin Jonson 5 Οκτ, 14:50 
can you add knock out unit?
XpanD  [Δημιουργός] 28 Αυγ, 6:51 
Aaaand another big update. (for FindX fans anyways, though ToggleFreeView got upgraded a bit too)
XpanD  [Δημιουργός] 24 Αυγ, 1:14 
You're welcome! I do want to add a few commands like that eventually, especially now that I've gotten some practice in with Quantum Supremacy. Not sure what that'll look like (or when it'll be) yet, though.
AgisTournas 23 Αυγ, 14:36 
@XpanD
Thank you for this wonderful mod.
Is there a chance that you could add the "GiveSoldierAWCAbility" command (as from Grimy's Console Commands) and also create/include a new one to be able to delete a soldier ability?
XpanD  [Δημιουργός] 12 Αυγ, 1:29 
Huge update today! Check the Change Notes page for all the goods.

(@General Anakin Skywalker: this also has the captured soldiers fix in ListSoldiers)
Chubby 3 Αυγ, 21:08 
Yeah, no crates but mission success still so that's good enough for me. Thanks for the mod!
XpanD  [Δημιουργός] 3 Αυγ, 2:23 
Nope, WOTC only, sorry. It's unfortunately not feasible to keep up two separate builds for two (very) different versions of the game.

(also, worth noting -- confusingly enough, ForceCompleteObjective is only for strategy objectives and does nothing in tactical, despite what some sites say)
VanDusen 3 Αυγ, 1:52 
Can I get this mod to work wth xcom2/LW2? Stuck on alien activity beginning of AvengerDefense and the vanilla ForceCompleteObjective doesnt work. I can force end mission but lose ... Ironman of course. Restart Level etc. nothing works, last straw here ...
Smooth 2 Αυγ, 3:30 
I'll keep an eye out for an update, then! No rush, it's not a big deal. Seems like once a bond lv1 is formed they get raised to 7.5 minimum anyways, which is pretty much good enough as far as I'm concerned
XpanD  [Δημιουργός] 2 Αυγ, 0:47 
I'm not sure how many crates it'll count, but it should count the mission as a success at least. Let me know!
Chubby 1 Αυγ, 20:06 
Does EndBattleForceWin also complete optional objectives like getting those supply crates in those supply raid missions? Had a mission where the map broke, so I'm wondering if it'll give me those.
XpanD  [Δημιουργός] 1 Αυγ, 5:30 
Not currently, but it's on the list of things to look at. Would be nice with all the new bond overhaul mods on the Workshop.
Smooth 1 Αυγ, 5:25 
Is there a command that can increase Compatibility between soldiers (not bond level)?
jahsinha 11 Μαϊ, 23:55 
Hmm. Thanks, Rusty. I'll have to check this out if I run into this again.
RustyDios 10 Μαϊ, 18:50 
CI already has it's own command for that, on the Geoscape with the mission open (ready to launch) use "ForceAbortSelectedInfil" and it should auto-complete the mission for you.
jahsinha 10 Μαϊ, 15:03 
endinfiltrationforcewin. is this a possible command you can build? Endbattleforcewin has been a life saver in bugged tactical missions and lets me go one with my life w/o cheating - I won but due to some endless spawn or some other nonsense, I can't progress. Recent bug is is trying to launch a CI infiltration after 250% and the map won't load - ctd in the opening cinematic. yes, I can binary search and all that but I'd rather cancel the infil or win it and move on. Possible?
General Skywalker 13 Απρ, 10:52 
Yeah no problem !
I'll try to find another way to see the state of my captured soldiers, to see if they died or not
XpanD  [Δημιουργός] 13 Απρ, 10:22 
Huh, that's definitely not intended. Taking a break for a bit, but I'll see if I can reproduce that whenever I start a new playthrough. Thanks for letting me know.
General Skywalker 13 Απρ, 7:52 
Only the soldiers we have in our ship.
And if we add "true", we see scientist and all the others stuff but not them
XpanD  [Δημιουργός] 13 Απρ, 2:21 
I don't fully remember how I set that up, but what does ListSoldiers show?
General Skywalker 12 Απρ, 19:28 
Can we see our soldier captured?
XpanD  [Δημιουργός] 18 Μαρ, 14:00 
"SetSelectedSoldiersStat eStat_Hacking VALUEHERE" should work there, it's part of the Additional Soldier Console Commands mod. (might be eStat_Hack instead)
Leokosta 18 Μαρ, 10:35 
Is there a command I can use to increase a soldier Hack Status ? I am trying Vipers Hacker class, but hes Hacking skill is to low for my taste. LWOTC + TedJam .Thank you
XpanD  [Δημιουργός] 20 Φεβ, 17:16 
You'll need the console enabled to use any commands, vanilla or modded. Not sure if there's a way of doing the launch argument thing with the vanilla launcher (or maybe through Steam?), but AML is nice enough to have that I'd recommend just using that for everything anyways.
Micheal J. Caboose 20 Φεβ, 14:32 
I see, do I need the AML to use normal commands as well? its kinda nutty they kinda not let you use it
XpanD  [Δημιουργός] 17 Φεβ, 13:47 
Copy/paste of an earlier post of mine for enabling the console:

- in AML, go to Options > Settings
- click into the Active Arguments box (not Quick Toggle Arguments!)
- add -allowConsole at the end (with a space between it and the other arguments)
- click OK
- restart game if it was open
- hit ` or ~ (or sometimes @, ' or AltGr + ö) to open the big console, \ or | to open the compact one

That should get the console up and running. Note that you'll want to be running the Alternative Mod Launcher for this, though that's generally recommended anyways. (as vanilla has some serious issues)
Micheal J. Caboose 17 Φεβ, 13:29 
Hey question, I am looking to use this mod, but having issues getting the command menu up anyway? any way to fix that before I use the mod?
Rowntree_Th 12 Φεβ, 21:00 
your a bloody legend mate worked perfectly,
XpanD  [Δημιουργός] 12 Φεβ, 19:25 
Do you still have the "-allowConsole" launch argument enabled? Good first thing to check.

If that doesn't work... Copy-paste from a guide I wrote a while back: "hit ` or ~ (or sometimes @, ' or AltGr + ö) to open the big console, \ or | to open the compact one"

Not aware of any mods force-disabling the console or doing anything else to it, but you may be on a different keyboard layout? Worth trying those other keys.
Rowntree_Th 12 Φεβ, 16:21 
any idea why console commands might be disabled entirely like do any other mods override use of tilde key or anything? it worked fine and then halfway through campaign stopped activating.
Jestimac 11 Ιαν, 8:10 
XpanD : Thank you very much
XpanD  [Δημιουργός] 11 Ιαν, 7:14 
GiveRandomRookies can technically do that, but it's just a wrapper over the MEME Give Soldier Command mod. I'd recommend grabbing that mod for this purpose.
Jestimac 11 Ιαν, 6:52 
Is there a console command to create new recruits or new soldiers ?
XpanD  [Δημιουργός] 3 Δεκ 2024, 2:20 
Nice, thanks for confirming.
Deacon Ivory 2 Δεκ 2024, 7:15 
EndBattleForceWin works on a Chosen Stronghold Assault if you have completed the first rooms and are in the main chamber.
Deacon Ivory 31 Οκτ 2024, 9:41 
FYI, the EndBattleForceWin will complete a Hostile VIP mission (capture them without killing them) successfully.
Simplxp 18 Οκτ 2024, 7:37 
Thank you xpand!!!!! :D
XpanD  [Δημιουργός] 18 Οκτ 2024, 3:40 
"InertMeld" should be the correct template name for that one, likely given through GiveResource. A FindResource would be nice, I'll add it to the list of things to look into at some point.
Simplxp 18 Οκτ 2024, 3:18 
Thanks for the commands xpand works so well. Would you happen to know how to add crystallised meld from console? I'm having trouble adding additem crystallisedmeld and giveresource crystallisedmeld does not do anything. Or is there a findresource command that you could add so I can see the item id?