Jagged Alliance 3

Jagged Alliance 3

OctoSquad (8 merc squads)
10 Comments
javier_ea 2 Apr @ 12:46am 
Hi guys... any suggestion to configure the screen for 12 merc squads?
IvashaMagnus 13 Sep, 2024 @ 1:55pm 
Controller support?
Doctor Sandvich 19 Aug, 2024 @ 4:55am 
Excellent, thank you @ PoundedChicken
PoundedChicken  [author] 1 Apr, 2024 @ 1:59pm 
For this mod, I'm just trying to keep the scope at making 8 work well without conflict with other mods and maybe add some other tweaks to balance 8 mercs. Someone in discord channel is already working on updating custom settings mod too which would include ui
Pug 1 Apr, 2024 @ 1:52am 
I experimented a bit with the parameters of the squad management window. With the following changes, the window adapts perfectly for squad sizes between 6 and 10 Mercs.

varDialogContext:SetProperty("MinWidth", "1090") --1500 1550 default: 1090
varDialogContext:SetProperty("MaxWidth", "1550") --1500 1580 default: 1090
varDialogContext:SetProperty("MinHeight", "750") --new 750 900 default: 650
varDialogContext:SetProperty("MaxHeight", "960") --new 750 950 for 6 rows default: 650

varSquadListSection:SetProperty("MaxWidth", "1220") --1000 1220 perfect fit for 10 mercs

Maybe you would also be able to add an option to adjust the squad size between 6 and 10 Mercs for people who don't use Custom Settings.
Pug 1 Apr, 2024 @ 12:18am 
Thanks again! And, very nice coding I can learn a lot of.
PoundedChicken  [author] 31 Mar, 2024 @ 5:54pm 
Thanks. The theory is that at a certain point people are using multiple squads anyway. 2x squads of 6 is usually too many. One squad of 6 is usually too few. Running 2 squads causes the dilemma of sharing / transferring items between each.
Parker Posey's Mouth 31 Mar, 2024 @ 5:17pm 
This is great, I can travel with support mercs and not have to fumble around with ammo all the time. Likely to be a lifesaver under my present tactical circumstances. :Molotov:
PoundedChicken  [author] 31 Mar, 2024 @ 2:47pm 
Yeah, I guess it'd come down to which events other mods hook into eg. On LoadGame. Then if they use same events, I don't know how load order is determined. Anyway, I've just added a simple test so that if current const value != 6, then don't override it because another mod probably already has. Just tried with custom settings and it seemed to work.
Pug 31 Mar, 2024 @ 9:22am 
Very, very nice. Great work! Had myself customised biggersquads for private use. But your version is way better. Thank's a lot. I think 8 is a perfect squad size if one would use more mercs.
Because I still use Custom Setttings, even if it's a little hard to handle, I removed your Squadsize setting from your code.
Have you tested those mods together? Witch mods setting for the squad size will win?