[LH 1.6 BUG] Custom faction hidden on choose opponents screen

I'm still experiencing this problem, really hope it can be fixed in 1.7... basically when you have more than about 23 total sov's (a mix of default + custom), one of them will not show up on the choose opponents screen.

Should be easy to replicate just create some custom sov's and check they are all available on that screen.

 

This was originally mentioned over in this thread:

https://forums.elementalgame.com/453664/page/1/#3461691

Quoting Sanati,
Quoting Derek Paxton, reply 4

ill check the choose opponents screen out, but I'm not aware of any issues with it.  I used it to setup a game with just the new sovereigns so I could test them out without and problems.
Sweet.

I thought I counted it as 20 but I don't remember, it might be 22 or 25 or something, I noticed it when I had a lot of custom sovs. Wasn't a big deal before because I didn't have much reason to keep more than a dozen custom sovs around, but with 10 new leaders just having a few custom sovs on top of that would cause issues.

 

@Derek / Sanati - I think there is definitely some weird problem as suggested by Sanati.  When you have over X number of sov's, and you go into the choose opponents screen... there will be some sov's missing from the list of available opponents.  It's kinda random as to which sov's will be missing.  I'm sure you would be able to reproduce it if you create a bunch of custom sov's.... start a new game and check that all of your sov's are listed on that screen.  I've seen this issue all the time but figured it was just me... good to know someone else has the same problem.

Would really like to see it sorted, thanks.

Edit -> OK just checked mine... I have 24 sovs to choose from when started a game (a mix of the default ones + custom ones).... but when I go to customize opponents there is only 23 total, so 1 is missing.  This happens consistently.... there is always one missing.

End of quote

 

6,135 views 4 replies
Reply #1 Top

I've created a couple more custom factions, and now there are 2 missing from the choose opponents screen.

This is rather annoying.

Reply #2 Top


yup. I'm experiencing this too.

Several times now I've started a game want to have the AI control a specific faction in order to observe how they do. Several times I've been disappointed whereby I could not select the faction.

 

Reply #4 Top

Update:

This appears to be a dxpack problem (ChooseOpponentWnd.dxpack). I had previously stated that

The last (xml files order) not randomly selected \MODS\ Sovereign (Unique Faction) does not show up in the "Customize Opponents > Available Opponents" section if said section has over 11 sovereigns.
End of quote

 

Well, it seems the Choose_Opponents_ListGrid_Container (COLC) might be a good lead to follow. In the core file, COLC height is 625 while a normal Choose_Opponents_ListGrid_Entry (COLE) height is 50. Since the COLC contains your sovereign + at least one opponent, that's 50 + 50 = 100. Then, you have another 11 entry at 50 for a total of 11 x 50 = 550. This means the height is 650 > 625.

 

Now I'm not sure how the script works and why it shows all the sovereigns except the last one, but the 1+1+11 = 13 => 650 > 625 is explained.

 

I've created a new version of the screen that uses two columns (Quite ugly I might add) and 950 instead of 625 and was able to fit ALL my 35 sovereigns (None missing). Technically I guess I could fit up to 38, maybe 39, but I didn't test it.

 

Using that same height (950) but only one column, I ran into the same problem except the 1+1+11 turned into 1+1+18 with 1000 > 950. Hope that helps solve the issue.

 

 

 

_________________________

LH Mods by Primal

XtraDeconstruct

XtraDeconstruct Canons