Author Topic: [Suggestion] Chronological Research History  (Read 625 times)

Offline Delian

  • Commander
  • *****
  • Posts: 591
    • View Profile
[Suggestion] Chronological Research History
« on: November 30, 2024, 01:46:49 am »
I suggest adding a Research History feature.

This would be useful both for:
- players themselves, because they'd be able to check what path they took through the research tree in their current game or some other past game
- community, because they'd be able to check the path that some player took through the research tree and compare it to their own
- modders, because they'd be able to check what path the players of their mod took through the research tree, to get various insights, such as whether a certain topic was too easy or too difficult to reach

The suggestion would require creating a new window where the research history would be presented.
I'm not sure what would be the best place for the button to access this window and the history.
I'm also unsure about what features such a window should have (search / sort / filtering).


Technically, I suggest adding "discoveredHistory" sequence to a .sav file, where each element is a mapping containing information on how, when and where a discovery was made.
Code: [Select]
discoveredHistory:
  - { name: STR_BOWS_SUMMARY,   time: {second: 0, minute: 0, hour: 0, ...}, sourceType: 0, sourceName: "MyResearchBase" } //sourceType = Directly from a research project in a base
  - { name: DARK_TROOPER_ARMOR, time: {second: 0, minute: 0, hour: 0, ...}, sourceType: 1, sourceName: "Darktrooper" } //sourceType = Free after completing a different research topic
  - { name: STR_POLAR_OUTFIT,   time: {second: 0, minute: 0, hour: 0, ...}, sourceType: 4, sourceName: "Location: Arctic" } // sourceType = event reward
  - ...
« Last Edit: January 01, 2025, 05:33:23 pm by Delian »

Offline Tamren

  • Captain
  • ***
  • Posts: 81
    • View Profile
Re: Research History
« Reply #1 on: December 01, 2024, 05:47:58 am »
Another feature that would be very handy for players is being able to click on old techs they researched and see the xpedia articles that tech unlocks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9257
    • View Profile
Re: [Suggestion] Chronological Research History
« Reply #2 on: January 19, 2025, 05:35:40 pm »
I suggest adding a Research History feature.

It's kinda useless for me personally, but I do understand your reasoning.
And you've earned it.

It may take a while until it gets high enough on my prio list.
If you want, you can also PR, but I don't guarantee a merge straight away (I will want to review and maybe make my own changes before merge).

Offline Delian

  • Commander
  • *****
  • Posts: 591
    • View Profile
Re: [Suggestion] Chronological Research History
« Reply #3 on: January 20, 2025, 02:34:45 am »
Thanks. Well, I wouldn't want you to spend a bunch of time on a feature you deem useless, so I suppose I should be the one to implement it. I'd appreciate if you could provide some guidelines on how to do this. Which window would be similar enough to reference the code from, and which GUI features should be present and where.