Mass Effect Andromeda
0 of 0

File information

Last updated

Original upload

Created by

KrrKs

Uploaded by

KrrKs

Virus scan

Safe to use

Tags for this mod

Documentation

Readme

View as plain text

LoadoutConsumableScreen - Quantities
v1.0

Adds the available consumable quantity to the load-out selection screen.

NOTE:
This mod depends on the items' names, so it only works with english game text!
Any not recognized consumable will show up with a dummy value of -1 for their available quantity.
For this to work with any consumables added by other mods, the blueprint selector has to be rewritten to include *all* items, including direct references to those items! Those patch mods must be loaded after both ui and item mods!

For Modders:
In `game/ui/common/selector/ItemCountLoaderBlueprint` there is a switch case statement for the item name, which feeds a select with inputs from MEItemStackableCountEntityDatas for each of the item references.
I couldn't get the itemHash value based selector to work. The input in that assets comes from query entities that have variants of BaseItemUIEntry as their type, so there is a numeric ItemUID, but that uid is *not* in fact unique or consistent over playthroughs!
To adapt this mod to other languages, the switch case entity at ItemCountLoaderBlueprint objects[2] needs to have the cases names changed to those of the item names in your language, then all the event connections with `Case ` need to be changed as well.

Credits and Special Thanks:
Gman, Cade, Wannkunstbeikor and all the other developers of the Frosty Toolsuite for those. Without them, mods would not be possible!
BreakfastBrainz2 for showing me how select entities work and the FNV Hasher Plugin.
Pete and LionAG / Nesae for the ObjectFlagsCalculator