OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: B1ackwolf on April 10, 2024, 08:52:33 pm

Title: [DONE][Suggestion] listOrder on Armors
Post by: B1ackwolf on April 10, 2024, 08:52:33 pm
Hi there,

I'm currently encountering an issue with the armor order selection in various screens. Despite ensuring that the armor order is correctly configured in files like armor.rul, extrasprites.rul, and extrastrings.rul, the armor still appears shuffled in-game. I've even tried adding the armors to items.rul with the appropriate loadorder command, but to no avail.

Has anyone else experienced a similar problem or know what might be causing this issue? It may seem like a minor detail, but it's been quite frustrating to deal with. Any assistance would be greatly appreciated. Thanks in advance!
Title: Re: [Help Needed] Problems with the armor order in some screens.
Post by: Cooper on April 13, 2024, 11:05:08 am
Got the same issue in my mod. Would love to be able to fix this if anyone knows how, even if its minor.
Title: Re: [Help Needed] Problems with the armor order in some screens.
Post by: Meridian on September 22, 2024, 05:17:56 pm
Armors don't have a listOrder.
Only their corresponding store items have listOrder.
Title: Re: [Suggestion] listOrder on Armors
Post by: Meridian on September 22, 2024, 07:09:58 pm
thereaverofdarkness — Jul/24/2022

Quote
Armors: I hadn't realized they use the listOrder from items, so that's useful information to me. It explains why I'm having trouble but doesn't fix my problem:
I have three armor entries per armor item reference (for easy, medium, and hard) and so I can't apply a different listOrder reference for each one of the three.
 This causes the mildly annoying issue in debug mode or in the battle generator, in which the three variants are listed adjacent to each other but in a random order.
 I have their names identical (for gameplay reasons) thus the only way to tell them apart is to check their individual armor values, and this has to be done for each armor set I try to distinguish, every time I start the game.
Title: Re: [DONE][Suggestion] listOrder on Armors
Post by: Meridian on September 23, 2024, 03:58:55 pm
Done.

Armors now also have listOrder.

The sorting is FIRST by armor storage item listOrder, and then SECOND by the armor listOrder (if the armor storage item listOrder is the same, or there is no armor storage item).
Title: Re: [DONE][Suggestion] listOrder on Armors
Post by: B1ackwolf on September 25, 2024, 07:16:36 pm
Done.

Armors now also have listOrder.

The sorting is FIRST by armor storage item listOrder, and then SECOND by the armor listOrder (if the armor storage item listOrder is the same, or there is no armor storage item).


Simply wonderful, Thank you very much for fullfilling another request.