XCOM 2
[WOTC] Amalgamation Console Helper
52 Comments
Joe Marotta 11 Apr @ 9:56am 
Thank you for the response and explanation. I'll take a look. These console commands are a great tool. Thank you for creating!
XpanD  [author] 9 Apr @ 3:43am 
That'll be due to an exclusion -- somewhere, in one of the XComAmalgamation config files in your mod list, there are IncompatibleSpecs entries blocking those specific pairings.

Since Shadow is a base Amalgamation spec and base Amalgamation only excludes its own specs, you can safely skip looking there. The exclusions you're looking for are most likely in the configs for the Grenade Connoisseur and Claymore mods.

As for why that's not being shown in-game... When the game starts up, it merges every config of a given type into a huge list. This unfortunately makes it so individual changes can no longer be traced back to their original mods; we can only see that an exclusion exists, but not what added it. It works pretty well, but does get a little awkward in cases like these.
Joe Marotta 8 Apr @ 3:07pm 
i am trying to allow for Shadow, GConnoisseur Claymore. I used FinBlockedClasses Shadow. Sure enough it is blocked. I checked various XcomAmalgamation.ini files and can't find the issue. Can any of these console commands help me pinpoint <why> it is blocked? Much thanks!
Daminotaur 20 Jan @ 5:30pm 
Ah, i see, the font wasnt clear. Much appreciated. Thank you for the fast response.
XpanD  [author] 20 Jan @ 5:17pm 
You'll want "Skv" there, not "Sky" -- those are Stukov's specs.
Daminotaur 20 Jan @ 5:11pm 
Findspecs doesnt seem to be able to locate any of the Sky classes, SkyAssassin, SkyScout, etc.

Keeps returning the error messsage "could not find the provided specializations".

I tried FindSpecs Assassin, error
I tried FindSpecs SkyAssassin, error
I tried FindSpecs SkyAssassin(Assassin), error
I tried FindSpecs SkyAssassin (Assassin), error

I do have a xcom soldier that has Assassin class, so it should not be a banned class... but am I doing it wrong?
XpanD  [author] 20 Jan @ 2:25am 
You can get a list of different specs by category with CountSpecs, and then use something like RollSpecs/RandomizeSoldierSpecs with one or more preferences (and the "any" keyword), or SetSoldierSpecs with all three specs provided.

Note that only valid classes can be applied, as invalid combinations never get any classes created in the first place. (you can check this in-game using PrintBlockedSpecs or PrintSpecInfo)
Daminotaur 19 Jan @ 8:01pm 
Hi. Love your mod. Would like to experiment by manually giving my squaddies specific classes. Do you have a list of all primary, secondary, and tertiary classes?

Thank you.
XpanD  [author] 24 Dec, 2024 @ 2:31am 
Updated the page, should hopefully be a bit clearer now!
Corabiit 23 Dec, 2024 @ 8:21pm 
I defer to your knowledge and agree. I am definitely a novice.
Thank you, sincerely, for this mod though. (and all your efforts)
It truly helps a lot once I learned how to use it.
XpanD  [author] 23 Dec, 2024 @ 12:57pm 
The way they're written is actually following standard notation -- the brackets indicate whether an argument is required or not. Can see it being confusing for those not used to the format, though.

I'll have a think on whether I can convey that more clearly, though the pictures do also show how the commands work.
Corabiit 23 Dec, 2024 @ 12:55pm 
I appreciate the effort put into making the mod and your quick response.

The instructions:
"Angle bracket arguments ("<" and ">") are required, "

and all of them being typed out like:
"RollSpecs <amount> [primary spec] [secondary spec] [tertiary spec] [bypass config filter?]"
or
"SetSoldierSpecs <primary spec> <secondary spec> <tertiary spec> [rank level]"

Makes it seem like it needs to be typed that way.
So if someone copies and pastes your exact instructions it wont work. (An obvious issue)



Either way, thanks again for your efforts and response.:steamthumbsup:
XpanD  [author] 23 Dec, 2024 @ 12:42pm 
Two issues -- the brackets are just for showing the argument type (they shouldn't be used in the actual command), and you're using the wrong name for Field Surgeon. Use the second name listed in CountSpecs, it'll likely be something like FieldSurgeon. (template names can't have spaces)

