XCOM 2
61 ratings
[WOTC] Create Custom Abilities: Immunities
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
876.044 KB
13 Jul, 2019 @ 6:18am
1 Change Note ( view )

Subscribe to download
[WOTC] Create Custom Abilities: Immunities

In 1 collection by Boundir
Make Your Own Game
26 items
Description
Description

This mod allows you to create your own abilities. These abilities can grant immunities.
Modify XComCIA to do so.

Variables

TemplateName - String
Required - Name of the template being created. You can't have two similar template names.

AbilityName - String
Required - Name of your ability. This will be displayed.

Description - String
Required - Describe your ability. This will be displayed.

Immunity - Array (string)
Optional - Name of abilities you want to add.

List of immunities (some have not been tested)
  • Explosion
  • KnockbackDamage
  • ParthenogenicPoison
  • Disorient
  • Psi
  • Panic
  • Bleeding
  • Fire
  • Mental
  • Unconscious
  • Stun
  • Acid
  • Poison
  • Electrical
  • Melee
  • BlazingPinions
  • Falling
  • ViperCrush

Usage

Can be used by other mods to create customizable abilties by adding XComCIA.ini to the mod config.
Can be used by anyone willing to tweak his game even more.

Examples:
[CreateImmunitiesAbilities.CIA_Abilities] +Abilities=(TemplateName=Birthday, AbilityName="Birthday", Description="It is your birthday", Immunity[0]=Fire, Immunity[1]=Frost)

Compatibility
It should be compatible with everything.

Note
The icon being displayed is from the Absorption Fields abiltiy. I may make that customizable in the future.

Troubleshooting
https://www.reddit.com/r/xcom2mods/wiki/mod_troubleshooting
Mods not working properly / at all
Mod not working? Mods still have their effects after you disable them?

40 Comments
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?