Author Topic: [DONE][Suggestion] listOrder on Armors  (Read 1526 times)

Offline B1ackwolf

  • Colonel
  • ****
  • Posts: 178
  • im back...i guess
    • View Profile
[DONE][Suggestion] listOrder on Armors
« 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!

Offline Cooper

  • Colonel
  • ****
  • Posts: 154
  • Chryssalids are awesome
    • View Profile
Re: [Help Needed] Problems with the armor order in some screens.
« Reply #1 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.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9115
    • View Profile
Re: [Help Needed] Problems with the armor order in some screens.
« Reply #2 on: September 22, 2024, 05:17:56 pm »
Armors don't have a listOrder.
Only their corresponding store items have listOrder.
« Last Edit: September 22, 2024, 07:16:44 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9115
    • View Profile
Re: [Suggestion] listOrder on Armors
« Reply #3 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.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9115
    • View Profile
Re: [DONE][Suggestion] listOrder on Armors
« Reply #4 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).

Offline B1ackwolf

  • Colonel
  • ****
  • Posts: 178
  • im back...i guess
    • View Profile
Re: [DONE][Suggestion] listOrder on Armors
« Reply #5 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.