Something along these lines should work: SetSoldierSpecs Savior Valkyrie FieldSurgeon
Corabiit 23 Dec, 2024 @ 12:35pm 
"CountSpecs" = Works fine and gives readout of options. Using those options/spelling I try to use:

SetSoldierSpecs <Savior> <Valkyrie> <Field Surgeon> [1]

Which NEVER works no matter what I put in between the <>
(Not a single one that is printed under primary specializations works.)

Attempting to use <any> in any/all 3 spots does nothing either because, apparently, it cant find any.
XpanD  [author] 23 Dec, 2024 @ 12:19pm 
What are you typing, exactly? And is the spec you're targeting actually part of Amalgamation, or is it from a spinoff like the MEC mod? Those aren't supported right now, would need a separate mod.
Corabiit 23 Dec, 2024 @ 12:14pm 
I wish this mod worked...

Instead I get...
"Error: Could not find the provided primary specialization."

No matter what primary I choose. Obviously, everything is spelled correctly.
Oniwabanshu 17 Nov, 2024 @ 11:34am 
I am sorry somehow missed that xD
Thank you anyways for this mod, it is really helpful.
XpanD  [author] 17 Nov, 2024 @ 2:25am 
No plans currently, sorry. See my reply from the third of October for more info.
Oniwabanshu 16 Nov, 2024 @ 3:06pm 
Hello,
Will you add support for "Amalgamation: Mec Trooper Edition" ?
XpanD  [author] 10 Oct, 2024 @ 1:23am 
Nope, not currently, sorry. Amalgamation itself does bundle a "DumpClassTemplates" command for printing all the classes (non-Amalgamation ones included) to the log, in case that's what you're looking for.
Timberwolf 9 Oct, 2024 @ 9:47pm 
Is there a way to export the console output (text file ....) , other than take screenshots?
XpanD  [author] 3 Oct, 2024 @ 2:09am 
Nope, not currently. The MEC Trooper specs use a slightly different system to normal Amalgamation internally, and would likely need their own console mod. (as it would have to be built against that mod instead of base Amalgamation)
NyanPKat 2 Oct, 2024 @ 8:59pm 
is there a way to make the list specs command show the mec trooper specs?
XpanD  [author] 1 Oct, 2024 @ 9:48am 
Weird stuff, glad a restart fixed it.

(and yeah, the mod is safe to add/remove at any time, makes me wonder if something got left behind in a broken state somehow)
Soul 1 Oct, 2024 @ 9:39am 
Can I not unsub to it/uninstall in AML?
Trying to load the game without it give me a
appDebugMessagef : Error detected attempting load of package : AmalgamationConsoleHelper
Pressing ok and then it inf load
I tried unsubbing to all the Amalgamation stuff but yeah its still here,so not sure what could conflict or something,if anyone have an idea I'm taking
edit : a restart of my pc fixed it somehow,all good
poemedia 27 Sep, 2024 @ 12:47am 
@RustyDios Thank you for replying. I understand they have standard classes and i wouldn't change that for them. I was trying to find out which is the console command if there is one to reset the ones i captured. The training facility just freezes / crashes my game when i try 'Train soldier to another class'.
RustyDios 26 Sep, 2024 @ 9:53pm 
MOCX are supposed to have standard classes as per the config that converts MOCX > XCOM classes.
You can set their classes to a random AMA spec using the various RollSpecs commands
poemedia 26 Sep, 2024 @ 9:42pm 
Hi all. I need help, please. I captured mocx soldiers and they have standard classes, like ranger and specialist. How can I reset them to get the random amalgamation classes I use? Thank you.
XpanD  [author] 19 Sep, 2024 @ 12:49pm 
Ha, good timing on that one. I just started a new run a few days ago, and also found myself thinking that something like that would be nice to have. I was thinking "RollSpecsByWeapon # PrimaryWeapon SecondaryWeapon" with it only requiring one, but may end up following your idea instead. (probably a bit simpler)

Not sure when I'll get around to implementing it, but it's at the top of the list!
Hotchi 19 Sep, 2024 @ 12:15pm 
Hi there, i played alot of modded xcom with this mod and want to propose a new addition.

Sometimes you really need/want a class that uses a specific weapon. right now you can create a list of all weapons with CountSpecWeapons but there is no way to random role for a specif weapon. So at the moment i need to choose one of the available classes and role only for that class.

