XCOM 2
[WOTC] Amalgamation Console Helper
52 条留言
Joe Marotta 4 月 11 日 上午 9:56 
Thank you for the response and explanation. I'll take a look. These console commands are a great tool. Thank you for creating!
XpanD  [作者] 4 月 9 日 上午 3:43 
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 4 月 8 日 下午 3:07 
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 1 月 20 日 下午 5:30 
Ah, i see, the font wasnt clear. Much appreciated. Thank you for the fast response.
XpanD  [作者] 1 月 20 日 下午 5:17 
You'll want "Skv" there, not "Sky" -- those are Stukov's specs.
Daminotaur 1 月 20 日 下午 5:11 
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  [作者] 1 月 20 日 上午 2:25 
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 1 月 19 日 下午 8:01 
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  [作者] 2024 年 12 月 24 日 上午 2:31 
Updated the page, should hopefully be a bit clearer now!
Corabiit 2024 年 12 月 23 日 下午 8:21 
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  [作者] 2024 年 12 月 23 日 下午 12:57 
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 2024 年 12 月 23 日 下午 12:55 
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  [作者] 2024 年 12 月 23 日 下午 12:42 
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 2024 年 12 月 23 日 下午 12:35 
"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  [作者] 2024 年 12 月 23 日 下午 12:19 
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 2024 年 12 月 23 日 下午 12:14 
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 2024 年 11 月 17 日 上午 11:34 
I am sorry somehow missed that xD
Thank you anyways for this mod, it is really helpful.
XpanD  [作者] 2024 年 11 月 17 日 上午 2:25 
No plans currently, sorry. See my reply from the third of October for more info.
Oniwabanshu 2024 年 11 月 16 日 下午 3:06 
Hello,
Will you add support for "Amalgamation: Mec Trooper Edition" ?
XpanD  [作者] 2024 年 10 月 10 日 上午 1:23 
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 2024 年 10 月 9 日 下午 9:47 
Is there a way to export the console output (text file ....) , other than take screenshots?
XpanD  [作者] 2024 年 10 月 3 日 上午 2:09 
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 2024 年 10 月 2 日 下午 8:59 
is there a way to make the list specs command show the mec trooper specs?
XpanD  [作者] 2024 年 10 月 1 日 上午 9:48 
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 2024 年 10 月 1 日 上午 9:39 
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 2024 年 9 月 27 日 上午 12:47 
@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 2024 年 9 月 26 日 下午 9:53 
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 2024 年 9 月 26 日 下午 9:42 
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  [作者] 2024 年 9 月 19 日 下午 12:49 
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 2024 年 9 月 19 日 下午 12:15 
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  [作者] 2024 年 9 月 16 日 上午 2:05 
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 2024 年 9 月 15 日 下午 3:11 
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  [作者] 2024 年 9 月 12 日 下午 1:50 
Aaand another big update out today. Go check the change notes, way too much to put in here.
XpanD  [作者] 2024 年 9 月 7 日 上午 8:03 
It should up when you hit... ` or ~ (or sometimes @, ' or AltGr + ö)

Depends on keyboard layout, it can be a bit strange sometimes.
Usually Insane 2024 年 9 月 7 日 上午 7:49 
How do I get the topdown console? when i press the console button i only get a small bar in the bottom
XpanD  [作者] 2024 年 8 月 5 日 上午 4:13 
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 2024 年 7 月 29 日 上午 9:20 
brilliant. thanks for the help! i've got rid of the annoying splash screens too.
XpanD  [作者] 2024 年 7 月 29 日 上午 8:03 
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 2024 年 7 月 29 日 上午 7:52 
how do i even get console commands of any type, do i need to allow something?
XpanD  [作者] 2024 年 7 月 29 日 上午 6:54 
All good, glad it was something simple!
BasicallyDirt 2024 年 7 月 29 日 上午 6:40 
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  [作者] 2024 年 7 月 29 日 上午 6:32 
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 2024 年 7 月 29 日 上午 6:28 
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  [作者] 2024 年 4 月 14 日 上午 2:50 
Yup, commands only.
kunwoo 2024 年 4 月 14 日 上午 2:49 
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  [作者] 2024 年 1 月 22 日 上午 8:19 
Big update today, lots of new/changed commands! Check the Change Notes section for more info. Now to get some better pics up...
XpanD  [作者] 2024 年 1 月 16 日 上午 2:13 
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  [作者] 2023 年 12 月 13 日 上午 11:49 
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  [作者] 2022 年 12 月 11 日 上午 3:29 
(done)
XpanD  [作者] 2022 年 12 月 11 日 上午 1:44 
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)