[interface] - Sort Recruit by Language Name

Brainstorm ideas of possible additions to the game. Read this before posting!

Moderator: Forum Moderators

Forum rules
Before posting a new idea, you must read the following:
Post Reply
SigurdFireDragon
Developer
Posts: 546
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

[interface] - Sort Recruit by Language Name

Post by SigurdFireDragon »

When you Recuit in a game, I noticed that the recruit list is sorted alphabetically by id, not by language name. For Core Units and English this doesn't matter, since for these id & language name are identical.

However if you use a different language, the units may appear out of alphabetical order. Also, even if you use English, units from an add-on that have a prefix in their id field (i.e. A8_Elvish_Archer) would also appear out of alphabetical order based on language name.

I think it would be better if the Recruit list is sorted based on language name, so that all entries will appear in alphabetical order for whatever language is chosen.
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: [mainline] - Sort Recruit by Language Name

Post by Gambit »

This might qualify as a bug. Could you report it at http://bugs.wesnoth.org and see what they have to say?
SigurdFireDragon
Developer
Posts: 546
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: [interface] - Sort Recruit by Language Name

Post by SigurdFireDragon »

Gambit wrote:This might qualify as a bug. Could you report it at http://bugs.wesnoth.org and see what they have to say?
Done, is: https://gna.org/bugs/index.php?18294
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
User avatar
Chtomorc
Posts: 68
Joined: June 9th, 2011, 2:48 pm
Location: Paris, France.

Re: [interface] - Sort Recruit by Language Name

Post by Chtomorc »

SigurdTheDragon wrote:Also, even if you use English, units from an add-on that have a prefix in their id field (i.e. A8_Elvish_Archer) would also appear out of alphabetical order based on language name.

I think it would be better if the Recruit list is sorted based on language name, so that all entries will appear in alphabetical order for whatever language is chosen.
To me, I like having control on sorting the recruit list for my own factions. I dislike the alphabetical order and sort them by usage, with first the common used units (i.e archer, fighter...) and in second the specialists (i.e mage, scout...)
In each section, they are sort by cost. Yeah, it's made by sorting ID in alphabetical order, but I like it that way. And seem clearer to me, but maybe i'm a maniac :hmm:

if it's based on language name, that will ruin my meaningfull classification :cry:
My writing frightens you? Consider you happy not to hear me :p
Tribes of the North MP era : factions developpement and unit's sprites
Post Reply