XCOM 2
[WOTC] Unlimited Ability Icons
sakici.game 26. okt. 2022 kl. 10:49
Quick Fix for Highlander mods
If you have Highlander mod (either vanilla or WoTC) installed then encountered a problem where this mod seems not working and you are missing some of your active abilities, then this a bit tinkering around could just help you.

If you have the Highlander mod installed, you can browse thru the mod folder or just search "UITacticalHUD_AbilityContainer.uc", edit it with notepad should show you the number of abilities rows.
const MAX_NUM_ABILITIES = XX; const MAX_NUM_ABILITIES_PER_ROW = YY; const MAX_NUM_ABILITIES_PER_ROW_BAR = YY;

Where XX should be any number above 30 and YY is half of XX (best is if even numbers). For example
const MAX_NUM_ABILITIES = 40; const MAX_NUM_ABILITIES_PER_ROW = 20; const MAX_NUM_ABILITIES_PER_ROW_BAR = 20;

This will create a "hook" for this mod to work on and generate icons. The icon bar will be in formation of 15 icon per sections of 2 rows, eg it will looked like this:

<< 15 of 1st icons | 15 of 3rd icons | 15 of 5th icons >>
<< 15 of 2nd icons | 15 of 4th icons | ... repeat ... >>
Sidst redigeret af sakici.game; 26. okt. 2022 kl. 10:53
< >
Viser 1-7 af 7 kommentarer
This doesn’t work I look at the highlander community mod script and it does not exist ether I have to create one on community highlander XCom.mod or the script one they don’t exist this didn’t help me at all please reply to me thank you so I can find how this mod works
(FLAH) Ken 10. feb. 2024 kl. 19:57 
location
highlandercommunity/src/xcomgame/classes/
thank you
HooligaN 13. mar. 2024 kl. 12:03 
This feature does not help. Can you make it in fashion so that it is possible to set the number of icons yourself?
Joker_Newbee 20. feb. kl. 4:08 
Changing the .uc file in the src folder can not help, because it is included in the .u file in the script folder when the author compile the mod. When you want to change the source code, than you have to recompile the Highlander mod, which can be very struggling (for example you have to copy files from the highlander mod to your SDK environment) and can lead to bigger problems.
Direct changes can only be done in .ini files in the config folder.
So HooligaN is right, you (the author) has to change this values in your mod (source code) or make it configurable, so users can change it via config file.
Sidst redigeret af Joker_Newbee; 20. feb. kl. 5:47
(FLAH) Ken 20. feb. kl. 10:12 
That is probably why even after those changes I made, I wasn't seeing results. The author is not active anymore though from what I'm gathering
Joker_Newbee 22. feb. kl. 6:02 
Maybe someone can contact the author of the Highlander Mod to find out if it possible to change the restrictions (increasing max number of abilities or make it configurable).
Sometimes i have done a test, where i give a custom soldier class all ingame abilities. In the game all abilities where shown (without this mod) with their referred icon (15 per row, but more rows were shown).
But i can not remember if i had the Highlander Mod activated at this time. Also many of my installed mods need the Highlander Community Mod, so i can not play without.
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50