[WOTC] Improved Weapon Upgrade UI

If you liked this item, please rate it up on Steam Workshop page.

Author: RustyDios

Last revision: 16 Oct, 2023 at 23:35 UTC (1)

File size: 510.98 KB

On Steam Workshop

Description:
What is this for?

The goal of this mod is to adjust the screen location of the weapon model in the
Weapon Upgrade UI for better positioning and ease of readability.

What does it do?
  1. This mod adds WeaponPanelImage = "_ConventionalCannon" and UIArmoryCameraPointTag = ‘UIPawnLocation_WeaponUpgrade_Cannon’ to any weapon template in the game that might be missing them. The Weapon Upgrade UI needs these to be able to place a model on the screen …. NO it does not seem to affect anything else to my knowledge and does not require it to actually match the weapon type.
  2. Includes config file additions for the XComUI.ini per weapon template to adjust the position of the displayed weapon model.
  3. It adjusts the Slots List so any weapon with higher than 4 slots shows a scroll bar, and thus the last slot is not ‘hidden’ under the weapon customise options.
  4. ONLY upgrade attachments the weapon can actually equip are shown in the selection list, no more pages of "Cannot Equip Upgrade" ! (Config toggleable)
  5. It restores being able to rotate the weapon when selecting upgrades, the weapon will ‘snap’ to the upgrades preview location but can be rotated if you are NOT hovering over the upgrades list. (Hovering over the list is list scrolling)
  6. It adjusts the display during Colour and Pattern selection to not show the elements from the list beneath.
  7. Improves the Text box size and restores scrolling text.
  8. Improves the Stat box size, with scrolling stats if they go past the box boundaries!
  9. Uses the Better Armoury Stats from MrNice – I also highly recommend this mod to improve the stats displays of weapons elsewhere!
  10. New Stats box will show the weapon base name AND nickname if the weapon has one.

Config

Included in the default config are positioning entries for some common weapon templates like the Cannons, Bolt Caster and SPARK Rifles.
Some modded weapon types like SPARK Arsenal Weapons and Chemthrowers .

There are however literally hundreds of modded weapons on the workshop and I’m just not prepared to go through checking each and every one. Please feel free to add your own config entries to the discussion below.

Compatibility and Issues

The mod overrides UIArmory_WeaponUpgrade and UIArmory_WeaponTrait and will conflict with other mods that do the same.

Works with:

Conflicts with Grimy’s Loot Mod 🙁
Both mods can work together, however your GeoScape will slow to a crawl …
I suggest migrating from GLM to Tesla’s Loot Mod which it works fine with.

Credits and Thanks

Many thanks to Musashi and Team CX whose code I studied for making this.
Huge thanks to MrNice for permission to use his Stats code, adjusted to fit my needs.
Huge thanks to CiscoStu for help with the SlotList size adjustments.
HUGE thanks to the CHL team that helped me put the original positioning changes into the CHL.

I’d also like to thank the XCOM2 Modders discord and MEME Discord for always being supportive of all my dumb questions.

~ Enjoy !! and please buy me a Cuppa Tea[www.buymeacoffee.com]

Download
Required DLC:

These DLC should be installed in order to use this item.


XCOM 2: War of the Chosen
Required items:

Click the title to search on this site.


X2WOTCCommunityHighlander v1.26.3Steam Workshop
Revisions:

Old revisions of this mod are available below. Click the link to download.