1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[Suggestion] Sort Civilopedia content by Era.

Discussion in 'Bugs and Crashes' started by raxo2222, Apr 17, 2017.

  1. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,776
    Location:
    Poland
    We have a lot of eras.
    It would be nice if stuff in civilopedia was grouped by eras.

    So on top are things you discover in Prehistory, next group is Ancient era stuff and so on...
    For now civilopedia is bit useless when you want to read stuff in specific eras.

    Also I like how you let warfare and religion exist till end of time, 3D space and eleventy*-pi*i more dimensions :p
    Basically Cosmic+ eras are Stellaris in future ;^)
    Also for Stellaris Galactic era begins in 2200 year, when you start colonizing stars.
     
    Last edited: Apr 17, 2017
  2. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,737
    Gender:
    Male
    Location:
    Las Vegas
  3. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,776
    Location:
    Poland
    Add era tag, that would be used solely for civilopedia, it would first sort by era tag and then by name.
     
  4. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,870
    Gender:
    Male
    Location:
    Canberra, Australia
    Not quite that simple as things may become available in one era and go obsolete three eras later or never. When should they be shown?
     
  5. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,776
    Location:
    Poland
    Well it could be configurable, for example 2 eras ahead of current one.
    Or just show everything, but group lists by era.
     
  6. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,870
    Gender:
    Male
    Location:
    Canberra, Australia
    We can figure out the era of everything already without needing a tag by just looking at it's required technologies and we can work out when it becomes obsolete in a similar fashion by looking at its upgrades/replacements and their required technologies. This means we can work out exactly which eras an improvement, unit or building is valid. It will take time to display but it is always better to avoid a documentation tag as a source since they will be forgotten about when things move around.

    There is a known bug in the way the pedia does buildings as the moment that is causing a noticeable delay in processing anything with buildings, AIAndy pointed it out somewhere but I forget where.
     
  7. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,776
    Location:
    Poland
    Also this suggestion would work with worldbuilder - buttons would be sorted by era.
     
  8. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,776
    Location:
    Poland
    Hmm easy way would be to make civilopedia sort buildings/units/techs by production/research cost and secondary by name if there is more than one with same cost.
    This way automatically you would have list of more advanced and costly entries, as you go down list.
    Units/building types and techs are already in separate categories.
    Of course this way sorting could be (automatically) activated by clicking on certian categories.

    Are there any moderators to move this thread, and that one: https://forums.civfanatics.com/thre...-worldbuilder-for-creation-of-terrain.614379/ to main forum of this mod?
     
  9. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,776
    Location:
    Poland
    @Dancing Hoskuld
    Is it possible to sort Buildings, Units and Technologies by their cost?
    This way you will have newest buildings on bottom and oldest on top.
     
  10. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,870
    Gender:
    Male
    Location:
    Canberra, Australia
    The current code can only sort by one thing and that thing is what appears in the index ie is the name. Basically it uses a one dimensional array of names and sorts them alphabetically. It then goes through that array (or list) and uses the name to get the details. Which is why you have to be careful not to have things with the same name eg building called "lighthouse" and terrain improvement called "lighthouse".

    It is almost always possible to change a program to do what is wanted. Getting someone to do it is another matter.
     

Share This Page