XCOM 2
361 vurderinger
[WOTC] Ability Editor
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
355.174 KB
2. juli 2019 kl. 5:56
12. okt. 2022 kl. 13:58
9 ændringsbemærkninger ( vis )
Du mangler DLC for at kunne bruge dette emne.

Abonner for at downloade
[WOTC] Ability Editor

I 1 samling af Boundir
Make Your Own Game
26 genstande
Beskrivelse
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?
Populære diskussioner Vis alle (6)
25
4. dec. 2022 kl. 14:43
How to Use Mod
Samuraikan187
43
4. maj 2023 kl. 16:21
Some questions on the use of mod.
Figaround
37
21. dec. 2024 kl. 0:30
FASTGJORT: Share your ideas
Boundir
423 kommentarer
Dragos Drakkar 7. okt. kl. 19:13 
Had a problem with the Better Rookie mod breaking Scanning Protocol with the charge change that mod made to the ability, so in the process of looking for how to remedy that, I found this mod. I was able to undo the change that mod made and improve the ability with this mod, so thanks for that.
Village Idiot 24. sep. kl. 10:35 
oh,and "can be used as a momentum action" too
Village Idiot 24. sep. kl. 9:18 
Hi Boundir. could you please add something akin to "can target allies" and "can target enemies"?

would be useful in a few scenarios, e.g. being able to merge templar's invert and exchange into the one skill,like it is in LWOTC.

Thanks!
呕泥浆 14. aug. kl. 2:47 
@RambelZambel
thank you,I'll give it a try
RambelZambel 14. aug. kl. 0:48 
that you do with another mod, " [WOTC] Repurpose Abilities" you need for this
呕泥浆 13. aug. kl. 15:42 
Hello, if I want to apply a certain skill to a specific weapon, such as the Victor rifle, I would like to change it to also apply to sniper rifles. How should I write it?
Daddy Takeda 12. juli kl. 12:04 
Thank you for your reply! :KneelingBow:
Boundir  [ophavsmand] 12. juli kl. 9:50 
Console command SetMaxFocus or XComGameData_SoldierSkills.ini

[XComGame.XComGameState_Effect_TemplarFocus]
StartingMaxFocus=2
Daddy Takeda 12. juli kl. 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. juli kl. 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?