XCOM 2
[WOTC] Create Custom Abilities: Immunities
46 Comments
RambelZambel 23 Apr @ 9:34am 
is mental meaning mindcontroll or a summary of all mental affects?
Boundir  [author] 17 Oct, 2024 @ 12:51pm 
I'm sending the refund right now. Thank you for your support. Wait what?
I'm slowly reworking some of those mods while trying to have compatibility with older versions. But it's when I have time and when I feel like it 😁
I will probably move the Create Custom Abilities to Ability Editor too. I can add the icon though, as promised haha!
Stukov81-T.TV 17 Oct, 2024 @ 9:03am 
1) you can change the icon easily with Weapon Skin Replacer
2) he did not promise it, and even if he did sometimes things change

but you could always ask for a full refund
CyberNeo 17 Oct, 2024 @ 8:49am 
Well we will never be changing the icon, I guess...

That is so sad, that some mods doesn't implement the Features that there are promise us!
Stukov81-T.TV 17 Oct, 2024 @ 7:59am 
yes with ability editor mod
CyberNeo 17 Oct, 2024 @ 7:37am 
Is it possible to assign a existing Ability to a Ability created with this Mod? Similar to the "AdditionalAbilities" Method?
Stukov81-T.TV 14 May, 2023 @ 1:12am 
i have this in my perkpack
+Abilities=(TemplateName=SKV_Fire_Immunity, AbilityName="Immunity to Fire", Description="You are immune to Fire", Immunity[0]=Fire)

seems to work. also you need a localization of course too
Captain_Terrain 13 May, 2023 @ 1:33pm 
I've been trying to give units an ability that makes them immune to fire, I directly copied the Birthday script, but in game when I give a unit the Ability through commands it shows up but doesn't do anything, while the Birthday ability still successfully gives fire immunity. Additionally, I'm using the custom class template creator, how can I get my ability to appear as an Ability in the promotion screen? (Doesn't appear when added to template, In-game the slot is blank, and yes the CIA.ini file is added to the template configuration)
kazuya0010 25 Jun, 2022 @ 5:14pm 
Thanks very much for making this mod and this would help me create the ability i have always wanted to create.
Stukov81-T.TV 11 Jan, 2022 @ 3:13pm 
Thanks for your mods. It is awesome to create abilities without actually knowing how to code
적당히해 12 Oct, 2020 @ 10:29am 
No... Error detected attempting load of package: ArcwaveTemplar12345
I am very sad.
Boundir  [author] 12 Oct, 2020 @ 10:12am 
Good to hear! Welcome to the wonderful world of modding! You can join the reddit or discord server if you ever need help.
적당히해 12 Oct, 2020 @ 9:23am 
OMG! I made it!
Try a lot...

I am very happy and thank you for your dedication.
적당히해 12 Oct, 2020 @ 8:22am 
Haha... I tried to modding,but I can't understand.
I found X2Effect_ArcWaveMultiDamage, but I can't build this file.

What template! This is ability? or effect?

My soul was burn.
Boundir  [author] 12 Oct, 2020 @ 12:28am 
Unfortunately I don't have the SDK anymore. If you want to try I can guide you though.
적당히해 10 Oct, 2020 @ 2:10pm 
could I request to you about arc wave's damage mod?
Boundir  [author] 10 Oct, 2020 @ 12:52pm 
Oh you're right. I don't know why I suggested changing those values. Arc Wave damages are based on Focus level multiplied by 2.
You could change the multiplier but it requires the SDK.
적당히해 10 Oct, 2020 @ 9:54am 
I checked again, my immunity is working! very nice!

But, arc wave's damage isn't working,
I changed
FOCUS1RENDDAMAGE=10
FOCUS2RENDDAMAGE=20
FOCUS3RENDDAMAGE=30
arc wave's damage was just 6...
could you help me again? XD
적당히해 10 Oct, 2020 @ 3:06am 
Thank you very much! My problem was solved. I am going to have fun playing games.
Boundir  [author] 10 Oct, 2020 @ 2:50am 
Arc Wave damage is tied to Rend damage. Separating those would require some work.
You can change Rend & Arc Wave damage in XComGameData_SoldierSkills.ini. Look for those entries:
FOCUS1RENDDAMAGE
FOCUS2RENDDAMAGE
FOCUS3RENDDAMAGE
적당히해 10 Oct, 2020 @ 2:01am 
Omg... Thanks your devotion.

I will try again test, my other mods might crash your mod.

And then, really sorry... This subject has nothing to do with your mod. Because you are a great mod creator, So could I request you to other mod?

could you change templar's rend kill focus points?
(example : rend's kill gets 1 focus point -> rend's kill gets 2 focus point.)

and

Could you tweak arc wave's damage?
I want to change arc wave's damage.(example : 1 focus is 4 damage.)
Boundir  [author] 10 Oct, 2020 @ 1:28am 
Weird. I just tested the immunity you shared and attached it to my soldiers using my Repurpose Abilities mod and it worked.
Tested with explosion, fire, poison and acid.
적당히해 9 Oct, 2020 @ 10:57pm 
Also, I have added this line in XComClassData file.

