Author Topic: User Profiles  (Read 1120 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
User Profiles
« on: 20 October 2019, 23:08:32 »
Currently there is no real user profile, just one global config ini for all. Looking at features like achievments and all other kind of stats and so on I think its a good idea to start with some basic user accounts.

My first idea for this is to replace the player name in the options with a "create profile" functionality.
This creates properties  file ( and maybe a directory to save more stuff ?)

so in .megaglest it would look like this:
.megaglest->profiles->titi->titi.ini

On start some very basic things of the global glestuser.ini would go there like the UUID of the player for example. I don't want to move too many things there atm, maybe later it makes sense.

Is this a good idea? Are there better ideas ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

andy_5995

  • Moderator
  • Ornithopter
  • ********
  • Posts: 474
  • Debian Linux user
    • View Profile
    • Andy Alt's home page
Re: User Profiles
« Reply #1 on: 22 October 2019, 16:28:58 »
Although I don't recall if anyone's requested this or if it's in demand, it's a good idea to allow for different profiles.

There should definitely be a global directory for techs, tilesets and maps. So any profile has access to content that's already been downloaded. Probably should go into ~/.local/share or $XDG_DATA_HOME, as mentioned in this GitHub ticket

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: User Profiles
« Reply #2 on: 23 October 2019, 20:49:59 »
No the intention is not to copy the whole settings into the profile! Its more meant for holding playername/UUID of the player and achievements or personal
game progress. Maybe some setting that make sense will make it into the profile, but for sure not all settings. ( at least thats not my current idea )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: User Profiles
« Reply #3 on: 1 November 2019, 12:59:02 »
Just a bit more brainstorming:

What should be recorded in this profile are all kind of stats. This fits with steam settings too and is a good base for achievements.
- number of games played
- number of games lost
- number of games won
- kill Count ( summary of all games )
- number of win/loose/count for network games
- number of win/loose/count games played for each techtree
- number of win/loose/count games played for each faction
- number of win/loose/count per map
- number of single player games.
- marker for each scenario which was won

more ideas ?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

 

anything