XCOM 2
352 evaluări
[WOTC] Ability Editor
2
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Dimensiunea fișierului
Postat
Actualizat
355.174 KB
2 iul. 2019 la 5:56
12 oct. 2022 la 13:58
9 jurnale de actualizare ( vizionare )
Ai nevoie de DLC pentru a folosi acest obiect.

Abonează-te pentru a descărca
[WOTC] Ability Editor

În 1 colecție creată de Boundir
Make Your Own Game
26 obiecte
Descriere
Description

This mod allows you to modify any ability (vanilla and modded ones).
You will be able to change cooldowns, charges, action cost and other.

Variables

AbilityName - String
Required - Name of the ability being modified

Cooldown - Integer
Optional - Number of turns between two uses

APCost - Integer
Optional - Number of action it will take

EndsTurn - Bool
Optional - Should this ability end your turn?

FreeAction - Bool
Optional - Should this ability cost an action?

FocusAmount - Integer
Optional - Number of focus it will take

ConsumeAllFocus - Bool
Optional - Should this ability require all you focus?

GhostOnlyCost - Bool
Optional - Should this ability cost focus for Ghost only?

DoNotConsumeAllActionsWith - Array (string)
Optional - If the ability owner has any of these abilities, the ability will not consume all points if EndsTurn was set to true. (e.g. Salvo)

AmmoCost - Integer
Optional - Number of ammo needed (e.g. HailOfBullets:3, ThrowGrenade:1 etc..)

Charges - Integer
Optional - Number of usage granted

KeepChargeOnMiss - Bool
Optional - Recover your charge if the ability misses (e.g. Domination)

ConsumeItem - Bool
Optional - Will consume the item granting this ability.

SharedAbilityCharges - Array (string)
Optional - Abilities which should all have their charges deducted as well (e.g. Skulljack & Skullmine).

AddAbility - Array (string)
Optional - When a unit is granted this ability, it will be granted all of these abilities as well.

OverrideAbilities - Array (string)
Optional - Getting one of those abilities will override the original ability.

PrerequisiteAbilities - Array (string)
Optional - Ability required to unlock current ability.

BonusChargeWith - Array
  • BonusAbilityName - String - Name of the ability granting extra charges.
  • NumBonusCharges - Integer - Number of bonus charge to add.
Optional - Abilities which should grant extra charges.

SharedCooldowns - Array
  • AbilityName - String - Name of the ability getting a cooldown.
  • NumTurns - Integer - Number of turns before use.
Optional - Abilities which will get a cooldown.

ItemSlot - String
Optional - For abilities that require an item but are not sourced from one, specifies a default slot to use.
Accepted values:
  • Unknown
  • PrimaryWeapon
  • SecondaryWeapon
  • HeavyWeapon

RetainConcealment - String
Optional - Determine if the unit can remain concealed after the ability is activated
Accepted values:
  • NonOffensive - Always retain Concealment if the Hostility != Offensive (default behavior)
  • Always - Always retain Concealment, period
  • Never - Never retain Concealment, period
  • KillShot - Retain concealment when killing a single (primary) target
  • Miss - Retain concealment when the ability misses
  • MissOrKillShot - Retain concealment when the ability misses or when killing a single (primary) target
  • AlwaysEvenWithObjective - Always retain Concealment, even if the target is an objective


Usage

Can be used by other mods to modify existing abilitiy templates by adding XComAbilityEditor.ini to the mod config.
Can be used by anyone willing to tweak his game even more.

Examples:
[AbilityEditor.OPTC_Abilities] ;This will replace Combat Protocol charges to 3 turns cooldown ;+Abilities = (AbilityName=CombatProtocol, Cooldown=3, EndsTurn=true) ; This will allow Ranger to have an action after Slash ;+Abilities = (AbilityName=SwordSlice, APCost=1, EndsTurn=true, DoNotConsumeAllActionsWith[0]=Blademaster) ; Gives 9 charges of Scanning Protocol, is a free action and can be used every two turns ;+Abilities = (AbilityName=ScanningProtocol, Cooldown=2, Charges=9, FreeAction=true) ; Restoration grants 3 extra charges of Heals ;+Abilities = (AbilityName=GremlinHeal, Charges=2, BonusChargeWith[0]=(BonusAbilityName=RestorativeMist, NumBonusCharges=3) )

Compatibility
It should be compatible with everything.
Changes are taken into account if using [WOTC] Cost-Based Ability Colors

Note
I did not focus on damages because they are mainly editable from ini files.

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?
Discuții populare Vezi toate (6)
25
4 dec. 2022 la 14:43
How to Use Mod
Samuraikan187
43
4 mai 2023 la 16:21
Some questions on the use of mod.
Figaround
37
21 dec. 2024 la 0:30
IMPORTANT: Share your ideas
Boundir
417 comentarii
Daddy Takeda 12 iul. la 12:04 
Thank you for your reply! :KneelingBow:
Boundir  [autor] 12 iul. la 9:50 
Console command SetMaxFocus or XComGameData_SoldierSkills.ini

[XComGame.XComGameState_Effect_TemplarFocus]
StartingMaxFocus=2
Daddy Takeda 12 iul. la 8:38 
How would I go about adding another max focus to the templar (instead of 3 max, it would be 4)?
Daddy Takeda 9 iul. la 6:24 
So, I can modify any perks added by other perks pack, like for example if an ability is a free action, even though in their own mod they didn't made it possible for us to edit that value in their ini files?
Joker_Newbee 22 iun. la 8:50 
Can you implement support for this mod?
Commander HUD
This will be really cool!
Daddy Kaneki 18 mai la 3:43 
I want to mod Reckoning to make Ripjack attacks cause the Rupture debuff and add 3 points of shield to the Skirmisher.

I don't see these in your variables. Can you help?
The_Radler 15 mai la 18:01 
Is it possible to use this mod to change the animation of the Soul Storm ability from LWOTC? I love the ability, but i'm not a fan of the animation. I think the animation of Psionic Bomb might be better, or even just regular void rift.
Sest 9 mai la 5:12 
Thanks for the quick reply,
So this is what I ended up with in the XComAbilityEditor.ini of your mod:
+Abilities = (AbilityName=IRI_Rider_MassIntercept, APCost=0, Cooldown=3, EndsTurn=False)

The result: it still ended my turn and removed all of the soldier's AP when used.

I made sure to delete XComAbilityEditor.ini in the skill's own config folder.
Boundir  [autor] 9 mai la 1:39 
DoNotConsumeAllActionsWith is not needed and it should be used for abilities not soldier classes.
The rest seem ok except for the closing parenthesis. Why are there two closing and one opening?
Finally it's better to have it in one place only to avoid complications. You can use a local mod instead. I made a template here https://github.com/boundir/XCOM-2-local-mod-template
Sest 8 mai la 20:51 
I need help:
This is what I wrote:
+Abilities = (AbilityName=IRI_Rider_MassIntercept, APCost=1, Cooldown=4, EndsTurn=false, DoNotConsumeAllActionsWith[0]=UniversalSoldier) )

It seems to be able to locate it correctly, as now the skill has CD of 4 and appears blue,
But using it still ends the turn. How do I fix this?
I edited XComAbilityEditor.ini in both your mod and also add it to Stormrider's config folder.