[Templar X2SoldierClassTemplate]
SoldierRanks=(AbilitySlots=((AbilityType=(AbilityName="Deflect", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon)), (AbilityType=(AbilityName="Immunity", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon)), (AbilityType=(AbilityName="LW2WotC_Covert", ApplyToWeaponSlot=eInvSlot_PrimaryWeapon)), (RandomDeckName="TemplarXComAbilities")), aStatProgression=((StatType=eStat_Offense,StatAmount=2), (StatType=eStat_HP,StatAmount=1), (StatType=eStat_Strength,StatAmount=1), (StatType=eStat_Hacking,StatAmount=0), (StatType=eStat_CombatSims,StatAmount=0)))

So, I checked using a mod called Yet Another F1.
My templar had immunity ability.

But my templar was damaged by fire, explosion.
적당히해 9 Oct, 2020 @ 10:57pm 
I have added this line.

+Abilities=(TemplateName=Immunity, AbilityName="Immunity", Description="It is immunity", Immunity[0]=Explosion, Immunity[1]=KnockbackDamage, Immunity[2]=ParthenogenicPoison, Immunity[3]=Disorient, Immunity[4]=Psi, Immunity[5]=Panic, Immunity[6]=Bleeding, Immunity[7]=Fire, Immunity[8]=Mental, Immunity[9]=Unconscious, Immunity[10]=Stun, Immunity[11]=Acid, Immunity[12]=Poison, Immunity[13]=Electrical, Immunity[14]=BlazingPinions, Immunity[15]=Falling, Immunity[16]=ViperCrush)
Boundir  [author] 9 Oct, 2020 @ 11:26am 
@적당히해
Please check if the ability is attached to your soldiers.
적당히해 8 Oct, 2020 @ 1:54pm 
Excuse me. I don't know. My fire and Explosion Immunity wasn't working.

Enemies throw grenades at my soldiers, inflicting explosion damage and sometimes the fire from the explosion keeps burning.

Could you help me please?
Blue 25 Aug, 2019 @ 9:20pm 
I really appreciate your work, this will definitely help me make a small mod I've really wanted to do for a while now.
Tenno 10 Aug, 2019 @ 1:32pm 
ah ok, thanks for the heads up
Boundir  [author] 10 Aug, 2019 @ 1:02pm 
X2Ability_Sectopod.uc
Note that you will need a mod to make that ability available.
Tenno 10 Aug, 2019 @ 11:43am 
I couldnt seem to find them in the CharacterStats or DefaultAi ini files
Tenno 10 Aug, 2019 @ 11:42am 
do you know which file has the abilities?
Boundir  [author] 9 Aug, 2019 @ 2:38am 
As I said it is not a stat but an ability to allow his 3 actions.
I'm not sure about ReserveActionPoints. Never used it.
Tenno 8 Aug, 2019 @ 7:17pm 
Looking at the sectopod in the CharacterStats.ini I cant seem to find the eStat that would add an extra action point.

On each character in the list I do see something called:
eStat_ReserveActionPoints

but for every character that is always set to 0. I wonder what that does.
Tenno 8 Aug, 2019 @ 6:33pm 
Thanks I will take a look at his abilities
Boundir  [author] 8 Aug, 2019 @ 11:30am 
Yes, you can look at the Sectopod abilities. He got one that allows it to get an extra action point.
Tenno 7 Aug, 2019 @ 5:05pm 
Iv'e been testing abilities on the plated vest, and I have been able to add things like fire resistance, shields, and a health bonus to the item, but my main goal is to have an item that is immune to negative turn ending status effects like being stunned, unconcious, and bound so my character can solo missions.

Also, (I am assuming I'll need to use another mod for this) is it possible to have an item allow for a character to use extra actions (like three or four points per turn)
Boundir  [author] 7 Aug, 2019 @ 1:53pm 
No list at the moment.
And no, Viper ability has nothing to do with immunities. What do you want to do?
Tenno 5 Aug, 2019 @ 7:21pm 
is there a complete list of the immunity names for the ini file edits? Also, is it possible to have an immunity to the bound effect from vipers etc?
Boundir  [author] 18 Jul, 2019 @ 8:51am 
Yes 👍
Panic and stun are available too.
Flamingcheesepie 18 Jul, 2019 @ 8:19am 
Is Unconscious an immunity to be added?
Tenno 17 Jul, 2019 @ 8:15am 
alright, thank you for the heads up! I cant wait to test this when I have the chance!
Boundir  [author] 17 Jul, 2019 @ 1:31am 
Working with ini file yes. I don't know how doable making an interface would be as I have no experience with UI in X2.
Tenno 16 Jul, 2019 @ 9:27pm 
So how exactly does this mod and the other one work? Do you create the custom abilites and immunities in an ini file or is there an interface to work with in game?
Beagle 16 Jul, 2019 @ 5:04pm 
Awesome, thanks!
Boundir  [author] 13 Jul, 2019 @ 2:26pm 
Thanks initium.

There is nothing to worry about load order here.
Create Abilities will create templates. On Repurpose Abilities, Ability Editor, Configurable Immunities or even Choose Your Aliens I use methods that will modify existing templates. The methods are called once templates are created.
initium 13 Jul, 2019 @ 2:18pm 
Wow - Nicely done Boundir

You have a number of mods that make it easy for people to tweak and amend existing abilities and ini files. Thanks for publishing them. They're great

I have a question...
With no idea on the deeper workings of the game code so I don't know if a trait, immunity, ability, etc will load as a priority. Therefore is there a load order these mods that needs to be considered?

As I use AML and can easily create a load order, so I thought I'd ask.