To conclude a new option matching RollSpecs named something like RollSpecWeapons <amount> <weapontype> to still have the random affect but only the rolled weapon type. Also include it in ApplyClass.

Either way many thanks for creating this mod it is awesome!:steamthumbsup:
XpanD  [author] 16 Sep, 2024 @ 2:05am 
Long story short: It doesn't! The project is at 25 positive and 0 negative, but because it doesn't have enough likes yet Steam somehow caps it at 3 stars. Thanks for the kind words!
Madzak 15 Sep, 2024 @ 3:11pm 
I don't know how Steam coring system works, but this mod is invaluable, so it should be at 6/5 stars. I could not play Amalgamation without it. GG.
XpanD  [author] 12 Sep, 2024 @ 1:50pm 
Aaand another big update out today. Go check the change notes, way too much to put in here.
XpanD  [author] 7 Sep, 2024 @ 8:03am 
It should up when you hit... ` or ~ (or sometimes @, ' or AltGr + ö)

Depends on keyboard layout, it can be a bit strange sometimes.
Usually Insane 7 Sep, 2024 @ 7:49am 
How do I get the topdown console? when i press the console button i only get a small bar in the bottom
XpanD  [author] 5 Aug, 2024 @ 4:13am 
Pushed out another update, adds a new "CountBarracksSpecs" command (lists all rolled specs along with which characters have them) and fixes a few issues. Also some quality-of-life.
MoW 29 Jul, 2024 @ 9:20am 
brilliant. thanks for the help! i've got rid of the annoying splash screens too.
XpanD  [author] 29 Jul, 2024 @ 8:03am 
If you're using the Alternative Mod Launcher (which is generally a good idea anyways), go to Options > Settings and put "-allowConsole" at the end of the options in the Active Arguments box. Be sure to type it as-is (capital "C" included), add a space between it and previous arguments, and don't include the quotes.

You should then be able to use them when you next start the game.
MoW 29 Jul, 2024 @ 7:52am 
how do i even get console commands of any type, do i need to allow something?
XpanD  [author] 29 Jul, 2024 @ 6:54am 
All good, glad it was something simple!
BasicallyDirt 29 Jul, 2024 @ 6:40am 
Omg that was such an easy fix, yes sorry i did not know the game had 2 types of consoles, thank you so much, have a great day
XpanD  [author] 29 Jul, 2024 @ 6:32am 
How are you opening the console? The game has two different console types, one with a small bar at the bottom and one with the big box from the screenshots. You'll need that second one for these commands.

(should be on the ` or ~ key, though it could also be something like @ or ' or Ö depending on your keyboard layout)
BasicallyDirt 29 Jul, 2024 @ 6:28am 
hi, sorry if this is a dumb question but when i try to use a comand like CountSpecs nothing happens, how do i get it to show me the list
XpanD  [author] 14 Apr, 2024 @ 2:50am 
Yup, commands only.
kunwoo 14 Apr, 2024 @ 2:49am 
Hey! Does the rarity filter settings only impact the class rolled from the console commands or also the first promotion on rookies? I'm guessing it's the former :)
XpanD  [author] 22 Jan, 2024 @ 8:19am 
Big update today, lots of new/changed commands! Check the Change Notes section for more info. Now to get some better pics up...
XpanD  [author] 16 Jan, 2024 @ 2:13am 
Found a base Amalgamation quirk that caused CountSpecWeapons to count certain secondary weapons wrong for specs that granted them for both slots at the same time.

Workaround coming in the next update, but no date on that one yet. For now, take numbers on dual-wield secondaries like lightsabers and pistols with a grain of salt.
XpanD  [author] 13 Dec, 2023 @ 11:49am 
Heads up: RollDie is moving to my brand new "XpanD's Console Commands" mod. Made some cool non-Amalgamation stuff and gave it its own mod to sit in. For now, you'll get two rolls if you use it with both mods installed. Update soon that removes it from here and adds a bunch of new stuff + fixes.
XpanD  [author] 11 Dec, 2022 @ 3:29am 
(done)
XpanD  [author] 11 Dec, 2022 @ 1:44am 
Update is out with two new commands, CountSpecWeapons and ApplyClass.

(will probably push out another one a bit later to swap the argument order on RandomizeClass, there's really no need for it to REQUIRE a true/false)