XCOM 2
0 of 0

File information

Last updated

Original upload

Created by

atomicinf

Uploaded by

atomicinf

Virus scan

Safe to use

Documentation

Readme

View as plain text

Enhanced Perk Tree
v 1.2a

by atomicinf (forgotenland)

This mod completely re-does the standard perk tree. By removing extraneous UI elements,
we are able to make enough room to show up to 7 icons in a row.

As a bonus we spoil the AWC ability for each soldier.

This mod does not ship with any expanded perk trees. However, mods that provide
*normal* perk trees will now be able to include more than 2 abilities per level
(with the exception of the first promotion).


Technical notes:

This mod is done by essentially rebuilding UIArmory_PromotionItem from the ground up.
Since we don't have access to the original Flash files, we're limited to creating UIs
basically programmatically from the few elementary primitives provided to us.

It turns out that this is enough. Unfortunately we have to "discover" many things by
trial and error. (In particular, SetColor on UI elements can be *finicky*, and can
have unexpected results. Also, the rank images are not designed to be recoloured.)

We also subclass and redo parts of the UIArmory_Promotion, so naturally, this mod will
likely not get along with anything else that also touches UIArmory_Promotion.

Subclasses of UIArmory_Promotion are not affected! So notably the psi UI remains the
same as it was originally.


Changelog:

1.2a (2016-02-18)
* Reset INI settings to intended defaults.
* Rebuild for compatibility with recent hotfix from Firaxis.

1.2 (2016-02-16)
* Changed some UI colors.
* If a perk is unavailable because it was chosen by means other than explicit
SCATProgression choice (in other words, not because you clicked it in the
promotion interface), it is now greyed out instead of highlighted.
This includes repeated perks chosen in the past or future, or perks blocked
by AWC ability choice.
* Added the ability to hide the explicit AWC interface spoiler in the ini
(SpoilAWCAbilities, default true).
POTENTIAL ISSUE: The interface spoiler of perk being greyed out is probably
not hidden by this ini setting. It will eventually once I get to it.
This only affects people with overlapping perk trees.
* Added the ability to hide unrevealed standard perks.
* Exposed some layout variables to the ini. You can resize your perk icons now!

1.1 (2016-02-11)
* Fixed AWC spoiler not being highlighted correctly
* Allow squaddie and AWC abilities to be awarded retroactively
(if e.g. a rank was skipped over)
* Duplicate perks in the squad tree now no longer cause promotion skippage
* "Future" ranks now show disabled UI state (except for rank icon -_-)
* EXPERIMENTAL: Choose how many "new" perks you can select per level
(in XComATXEPTTweaks, defaults to 1)