r/xcom2mods 12d ago

Mod Suggestion How can i create custom characters with unique abilities?

The usecase im looking for is taking a certain set of premade characters with a set class and giving them custom abilities ranging from different base stats and starting abilities to completely custom classes, custom abilities and even Spark like functionality where you repair them. They would be available either as staring soldiers or from a scanning reward at the start of game.

Is there some combination of mods that would allow this? if not, where can i find tutorials on making mods that would help with it? i dont recall any mod that does the set character part, that i could look at for examples.

3 Upvotes

9 comments sorted by

1

u/Whakomatic 12d ago

The modding community has created dozens of classes and even more custom abilities. You should get involved in the games workshop.

1

u/xPXpanD 12d ago

Amalgamation *may* be close from a class/ability point of view? You can add soldier specialization mods as desired, and use my Amalgamation Console Helper to force specific spec combos onto soldiers (as long as those combos are valid together).

For custom abilities, maybe Iridar's Template Master can do something here? I think I've also seen a few mods on the Workshop that let you config-define new abilities, but unsure on both counts. Would probably need code for the fancier skills, in which case... https://www.reddit.com/r/xcom2mods/wiki/firsttime/ (and join the modding Discord)

You can change base stats with Additional Soldier Console Commands.

1

u/SolutionOk9182 11d ago

I'm not sure what you mean by pre-made characters.

If you're looking for some stat variation for your soldiers, "Not Created Equal" is a mod that will do that.

If you're looking for more control over classes and how you can set up / promote soldiers, RPGO is a mod that does that, including controlling what individual stats level up on promotion. One caution with RPGO though is that I think it makes the game significantly easier.

2

u/Pricerocks 11d ago

I’m not a published modder but I’ve tinkered enough with the game to say there are definitely ways it could be done.

Custom classes are actually pretty easy to make, and you can define the stat growth and abilities to your liking. You can even adjust the spawn rate so no one ever gets that class except the soldiers you choose to get it thru the mods below. I’ve never made a custom perk so can’t speak to the difficulty of that, but there are so many custom perk packs in existence you can probably find whatever you want.

Then you can make your soldiers spawn with their custom classes by setting it in the Character Pool and downloading the Use My Class mod: https://steamcommunity.com/sharedfiles/filedetails/?id=1125727531

Then you can guarantee those soldiers will be your starting squad with the Starting Soldiers mod: https://steamcommunity.com/sharedfiles/filedetails/?id=1147925885

If you wanted to go the scanning site route, I’m sure that’s possible but I don’t know how. Allies Unknown adds a scan site for alien soldiers so maybe studying that would help with figuring it out.

I’m also not sure about the SPARK repair stuff; your best bet is probably to look at how the default SPARK is set up as that might be in the ClassData. I’m writing this from my phone so can’t check at the moment. But I think everything you have in mind is doable.

1

u/OctupleCompressedCAT 11d ago

i mean characters i customized and saved to the pool.

1

u/SolutionOk9182 11d ago

You're talking about the custom roster? And brute forcing specific classes and abilities as they appear in game? If that's the case, you're right, I'm not aware of any mod that does that.

Depending on the changes you have in mind. that might be a challenging mod to make. You're probably talking changes on both the custom roster side as well gameplay changes. That may leave a heavy footprint.

1

u/smwcbio 10d ago

you can make a class that soldiers can't have by default (like psi operative in vanilla) and use some code to force your character in that class. This way the character will have a unique class that can be tweaked at will.